igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] Problem installing python-igraph on Mac OS X Lion related to AR


From: Jonathan Donges
Subject: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK
Date: Thu, 5 Jan 2012 16:37:14 +0100

Hi Tamas,

I managed to compile and install the latest nightly build of the igraph 
C-library 0.6 on Mac OS X Lion. 

Now I get the following error messages seemingly related to ARPACK when trying 
to install the latest nightly build of python-igraph 0.6:

gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g 
-O2 -DNDEBUG -g -O3 -I/usr/include -I/usr/local/include -I../../build/include 
-I../../include -I/usr/local/include -I/usr/include 
-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c 
src/arpackobject.c -o build/temp.macosx-10.6-intel-2.7/src/arpackobject.o
In file included from src/arpackobject.c:24:
src/arpackobject.h:28:27: error: igraph_arpack.h: No such file or directory
In file included from src/arpackobject.h:29,
                 from src/arpackobject.c:24:
src/graphobject.h:28:20: error: igraph.h: No such file or directory
In file included from src/arpackobject.h:29,
                 from src/arpackobject.c:24:
src/graphobject.h:42: error: expected specifier-qualifier-list before ‘igraph_t’
src/graphobject.h:59: error: expected ‘)’ before ‘*’ token
In file included from src/arpackobject.c:24:
src/arpackobject.h:43: error: expected specifier-qualifier-list before 
‘igraph_arpack_options_t’
src/arpackobject.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘*’ token
In file included from src/arpackobject.c:26:
src/error.h:28:26: error: igraph_error.h: No such file or directory
src/arpackobject.c: In function ‘igraphmodule_ARPACKOptions_new’:
src/arpackobject.c:49: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:50: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c: In function ‘igraphmodule_ARPACKOptions_getattr’:
src/arpackobject.c:73: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c:76: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c:78: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:78: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:81: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:83: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:85: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:87: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:89: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:92: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:94: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:96: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:98: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:100: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:102: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c:104: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c:106: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c:108: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c:110: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c:112: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c: In function ‘igraphmodule_ARPACKOptions_setattr’:
src/arpackobject.c:133: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:144: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:144: error: ‘igraph_real_t’ undeclared (first use in this 
function)
src/arpackobject.c:144: error: (Each undeclared identifier is reported only once
src/arpackobject.c:144: error: for each function it appears in.)
src/arpackobject.c:144: error: expected ‘;’ before ‘PyInt_AsLong’
src/arpackobject.c:146: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:146: error: expected ‘;’ before ‘PyFloat_AsDouble’
src/arpackobject.c: At top level:
src/arpackobject.c:160: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘*’ token
In file included from src/arpackobject.c:24:
src/arpackobject.h:28:27: error: igraph_arpack.h: No such file or directory
In file included from src/arpackobject.h:29,
                 from src/arpackobject.c:24:
src/graphobject.h:28:20: error: igraph.h: No such file or directory
In file included from src/arpackobject.h:29,
                 from src/arpackobject.c:24:
src/graphobject.h:42: error: expected specifier-qualifier-list before ‘igraph_t’
src/graphobject.h:59: error: expected ‘)’ before ‘*’ token
In file included from src/arpackobject.c:24:
src/arpackobject.h:43: error: expected specifier-qualifier-list before 
‘igraph_arpack_options_t’
src/arpackobject.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘*’ token
In file included from src/arpackobject.c:26:
src/error.h:28:26: error: igraph_error.h: No such file or directory
src/arpackobject.c: In function ‘igraphmodule_ARPACKOptions_new’:
src/arpackobject.c:49: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:50: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c: In function ‘igraphmodule_ARPACKOptions_getattr’:
src/arpackobject.c:73: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c:76: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c:78: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:78: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:81: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:83: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:85: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:87: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:89: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:92: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:94: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:96: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:98: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:100: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:102: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c:104: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c:106: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c:108: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c:110: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c:112: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params_out’
src/arpackobject.c: In function ‘igraphmodule_ARPACKOptions_setattr’:
src/arpackobject.c:133: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:144: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:144: error: ‘igraph_real_t’ undeclared (first use in this 
function)
src/arpackobject.c:144: error: (Each undeclared identifier is reported only once
src/arpackobject.c:144: error: for each function it appears in.)
src/arpackobject.c:144: error: expected ‘;’ before ‘PyInt_AsLong’
src/arpackobject.c:146: error: ‘igraphmodule_ARPACKOptionsObject’ has no member 
named ‘params’
src/arpackobject.c:146: error: expected ‘;’ before ‘PyFloat_AsDouble’
src/arpackobject.c: At top level:
src/arpackobject.c:160: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘*’ token
lipo: can't figure out the architecture type of: 
/var/folders/dp/hbv44gbn6x905mcft1zvd11c0000gn/T//ccM36Bwh.out
error: command 'gcc-4.2' failed with exit status 1

Do you have an idea what would help here?

Thanks a lot and cheers!
Jonathan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]