igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Problem installing python-igraph on Mac OS X Lion related t


From: Tamás Nepusz
Subject: Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK
Date: Thu, 5 Jan 2012 16:42:06 +0100

Hi,

It seems like the igraph headers are not found while trying to compile the 
Python interface. (This has nothing to do with ARPACK, it just happens to be 
the case that arpackobject.c is the first file that setup.py tries to compile). 
Where have you installed the headers of igraph 0.6? If it is not in one of the 
standard locations (i.e. /usr/include or /usr/local/include), adjust setup.cfg 
appropriately.

Cheers,
Tamas

On 5 Jan 2012, at 16:37, Jonathan Donges wrote:

> 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
> 
> 
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
> 




reply via email to

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