[Biopython-dev] Re: Work towards getting KDTree compiling

thamelry at binf.ku.dk thamelry at binf.ku.dk
Mon Apr 19 15:12:30 EDT 2004


Hi Brad,

> Since Michiel wrote about the problems that were causing the KDTree C++
> extension to fail, I've been taking a look into seeing how we
> might fix that problem and get KDTree compiled by default in
> Biopython.

It works for me on Mandrake 9.2 (it also worked before, of course).
But I've noticed that in the first two steps gcc is still used instead of
g++.
Output:

gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fomit-frame-pointer -pipe
-march=i586 -mcpu=pentiumpro -g -fPIC -I/usr/include/python2.3 -c
Bio/KDTree/KDTree.swig.C -o
build/temp.linux-i686-2.3/Bio/KDTree/KDTree.swig.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fomit-frame-pointer -pipe
-march=i586 -mcpu=pentiumpro -g -fPIC -I/usr/include/python2.3 -c
Bio/KDTree/KDTree.C -o build/temp.linux-i686-2.3/Bio/KDTree/KDTree.o
g++ -pthread -shared build/temp.linux-i686-2.3/Bio/KDTree/KDTree.o
build/temp.linux-i686-2.3/Bio/KDTree/KDTree.swig.o -lstdc++ -o
build/lib.linux-i686-2.3/Bio/KDTree/_CKDTree.so
-Thomas





More information about the Biopython-dev mailing list