[issue6940] cannot compute sizeof wchar_t on OS X 10.5.7, Python 2.6.2

Rajarshi report at bugs.python.org
Fri Sep 18 15:58:09 CEST 2009


New submission from Rajarshi <rajarshi.guha at gmail.com>:

OS 10.5.7, Python 2.6.2 sources. 

When I execute:

/configure --enable-framework=/Library/Frameworks \
--enable-universalsdk=/ \
MACOSX_DEPLOYMENT_TARGET=10.5 \
--with-universal-archs=all \
--with-readline-dir=/usr/local

configure fails with the error
checking size of wchar_t... configure: error: cannot compute sizeof
(wchar_t)

However, if I replace all with 64-bit, it works fine. I note that this
issue was reported for OS X 10.4 and fixed. But this still happens

gcc information is

Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5490~1/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=i686-apple-darwin9 --with-arch=apple --with-tune=generic
--host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5490)

----------
components: Build
messages: 92824
nosy: rajarshi
severity: normal
status: open
title: cannot compute sizeof wchar_t on OS X 10.5.7, Python 2.6.2
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6940>
_______________________________________


More information about the Python-bugs-list mailing list