This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients lemburg, ronaldoussoren
Date 2010-06-21.18:35:53
SpamBayes Score 2.472765e-06
Marked as misclassified No
Message-id <1277145356.65.0.792770780459.issue9046@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-06-21 18:35:56lemburgsetrecipients: + lemburg, ronaldoussoren
2010-06-21 18:35:56lemburgsetmessageid: <1277145356.65.0.792770780459.issue9046@psf.upfronthosting.co.za>
2010-06-21 18:35:55lemburglinkissue9046 messages
2010-06-21 18:35:53lemburgcreate