[BioPython] Installation problem on debian

Pieter Laeremans pieter at laeremans.org
Mon Mar 29 18:56:18 EST 2004


Hi,

When I'm trying to install biopython on a debian system (sarge), with
python2.3 and all the dependencies installed.

But I get this error:

/tmp/biopython-1.24 $ python setup.py build
running build
running build./_py
creating build
creating build/lib.linux-i686-2.3
creating build/lib.linux-i686-2.3/Bio
copying Bio/DBXRef.py -> build/lib.linux-i686-2.3/Bio
copying Bio/Decode.py -> build/lib.linux-i686-2.3/Bio
copying Bio/DocSQL.py -> build/lib.linux-i686-2.3/
.... 
.....
....
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IBio -I/usr/include/python2.3 -c Bio/PDB/mmCIF/MMCIFlexmodule.c -o build/temp.linux-i686-2.3/Bio/PDB/mmCIF/MMCIFlexmodule.o
Bio/PDB/mmCIF/MMCIFlexmodule.c: In function `MMCIFlex_open_file':
Bio/PDB/mmCIF/MMCIFlexmodule.c:14: warning: implicit declaration of function `mmcif_set_file'
Bio/PDB/mmCIF/MMCIFlexmodule.c: In function `MMCIFlex_get_token':
Bio/PDB/mmCIF/MMCIFlexmodule.c:42: warning: implicit declaration of function `mmcif_get_token'
Bio/PDB/mmCIF/MMCIFlexmodule.c:47: warning: implicit declaration of function `mmcif_get_string'
Bio/PDB/mmCIF/MMCIFlexmodule.c: At top level:
Bio/PDB/mmCIF/MMCIFlexmodule.c:65: warning: function declaration isn't a prototype
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IBio -I/usr/include/python2.3 -c Bio/PDB/mmCIF/lex.yy.c -o build/temp.linux-i686-2.3/Bio/PDB/mmCIF/lex.yy.o
mmcif.lex:52: warning: function declaration isn't a prototype
lex.yy.c:1046: warning: `yyunput' defined but not used
gcc -pthread -shared build/temp.linux-i686-2.3/Bio/PDB/mmCIF/lex.yy.o build/temp.linux-i686-2.3/Bio/PDB/mmCIF/MMCIFlexmodule.o -lfl -o build/lib.linux-i686-2.3/Bio/PDB/mmCIF/MMCIFlex.so
/usr/bin/ld: cannot find -lfl
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1


So I think there has to be a library 'fl' whIch has to be installed.
But I don't know which librarh it is. Has someone succeeded in
installing this software on a debian system?

Thanks, 

Pieter



More information about the BioPython mailing list