[Python] Ubuntu e Kinterbasdb

Alex Ghelfi grappale a hotmail.it
Ven 12 Nov 2010 11:26:14 CET


Riferendomi ancora alle istruzioni di :
 > 
http://mapopa.blogspot.com/2009/02/firebird-python-howto-on-ubuntu-wget.html

ho provato a salatare la riga di installazione di firebird perché ce 
l'ho già installato.
Dopo aver lanciato :
sudo python setup.py install

ottengo questi errori :


compiling '_configtest.c':
int main (void) { }
_configtest.c: In function ‘main’:
_configtest.c:1: warning: control reaches end of non-void function
/usr/bin/ld: cannot find -lfbclient
collect2: ld returned 1 exit status
compiling '_configtest.c':
int main (void) { }
_configtest.c: In function ‘main’:
_configtest.c:1: warning: control reaches end of non-void function
/usr/bin/ld: cannot find -lfbembed
collect2: ld returned 1 exit status
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.6
creating build/lib.linux-x86_64-2.6/kinterbasdb
copying ./__init__.py -> build/lib.linux-x86_64-2.6/kinterbasdb
copying ./k_exceptions.py -> build/lib.linux-x86_64-2.6/kinterbasdb
copying ./typeconv_naked.py -> build/lib.linux-x86_64-2.6/kinterbasdb
copying ./typeconv_backcompat.py -> build/lib.linux-x86_64-2.6/kinterbasdb
copying ./typeconv_23plus.py -> build/lib.linux-x86_64-2.6/kinterbasdb
copying ./typeconv_fixed_stdlib.py -> build/lib.linux-x86_64-2.6/kinterbasdb
copying ./typeconv_fixed_fixedpoint.py -> 
build/lib.linux-x86_64-2.6/kinterbasdb
copying ./typeconv_datetime_naked.py -> 
build/lib.linux-x86_64-2.6/kinterbasdb
copying ./typeconv_datetime_stdlib.py -> 
build/lib.linux-x86_64-2.6/kinterbasdb
copying ./typeconv_datetime_mx.py -> build/lib.linux-x86_64-2.6/kinterbasdb
copying ./typeconv_text_unicode.py -> build/lib.linux-x86_64-2.6/kinterbasdb
copying ./_array_descriptor.py -> build/lib.linux-x86_64-2.6/kinterbasdb
copying ./_connection_timeout.py -> build/lib.linux-x86_64-2.6/kinterbasdb
copying ./_request_buffer_builder.py -> 
build/lib.linux-x86_64-2.6/kinterbasdb
copying ./typeconv_23plus_lowmem.py -> 
build/lib.linux-x86_64-2.6/kinterbasdb
copying ./typeconv_24plus.py -> build/lib.linux-x86_64-2.6/kinterbasdb
copying ./typeconv_fixed_decimal.py -> 
build/lib.linux-x86_64-2.6/kinterbasdb
copying ./services.py -> build/lib.linux-x86_64-2.6/kinterbasdb
creating build/lib.linux-x86_64-2.6/kinterbasdb/docs
copying ./docs/modindex.html -> build/lib.linux-x86_64-2.6/kinterbasdb/docs
copying ./docs/links.html -> build/lib.linux-x86_64-2.6/kinterbasdb/docs
copying ./docs/index.html -> build/lib.linux-x86_64-2.6/kinterbasdb/docs
copying ./docs/genindex.html -> build/lib.linux-x86_64-2.6/kinterbasdb/docs
copying ./docs/installation.html -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs
copying ./docs/Python-DB-API-2.0.html -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs
copying ./docs/thread-safety-overview.html -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs
copying ./docs/beyond-python-db-api.html -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs
copying ./docs/license.html -> build/lib.linux-x86_64-2.6/kinterbasdb/docs
copying ./docs/python-db-api-compliance.html -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs
copying ./docs/changelog.html -> build/lib.linux-x86_64-2.6/kinterbasdb/docs
copying ./docs/concurrency.html -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs
copying ./docs/search.html -> build/lib.linux-x86_64-2.6/kinterbasdb/docs
copying ./docs/tutorial.html -> build/lib.linux-x86_64-2.6/kinterbasdb/docs
creating build/lib.linux-x86_64-2.6/kinterbasdb/docs/_static
copying ./docs/_static/contents.png -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_static
copying ./docs/_static/traditional.css -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_static
copying ./docs/_static/plus.png -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_static
copying ./docs/_static/default.css -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_static
copying ./docs/_static/doctools.js -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_static
copying ./docs/_static/rightsidebar.css -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_static
copying ./docs/_static/stickysidebar.css -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_static
copying ./docs/_static/sphinxdoc.css -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_static
copying ./docs/_static/navigation.png -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_static
copying ./docs/_static/jquery.js -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_static
copying ./docs/_static/file.png -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_static
copying ./docs/_static/pygments.css -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_static
copying ./docs/_static/minus.png -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_static
copying ./docs/_static/searchtools.js -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_static
creating build/lib.linux-x86_64-2.6/kinterbasdb/docs/_sources
copying ./docs/_sources/changelog.txt -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_sources
copying ./docs/_sources/links.txt -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_sources
copying ./docs/_sources/Python-DB-API-2.0.txt -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_sources
copying ./docs/_sources/beyond-python-db-api.txt -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_sources
copying ./docs/_sources/concurrency.txt -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_sources
copying ./docs/_sources/license.txt -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_sources
copying ./docs/_sources/index.txt -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_sources
copying ./docs/_sources/python-db-api-compliance.txt -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_sources
copying ./docs/_sources/tutorial.txt -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_sources
copying ./docs/_sources/thread-safety-overview.txt -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_sources
copying ./docs/_sources/installation.txt -> 
build/lib.linux-x86_64-2.6/kinterbasdb/docs/_sources
running build_ext
running config
-------------------------------------------------------------------------------
WILL NOW PROBE DATABASE API FOR FEATURES.
COMPILER ERRORS THAT ARISE DURING THIS PHASE ARE NOT A PROBLEM.
-------------------------------------------------------------------------------
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
_configtest.c:1: fatal error: ibase.h: Nessun file o directory
compilation terminated.
-------------------------------------------------------------------------------
FINISHED PROBING DATABASE API FOR FEATURES.
-------------------------------------------------------------------------------
building 'kinterbasdb._kinterbasdb' extension
creating build/temp.linux-x86_64-2.6
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -UNDEBUG -I/usr/include/python2.6 
-I/usr/include/python2.6 -c _kinterbasdb.c -o 
build/temp.linux-x86_64-2.6/_kinterbasdb.o -pedantic -g -std=c99 
-fno-strict-aliasing -pthread -O3
In file included from _kinterbasdb.c:18:
_kinterbasdb.h:33: fatal error: Python.h: Nessun file o directory
compilation terminated.
error: command 'gcc' failed with exit status 1

Che devo fare?
grazie





Maggiori informazioni sulla lista Python