igraph-help
[Top][All Lists]
Advanced

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

[igraph] Compiling python-igraph 0.5.2. for OSX 10.5


From: Diederik van Liere
Subject: [igraph] Compiling python-igraph 0.5.2. for OSX 10.5
Date: Thu, 8 Oct 2009 13:09:49 -0400

Hi,

I am struggling with getting igraph / python-igraph to work on my OSX. I have 
compiled Igraph (without GMP support) and that seems to have compiled fine. It 
passes all 112 tests. See igraph compile output:

## ------------- ##
## Test results. ##
## ------------- ##

All 112 tests were successful.
Making check in interfaces
make[2]: Nothing to be done for `check-am'.
make[1]: Nothing to be done for `check-am'.
my-imac:igraph-0.5.2 diederik$ sudo make install
Making install in src
make  install-am
test -z "/usr/local/lib" || .././install-sh -c -d "/usr/local/lib"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c  'libigraph.la' 
'/usr/local/lib/libigraph.la'
libtool: install: /usr/bin/install -c .libs/libigraph.0.dylib 
/usr/local/lib/libigraph.0.dylib
libtool: install: (cd /usr/local/lib && { ln -s -f libigraph.0.dylib 
libigraph.dylib || { rm -f libigraph.dylib && ln -s libigraph.0.dylib 
libigraph.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libigraph.lai 
/usr/local/lib/libigraph.la
libtool: install: /usr/bin/install -c .libs/libigraph.a 
/usr/local/lib/libigraph.a
libtool: install: chmod 644 /usr/local/lib/libigraph.a
libtool: install: ranlib /usr/local/lib/libigraph.a



Next, I compile python-igraph and everything goes smooth until the very end. 
After byte compiling the python files, i get the following error message:

byte-compiling build/bdist.macosx-10.3-i386/egg/igraph/core.py to core.pyc
installing package data to build/bdist.macosx-10.3-i386/egg
running install_data
error: can't copy '/Users/diederik/lib/libigraph.0.dylib': doesn't exist or not 
a regular file

I noticed in the setup.py file that there is macoxs 'hack' to search in the 
user home directory but it seems a bit weird. I can't find the 
libigraph.0.0dylib or should it reference to the libigraph.a? 

your help is much appreciated!!

best regards,

Diederik



reply via email to

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