igraph-help
[Top][All Lists]
Advanced

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

[igraph] Igraph install on Python 2.7.1 with OS X Snow Leopard using Ent


From: Denzil Correa
Subject: [igraph] Igraph install on Python 2.7.1 with OS X Snow Leopard using Enthought Python Distribution
Date: Sun, 11 Sep 2011 19:29:19 +0530

Dear All,

I am using the Enthought Python Distribution and therefore, 2.7.1 version of Python. I get the following text while typing python on the my terminal.

Denzil-Correas-MacBook-Pro:usr denzilc$ python
Enthought Python Distribution -- www.enthought.com
Version: 7.0-2 (32-bit)

Python 2.7.1 |EPD 7.0-2 (32-bit)| (r271:86832, Dec  3 2010, 15:41:32)
[GCC 4.0.1 (Apple Inc. build 5488)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>



I, however, have GCC 4.2.1 installed as shown by the gcc --version command on the terminal.

Denzil-Correas-MacBook-Pro:~ denzilc$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



I am unable to install igraph either by easy_install or from source. I get the following set of errors :

Denzil-Correas-MacBook-Pro:~ denzilc$ sudo easy_install-2.7 python-igraph
Password:
install_dir /Library/Frameworks/Python.framework/Versions/7.0/lib/python2.7/site-packages/
Searching for python-igraph
Reading http://pypi.python.org/simple/python-igraph/
Best match: python-igraph 0.5.4
Downloading http://pypi.python.org/packages/source/p/python-igraph/python-igraph-0.5.4.tar.gz#md5=c80941cc28cd723333c886e725f70506
Processing python-igraph-0.5.4.tar.gz
Running python-igraph-0.5.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-fyAEQj/python-igraph-0.5.4/egg-dist-tmp-qq_rmv
Include path: /usr/include /usr/local/include
Library path:
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:27: error: igraph/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’
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
src/arpackobject.c: In function ‘igraphmodule_ARPACKOptions_new’:
src/arpackobject.c:48: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params’
src/arpackobject.c:49: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params_out’
src/arpackobject.c: In function ‘igraphmodule_ARPACKOptions_getattr’:
src/arpackobject.c:72: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params_out’
src/arpackobject.c:75: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params_out’
src/arpackobject.c:77: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params’
src/arpackobject.c:77: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params’
src/arpackobject.c:80: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params’
src/arpackobject.c:82: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params’
src/arpackobject.c:84: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params’
src/arpackobject.c:86: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params’
src/arpackobject.c:88: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params’
src/arpackobject.c:91: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params’
src/arpackobject.c:93: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params’
src/arpackobject.c:95: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params’
src/arpackobject.c:97: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params’
src/arpackobject.c:99: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params’
src/arpackobject.c:101: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params_out’
src/arpackobject.c:103: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params_out’
src/arpackobject.c:105: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params_out’
src/arpackobject.c:107: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params_out’
src/arpackobject.c:109: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params_out’
src/arpackobject.c:111: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params_out’
src/arpackobject.c: In function ‘igraphmodule_ARPACKOptions_setattr’:
src/arpackobject.c:132: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params’
src/arpackobject.c:143: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params’
src/arpackobject.c:143: error: ‘igraph_real_t’ undeclared (first use in this function)
src/arpackobject.c:143: error: (Each undeclared identifier is reported only once
src/arpackobject.c:143: error: for each function it appears in.)
src/arpackobject.c:143: error: expected ‘;’ before ‘PyInt_AsLong’
src/arpackobject.c:145: error: ‘igraphmodule_ARPACKOptionsObject’ has no member named ‘params’
src/arpackobject.c:145: error: expected ‘;’ before ‘PyFloat_AsDouble’
src/arpackobject.c: At top level:
src/arpackobject.c:159: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
error: Setup script exited with error: command 'gcc' failed with exit status 1


I tried with some symlinks solution as given elsewhere but nothing works even while explicitly using the GCC 4.0 compiler. Any help on this would be really appreciated.

Thanks!



--
Regards,

Denzil Correa
IIIT-Delhi
--------------------------------------------
Q: Why is this email five sentences or less?
A: http://five.sentenc.es




reply via email to

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