igraph-help
[Top][All Lists]
Advanced

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

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


From: Tamas Nepusz
Subject: Re: [igraph] Installing python-igraph on MAC OS X (tiger)
Date: Thu, 4 Dec 2008 09:49:50 +0000

Hi Alessandro,

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:
[...]
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
This is definitely strange for several reasons:

1. It starts compiling igraph again (the above line is a compilation step with gcc) 2. It tries to compile igraph for Mac OS X 10.3, which is one version _before_ Tiger.

It is complaining about the missing C core library of igraph. Since all the test cases passed, I assume that you have it somewhere on your computer. What you should do is the following:

1. Look for a file called libigraph.dylib. This is the compiled C core. For me, it's in /usr/lib, but it could be pretty much anywhere ;) (If Spotlight is not able to find it, try "find / -name libigraph.dylib" from the command line). 2. Add the directory which contains libigraph.dylib to LIBIGRAPH_FALLBACK_LIBRARY_DIRS and try to reinstall.

If you can't find libigraph.dylib anywhere, please get back to me and I'll try to figure out what happened.

Best,
--
Tamas




reply via email to

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