- 论坛徽章:
- 0
|
改了Makefile里的CC= xlc_r -q64 -qlanglvl=extc99
又报错:
[OCSDB2:/bsnweb/ksding/python/informixdb/InformixDBx]$python setup.py build_ext
running build_ext
/informix/bin/esql -EDHAVE_ESQL9 -EDHAVE_DESCRIBE_INPUT -e _informixdb.ec
building '_informixdb' extension
xlc_r -q64 -qlanglvl=extc99 -DNDEBUG -O -DPYTHON_INCLUDE=/bsnweb/ksding/python/pro_dir_python/include/python2.5 -DHAVE_C_DATETIME=1 -DHAVE_PY_BOOL=1 -D_H_LOCALEDEF -Iext -I/informix/incl/esql -I/bsnweb/ksding/python/pro_dir_python/include/python2.5 -c ext/_informixdb.c -o build/temp.aix-5.3-2.5/ext/_informixdb.o
"/bsnweb/ksding/python/pro_dir_python/include/python2.5/pyport.h", line 761.2: 1506-205 (S) #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
error: command 'xlc_r' failed with exit status 1 |
|