igraph-help
[Top][All Lists]
Advanced

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

[igraph] Installing python-igraph on MAC OS X (tiger)


From: Alessandro Antonucci
Subject: [igraph] Installing python-igraph on MAC OS X (tiger)
Date: Thu, 4 Dec 2008 07:17:51 +0100

Hello everyone,

I am trying to install python-igraph on my  dual-core mac book.
I'm still running Tiger and the Leopard installer doesn't work.
So, I'm trying to compile the sources.

The compilation of igraph seems ok, and
the 107 tests of the corresponding testsuite
were successful.

The problem arises when I want to install
python-igraph. If I type:

>python2.5 setup.py install

the output is the following:

Include path: /usr/local/include/igraph
Library path: /usr/local/lib
running install
running build
running build_py
running build_ext
building 'igraph.core' extension
gcc -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined dynamic_lookup build/temp.macosx-10.3-i386-2.5/src/arpackobject.o build/temp.macosx-10.3-i386-2.5/src/bfsiter.o build/temp.macosx-10.3-i386-2.5/src/common.o build/temp.macosx-10.3-i386-2.5/src/convert.o build/temp.macosx-10.3-i386-2.5/src/edgeobject.o build/temp.macosx-10.3-i386-2.5/src/edgeseqobject.o build/temp.macosx-10.3-i386-2.5/src/error.o build/temp.macosx-10.3-i386-2.5/src/graphobject.o build/temp.macosx-10.3-i386-2.5/src/igraphmodule.o build/temp.macosx-10.3-i386-2.5/src/vertexobject.o build/temp.macosx-10.3-i386-2.5/src/vertexseqobject.o -L/usr/local/lib -ligraph -o build/lib.macosx-10.3-i386-2.5/igraph/core.so
//usr/bin/ld: for architecture ppc
/usr/bin/ld: can't locate file for: -ligraph
usr/bincollect2: ld returned 1 exit status
/ld: for architecture i386
/usr/bin/ld: can't locate file for: -ligraph
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccDWw90E.out (No such file or directory)
error: command 'gcc' failed with exit status 1

Someone can tell me how should I modify the setup file
in order to fix this problem?

The only igraph directory in my system is

/Library/Python/2.5/site-package/igraph/

and I've added this path to the LIBIGRAPH_FALLBACK_INCLUDE_DIRS
of the setup.py file, but nothing changes.

Best regards,

Alessandro

reply via email to

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