2005年06月26日 星期日 21:03
下载并解压后进行安装出现如下问题: ./configure 。。。。 。。。。 checking for size_t... yes checking for uid_t in sys/types.h... yes checking for int... yes checking size of int... configure: error: cannot compute sizeof (int), 77 See `config.log' for more details. 在config.log中有: configure:2564: $? = 0 configure:2567: test -s conftest.o configure:2570: $? = 0 configure:2581: result: yes configure:2598: checking for gcc option to accept ANSI C configure:2668: gcc -c -g -O2 conftest.c >&5 configure:2674: $? = 0 configure:2678: test -z || test ! -s conftest.err configure:2681: $? = 0 configure:2684: test -s conftest.o configure:2687: $? = 0 configure:2705: result: none needed configure:2723: gcc -c -g -O2 conftest.c >&5 conftest.c:2: parse error before `me' configure:2729: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2870: checking how to run the C preprocessor configure:2905: gcc -E conftest.c configure:2911: $? = 0 configure:2943: gcc -E conftest.c conftest.c:11:28: ac_nonexistent.h: No such file or directory configure:2949: $? = 1 configure: failed program was: | /* confdefs.h. */ 请问如何处理?涉及red linux问题,不是很熟悉,请教如何处理,谢谢。 ******************************************************************************************************************************** The information in this email is confidential and may be legally privileged. If you have received this email in error or are not the intended recipient, please immediately notify the sender and delete this message from your computer. Any use, distribution, or copying of this email other than by the intended recipient is strictly prohibited. All messages sent to and from us may be monitored to ensure compliance with internal policies and to protect our business. Emails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. Anyone who communicates with us by email is taken to accept these risks. 收发邮件者请注意: 本邮件含保密信息,若误收本邮件,请务必通知发送人并直接删去,不得使用、传播或复制本邮件。 进出邮件均受到本公司合规监控。邮件可能发生被截留、被修改、丢失、被破坏或包含计算机病毒等不安全情况。 ********************************************************************************************************************************
2005年06月26日 星期日 23:36
我没有编译过python的源码,根据 经验猜测: 你是否安装了g++? __ Best Regards, Kebo Wang >-----Original Message----- >From: python-chinese-bounces at lists.python.cn >[mailto:python-chinese-bounces at lists.python.cn] On Behalf Of 陈亚殊 >Sent: Sunday, June 26, 2005 9:03 PM >To: python-chinese at lists.python.cn >Subject: [python-chinese] python2.4.1在red linux7.2安装问题 > >下载并解压后进行安装出现如下问题: >./configure >。。。。 >。。。。 >checking for size_t... yes >checking for uid_t in sys/types.h... yes checking for int... >yes checking size of int... configure: error: cannot compute >sizeof (int), 77 See `config.log' for more details. > > >在config.log中有: >configure:2564: $? = 0 >configure:2567: test -s conftest.o >configure:2570: $? = 0 >configure:2581: result: yes >configure:2598: checking for gcc option to accept ANSI C >configure:2668: gcc -c -g -O2 conftest.c >&5 >configure:2674: $? = 0 >configure:2678: test -z > || test ! -s conftest.err >configure:2681: $? = 0 >configure:2684: test -s conftest.o >configure:2687: $? = 0 >configure:2705: result: none needed >configure:2723: gcc -c -g -O2 conftest.c >&5 >conftest.c:2: parse error before `me' >configure:2729: $? = 1 >configure: failed program was: >| #ifndef __cplusplus >| choke me >| #endif >configure:2870: checking how to run the C preprocessor >configure:2905: gcc -E conftest.c >configure:2911: $? = 0 >configure:2943: gcc -E conftest.c >conftest.c:11:28: ac_nonexistent.h: No such file or directory >configure:2949: $? = 1 >configure: failed program was: >| /* confdefs.h. */ > > >请问如何处理?涉及red linux问题,不是很熟悉,请教如何处理,谢谢。 > > >*************************************************************** >***************************************************************** >The information in this email is confidential and may be >legally privileged. If you have received this email in error >or are not the intended recipient, please immediately notify >the sender and delete this message from your computer. Any >use, distribution, or copying of this email other than by the >intended recipient is strictly prohibited. All messages sent >to and from us may be monitored to ensure compliance with >internal policies and to protect our business. >Emails are not secure and cannot be guaranteed to be error >free as they can be intercepted, amended, lost or destroyed, >or contain viruses. Anyone who communicates with us by email >is taken to accept these risks. > >收发邮件者请注意: >本邮件含保密信息,若误收本邮件,请务必通知发送人并直接删去,不得使用、传播 或复制本邮件。 >进出邮件均受到本公司合规监控。邮件可能发生被截留、被修改、丢失、被破坏或包 含计算机病毒等不安全情况。 >*************************************************************** >***************************************************************** >_______________________________________________ >python-chinese list >python-chinese at lists.python.cn >http://python.cn/mailman/listinfo/python-chinese >
Zeuux © 2025
京ICP备05028076号