Python论坛  - 讨论区

标题:[python-chinese] cx-_Oracle编译出错求助

2007年09月15日 星期六 15:27

wyf wyf2324在gmail.com
星期六 九月 15 15:27:13 HKT 2007

Cpu AMD Duron750

RAM 512M

OS Debian Etch

 

Gcc°æ±¾ 4.1.2

Python 2.4

Locale zh_CN.UTF-8

 

¾ùΪdebian etchĬÈÏ°²×°¡£

 

ÔÚ»úÆ÷ÉÏ´òËãÓÃpythonÀ´·ÃÎÊoracleÊý¾Ý¿â£¬ÏÂÔØÁËrpm°æ±¾ºó£¬ÓÃalien°²×°³É¹¦£¬ÔË
ÐÐʱÌáʾÕÒ²»µ½¡°GLibc2.4¡±£¬etchÉϵÄglibcÊÇ2.3.6¡£Ã»°ì·¨Ö»ºÃÏÂÔØÔ´´úÂë×Ô¼º±à
Òë¡£

 

ÏÈ´Óoss.oracle.com/debian°²×°oracle-xe-universal£¬È»ºóÉèÖúÃORACLE_HOME¡£

 

Python setup.py build ʱ³öÏÖÒÔÏ´íÎó£º

 

In file included from
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/oci.h:2655,

                 from cx_Oracle.c:9:

/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/oci1.h:148:
warning: function declaration isn¡¯t a prototype

In file included from
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/ociap.h:222
,

                 from
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/oci.h:2679,

                 from cx_Oracle.c:9:

/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/nzt.h:676:
warning: function declaration isn¡¯t a prototype

/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/nzt.h:2667:
warning: function declaration isn¡¯t a prototype

/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/nzt.h:2676:
warning: function declaration isn¡¯t a prototype

/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/nzt.h:2686:
warning: function declaration isn¡¯t a prototype

/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/nzt.h:2695:
warning: function declaration isn¡¯t a prototype

/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/nzt.h:2704:
warning: function declaration isn¡¯t a prototype

/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/nzt.h:2713:
warning: function declaration isn¡¯t a prototype

/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/nzt.h:2721:
warning: function declaration isn¡¯t a prototype

/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/nzt.h:2731:
warning: function declaration isn¡¯t a prototype

/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/nzt.h:2738:
warning: function declaration isn¡¯t a prototype

/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/nzt.h:2746:
warning: function declaration isn¡¯t a prototype

In file included from
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/oci.h:2679,

                 from cx_Oracle.c:9:

/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/ociap.h:100
69: warning: function declaration isn¡¯t a prototype

/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/ociap.h:100
75: warning: function declaration isn¡¯t a prototype

Transforms.c: In function ¡®OracleDateToPythonDate¡¯:

Transforms.c:34: internal compiler error: ¶Î´íÎó

Please submit a full bug report,

with preprocessed source if appropriate.

See http://gcc.gnu.org/bugs.html> for instructions.

For Debian GNU/Linux specific bug reporting instructions,

see file:///usr/share/doc/gcc-4.1/README.Bugs>.

Preprocessed source stored into /tmp/ccuJsQCS.out file, please attach this
to your bugreport.

error: command 'gcc' failed with exit status 1

 

ÇëÎÊÓÐûÓÐÄÄλÅöµ½¹ý£¬»òÕ߸øµãÌáʾ¡£

 

лл£¡

 

Wyf

2007.9.15

-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070915/b288e59c/attachment-0001.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号