[issue9046] Python 2.7rc2 doesn't build on Mac OS X 10.3
Marc-Andre Lemburg
report at bugs.python.org
Mon Jun 21 20:35:56 CEST 2010
New submission from Marc-Andre Lemburg <mal at egenix.com>:
The RC2 builds fine on Mac OS X 10.6 (Snow Leopard), but fails to build any of the required extension modules on 10.3:
Python build finished, but the necessary bits to build these modules were not found:
_bsddb gdbm linuxaudiodev
ossaudiodev readline spwd
sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
Failed to build these modules:
_AE _AH _App
_bisect _CarbonEvt _CF
_CG _Cm _codecs_cn
_codecs_hk _codecs_iso2022 _codecs_jp
_codecs_kr _codecs_tw _collections
_csv _Ctl _ctypes
_ctypes_test _curses _curses_panel
_Dlg _Drag _elementtree
_Evt _File _Fm
_Folder _functools _hashlib
_heapq _Help _hotshot
_IBCarbon _Icn _io
_json _Launch _List
_locale _lsprof _Menu
_Mlte _multibytecodec _multiprocessing
_OSA _Qd _Qdoffs
_Qt _random _Res
_Scrap _sha256 _sha512
_Snd _socket _sqlite3
_ssl _struct _TE
_testcapi _tkinter _weakref
_Win array audioop
autoGIL binascii bsddb185
bz2 cmath ColorPicker
cPickle crypt cStringIO
datetime dbm dl
fcntl future_builtins gestalt
grp icglue imageop
itertools MacOS math
mmap Nav nis
operator OSATerminology parser
pyexpat resource select
strop syslog termios
time unicodedata zlib
Example:
building '_struct' extension
gcc-4.0 -fno-strict-aliasing -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/src/egenix-build-environment/Python-2.7rc2-ucs2/Mac/Include -I. -IInclude -I./Include -I/usr/local/include -I/usr/local/src/egenix-build-environment/Python-2.7rc2-ucs2/Include -I/usr/local/src/egenix-build-environment/Python-2.7rc2-ucs2 -c _struct.c -o build/temp.macosx-10.4-fat-2.7/_struct.o
powerpc-apple-darwin8-gcc-4.0.1: _struct.c: No such file or directory
powerpc-apple-darwin8-gcc-4.0.1: no input files
i686-apple-darwin8-gcc-4.0.1: _struct.c: No such file or directory
i686-apple-darwin8-gcc-4.0.1: no input files
lipo: can't figure out the architecture type of: /var/tmp//cckP7ZEq.out
...
These were the used configure options:
./configure --prefix=/usr/local/python-2.7-ucs2 --enable-unicode=ucs2 --enable-universalsdk MACOSX_DEPLOYMENT_TARGET=10.4
----------
assignee: ronaldoussoren
components: Build
messages: 108294
nosy: lemburg, ronaldoussoren
priority: normal
severity: normal
status: open
title: Python 2.7rc2 doesn't build on Mac OS X 10.3
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9046>
_______________________________________
More information about the Python-bugs-list
mailing list