Bugs item #662840, was opened at 2003-01-05 14:03 Message generated for change (Comment added) made by sakshale You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=662840&group_id=5470
Category: Build Group: Python 2.3 Status: Open Resolution: None Priority: 5 Submitted By: Nadav Horesh (nadavhoresh) Assigned to: Nobody/Anonymous (nobody) Summary: configure script fails with wchat_t size. Initial Comment: Python version 2.3a1 System RH 7.3 Compiler: gcc 3.2.1 The configure script bails out when trying to determain the size of wchar_t. The configure runs OK with gcc 2.96. . . . checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for wchar_t... yes checking size of wchar_t... configure: error: cannot compute sizeof (wchar_t), 77 ---------------------------------------------------------------------- Comment By: Sakshale eQuorian (sakshale) Date: 2005-01-11 16:16 Message: Logged In: YES user_id=79659 I am running into the same issue; Solaris 9 SPARC and Python-2.4.tar.bz2 checking for wchar.h... yes checking for wchar_t... yes checking size of wchar_t... configure: error: cannot compute sizeof (wchar_t), 77 I had --with-libs='/usr/local/ssl/lib/ as a configure option. The error was; configure:18335: checking size of wchar_t configure:18660: gcc -o conftest -g -O2 conftest.c /usr/local/ssl -lsocket -lnsl -lrt -ldl >&5 ld: fatal: file /usr/local/ssl/lib/: unknown file type Removing the --with-libs cured this problem ---------------------------------------------------------------------- Comment By: Neal Norwitz (nnorwitz) Date: 2003-05-22 14:54 Message: Logged In: YES user_id=33168 Nadav, do you still have this problem with 2.3b1? Is this a duplicate as indicated in the comments? ---------------------------------------------------------------------- Comment By: Neal Norwitz (nnorwitz) Date: 2003-02-01 17:45 Message: Logged In: YES user_id=33168 Seems to be a duplicate of 678723 (or at least related, both are redhat 7.3). ---------------------------------------------------------------------- Comment By: Martin v. Löwis (loewis) Date: 2003-01-06 14:01 Message: Logged In: YES user_id=21627 I see. The problem lies in these lines configure:15806: ./conftest ./configure: line 1: 6876 Segmentation fault ./conftest$ac_exeext Now, it is not clear why the test program (printed below these lines) could possible cause a segmentation fault - unless there is a bug in the compiler. So I would conclude this to be a gcc bug, on this configuration. It would be possible to track this further down, but that would require access to the machine, using a debugger, etc. ---------------------------------------------------------------------- Comment By: Nadav Horesh (nadavhoresh) Date: 2003-01-06 12:02 Message: Logged In: YES user_id=75473 Further info: On the same system (RH7.3+gcc3.2.1+PIII) I compliled python 2.2.2 without any problems. On another system: RH8.0 + gcc3.2.1 + dual PIII --- the configure script concluded without errors. I didn't try to compile though. ---------------------------------------------------------------------- Comment By: Martin v. Löwis (loewis) Date: 2003-01-05 15:12 Message: Logged In: YES user_id=21627 Can you please attach the resulting config.log? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=662840&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com