Hello,
I can't install the 0.6 version of igraph nightly build on Mac OSX Lion.
I found a thread of someone with more or less the same problem:
http://lists.gnu.org/archive/html/igraph-help/2012-01/msg00006.html
But I couldn't fix it following that.
So basically I went to the google code website (http://code.google.com/p/igraph/downloads/) list and download the lastest versions of the core and python (python-igraph_nightly_0.6-2643-20120222).
Then untar the core and do the configure and make install thing, at it seems that go well.
After that I untar the python-igraph and tried to do the install with the sudo python setup.py install, but don't go well:
Include path: /opt/local/include/igraph
Library path: /opt/local/lib
running install
running bdist_egg
running egg_info
writing python_igraph.egg-info/PKG-INFO
writing top-level names to python_igraph.egg-info/top_level.txt
writing dependency_links to python_igraph.egg-info/dependency_links.txt
writing python_igraph.egg-info/PKG-INFO
writing top-level names to python_igraph.egg-info/top_level.txt
writing dependency_links to python_igraph.egg-info/dependency_links.txt
reading manifest file 'python_igraph.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'python_igraph.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.7-x86_64/egg
running install_lib
running build_py
running build_ext
building 'igraph._igraph' extension
/Developer/usr/bin/llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include/igraph -I../../build/include -I../../include -I/usr/local/include -I/usr/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/arpackobject.c -o build/temp.macosx-10.7-x86_64-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: warning: implicit declaration of function ‘igraph_arpack_options_init’
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
error: command '/Developer/usr/bin/llvm-gcc-4.2' failed with exit status 1
I think the point is the python igraph will to install in the /opt/ directory while it have to be /usr/, but i'm not sure.
Any type of help will be appreciated,
Thanks!