与apache Derby Db数据库的python连接

时间:2014-12-05 09:43:38

标签: python ubuntu derby

我在安装DB2时遇到错误;运行命令python setup.py build后,我在Ubuntu中遇到以下错误:

Your DB2 root is: 
WARNING: it seems that you did not install 'Application Development Kit'.
Compilation may fail.

running build
running build_py
running build_ext
building '_db2' extension
i686-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Iinclude -I/usr/include/python2.7 -c _db2_module.c -o build/temp.linux-i686-2.7/_db2_module.o
_db2_module.c:24:21: fatal error: sqlcli1.h: No such file or directory
 #include <sqlcli1.h>
                     ^
compilation terminated.
error: command 'i686-linux-gnu-gcc' failed with exit status 1

请帮我摆脱这个错误。

0 个答案:

没有答案