Hi,
Are you using the system Python on Mac OS X or have you installed Python
from a third-party source (such as macpython.org)? I suspect that you
installed Python from macpython.org since the setup script seems to use
gcc-4.0 by default instead of llvm-gcc-4.2.
This is not a problem per se, but you have to make sure that the C core is
compiled with the same gcc for the same architecture as the Python
interface. So, for instance, if you use gcc-4.0 for building the Python
interface, then you'll need to compile the C core with gcc-4.0 as well. If
you use "-arch ppc -arch i386" for building the Python interface in order to
obtain a PPC/i386 "fat" library, then you have to compile the C core for
PPC/i386 as well using "-arch ppc -arch i386". If you just simply download
the C core and compile it on Mac OS X Lion, it will use llvm-gcc-4.2 and
compile it for the x86_64 only, so the obtained libigraph.dylib will be
incompatible with the one that the Python interface tries to compile.
Even after the above, I get the following error:
/usr/include/AvailabilityMacros.h:109:14: warning: #warning Building for
Intel with Mac OS X Deployment Target < 10.4 is invalid.
You can probably get around this with
export MACOSX_DEPLOYMENT_TARGET=10.7
The reason is that the i386 architecture was not supported before Mac OS X
10.4, and your compiler seems to want to produce code for Mac OS X 10.3.
Cheers,
Tamas
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help