[BioPython] Problem installing Biopython in Red Hat 8.0
Sebastian Bassi
sbassi@asalup.org
Mon, 06 Jan 2003 14:09:44 -0300
Hi,
I tried to install Biopython on Red Hat 8.0 and I got an error.
The command I issued was "python setup.py install" and it started to
work but after a lot of compiling information I got:
gcc -shared build/temp.linux-i686-2.2/triemodule.o
build/temp.linux-i686-2.2/trie.o -o build/lib.linux-i686-2.2/Bio/trie.so
building 'Bio.cMarkovModel' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IBio
-I/usr/include/python2.2 -c Bio/cMarkovModelmodule.c -o
build/temp.linux-i686-2.2/cMarkovModelmodule.o
Bio/cMarkovModelmodule.c:56: warning: function declaration isn't a prototype
skipping Bio/csupport.c (build/temp.linux-i686-2.2/csupport.o up-to-date)
gcc -shared build/temp.linux-i686-2.2/cMarkovModelmodule.o
build/temp.linux-i686-2.2/csupport.o -o
build/lib.linux-i686-2.2/Bio/cMarkovModel.so
building 'Bio.KDTree._KDTreecmodule' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
-I/usr/include/python2.2 -c Bio/KDTree/_KDTree.C -o
build/temp.linux-i686-2.2/_KDTree.o
Bio/KDTree/_KDTree.C: In member function `void
KDTree::neighbor_simple_search(float)':
Bio/KDTree/_KDTree.C:914: warning: comparison between signed and unsigned
integer expressions
Bio/KDTree/_KDTree.C:923: warning: comparison between signed and unsigned
integer expressions
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
-I/usr/include/python2.2 -c Bio/KDTree/_KDTree.swig.C -o
build/temp.linux-i686-2.2/_KDTree.swig.o
Bio/KDTree/_KDTree.swig.C: In function `int SWIG_ConvertPtr(PyObject*,
void**,
_swig_type_info*, int)':
Bio/KDTree/_KDTree.swig.C:319: warning: suggest parentheses around
assignment
used as truth value
Bio/KDTree/_KDTree.swig.C:544:42: Numeric/arrayobject.h: No such file or
directory
Bio/KDTree/_KDTree.swig.C: In function `PyObject*
KDTree_get_indices(KDTree*)':
Bio/KDTree/_KDTree.swig.C:549: `PyArrayObject' undeclared (first use this
function)
Bio/KDTree/_KDTree.swig.C:549: (Each undeclared identifier is reported only
once for each function it appears in.)
Bio/KDTree/_KDTree.swig.C:549: `_array' undeclared (first use this function)
Bio/KDTree/_KDTree.swig.C:559: parse error before `)' token
Bio/KDTree/_KDTree.swig.C:563: `PyArray_Return' undeclared (first use this
function)
Bio/KDTree/_KDTree.swig.C: In function `PyObject*
KDTree_neighbor_get_indices(KDTree*)':
Bio/KDTree/_KDTree.swig.C:579: parse error before `)' token
Bio/KDTree/_KDTree.swig.C: In function `PyObject*
KDTree_get_radii(KDTree*)':
Bio/KDTree/_KDTree.swig.C:599: parse error before `)' token
Bio/KDTree/_KDTree.swig.C: In function `PyObject*
KDTree_neighbor_get_radii(KDTree*)':
Bio/KDTree/_KDTree.swig.C:619: parse error before `)' token
Bio/KDTree/_KDTree.swig.C: In function `PyObject*
_wrap_KDTree_set_data(PyObject*, PyObject*)':
Bio/KDTree/_KDTree.swig.C:677: `array' undeclared (first use this function)
Bio/KDTree/_KDTree.swig.C:680: parse error before `)' token
Bio/KDTree/_KDTree.swig.C:683: `PyArray_Check' undeclared (first use this
function)
Bio/KDTree/_KDTree.swig.C: In function `PyObject*
_wrap_KDTree_search_center_radius(PyObject*, PyObject*)':
Bio/KDTree/_KDTree.swig.C:738: parse error before `)' token
Bio/KDTree/_KDTree.swig.C: In function `void init_KDTreec()':
Bio/KDTree/_KDTree.swig.C:944: `import_array' undeclared (first use this
function)
error: command 'gcc' failed with exit status 1
[root@blastserver biopython-1.10]# gcc
gcc: no input files
[root@blastserver biopython-1.10]#
Any help?
May I just put the files under the site-packages directory?
--
Best regards,
//=\ Sebastian Bassi - Diplomado en Ciencia y Tecnologia, UNQ //=\
\=// IT Manager Advanta Seeds - Balcarce Research Center - \=//
//=\ Pro secretario ASALUP - www.asalup.org - PGP key available //=\
\=// E-mail: sbassi@genesdigitales.com - ICQ UIN: 3356556 - \=//
Linux para todos: http://Linuxfacil.info