[Biopython] Problems installing Biopython
Boel Brynedal
brynedal at gmail.com
Fri Dec 4 14:01:49 EST 2009
Dear List,
I am trying to install Biopython from source on my Mac OS X v.10.6.1. I ran
into some problems when building Biopython, thought that it might be due to
the fact that I am missing xcore tools (gcc-4.0 was missing) so I installed
version 2.5 of xcore. This is however the output as I try to build biopython
after installing xcore:
$ python setup.py install
running install
running build
running build_py
creating build
a lot of creating, copying etc etc...
running build_ext
building 'Bio.clistfns' extension
creating build/temp.macosx-10.3-fat-2.6
creating build/temp.macosx-10.3-fat-2.
6/Bio
gcc-4.0 -arch ppc -arch i386 -fno-strict-aliasing -fno-common -dynamic
-DNDEBUG -g -O3
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c
Bio/clistfnsmodule.c -o build/temp.macosx-10.3-fat-2.6/Bio/clistfnsmodule.o
In file included from /usr/include/architecture/i386/math.h:626,
from /usr/include/math.h:28,
from
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
from
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
from Bio/clistfnsmodule.c:10:
/usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for
Intel with Mac OS X Deployment Target < 10.4 is invalid.
Compiling with an SDK that doesn't seem to exist:
/Developer/SDKs/MacOSX10.4u.sdk
Please check your Xcode installation
gcc-4.0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g
-bundle -undefined dynamic_lookup
build/temp.macosx-10.3-fat-2.6/Bio/clistfnsmodule.o -o
build/lib.macosx-10.3-fat-2.6/Bio/clistfns.so
ld: library not found for -lbundle1.o
collect2: ld returned 1 exit status
ld: library not found for -lbundle1.o
collect2: ld returned 1 exit status
lipo: can't open input file:
/var/folders/fy/fySdohlPEBSVFU-YIflSGk+++TI/-Tmp-//cc1Cm89x.out (No such
file or directory)
error: command 'gcc-4.0' failed with exit status 1
I am new to using Mac, and not the most talented computer nerd, but it seems
like we have two problems here:
the systems seems to be looking for MacOSX10.4u.sdk, when the xcore tools
I've installed contain MacOSX10.5.sdk and MacOSX10.6.sdk. Why does it look
for the earlier version, and what can I do about it?
#warning Building for Intel with Mac OS X Deployment Target < 10.4 is
invalid - this I do not understand at all.
I'm using Python 2.6.4 and I'm trying to install biopython-1.52.
Any tips, comments or ideas would be greatly appreciated!
Thank you,
Boel
More information about the Biopython
mailing list