[Top][All Lists]
[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: |
Fri, 6 Jan 2012 15:14:59 +0100 |
Hi,
I think I know what the problem is. igraph 0.6 currently puts its include files
in an igraph/ subfolder within the include dir (I guess /usr/local/include),
but setup.cfg still refers to /usr/local/include. Try using
/usr/local/include/igraph instead. The library path can stay as is.
Cheers,
Tamas
On 6 Jan 2012, at 15:06, Jonathan Donges wrote:
> Hi,
>
> I removed all older versions of the igraph C libraries and made sure that the
> libs are installed in /usr/local/lib. The headers are installed in
> /usr/local/include. I made sure that these directories are referenced both in
> the setup.cfg and setup.py files as recommended:
>
> sudo python setup.py install
> Using default include and library paths for compilation
> If the compilation fails, please edit the LIBIGRAPH_FALLBACK_*
> variables in setup.py or include_dirs and library_dirs in
> setup.cfg to point to the correct directories and libraries
> where the C core of igraph is installed
> ()
> Include path: /usr/include /usr/local/include
> Library path: /usr/lib /usr/local/lib
>
> I still get the same errors as before when trying to install python-igraph on
> Lion:
>
> …
> building 'igraph._igraph' extension
> 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
> …
>
> Do you have an idea what I could do next?
>
> Thanks,
> Jonathan
>
>
> Am 05.01.2012 um 22:53 schrieb Tamás Nepusz:
>
>>> The igraph headers reside in /usr/local/include on my system. Still, I get
>>> the same error. Maybe the version is not correct (I had an earlier version
>>> of graph installed before upgrading to Lion from Leopard)? How can I check
>>> the version of the headers?
>> Check out /usr/local/include/igraph_version.h, it should contain the version
>> number. If you don't have this file then the headers are from 0.5.x since
>> this header has been added only in the 0.6 branch.
>>
>> Cheers,
>> T.
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
- [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK, Jonathan Donges, 2012/01/05
- Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK, Tamás Nepusz, 2012/01/05
- Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK, Jonathan Donges, 2012/01/05
- Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK, Tamás Nepusz, 2012/01/05
- Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK, Jonathan Donges, 2012/01/06
- Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK, Jonathan Donges, 2012/01/06
- Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK,
Tamás Nepusz <=
- Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK, Jonathan Donges, 2012/01/07
- Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK, Tamás Nepusz, 2012/01/07
- Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK, Jonathan Donges, 2012/01/07
- Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK, Tamás Nepusz, 2012/01/07
- Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK, Jonathan Donges, 2012/01/07
- Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK, Tamás Nepusz, 2012/01/07
- Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK, Jonathan Donges, 2012/01/07
- Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK, Tamás Nepusz, 2012/01/07
- Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK, Jonathan Donges, 2012/01/07
- Re: [igraph] Problem installing python-igraph on Mac OS X Lion related to ARPACK, Tamás Nepusz, 2012/01/07