[Pythonmac-SIG] framework _only_ build fails on 10.1

Pascal Oberndoerfer p.oberndoerfer at urheberrecht.org
Wed Mar 31 02:33:54 EST 2004

I doubt this is of great interest anymore but still: maybe I just missed

I tried to build the framework _only_ on 10.1 yesterday. No
frameworkinstallapps or frameworkinstallextras.

During make I get this problem:

cc -Wl,-F. -bundle -framework Python
-L/Library/Frameworks/Python.framework/Versions/2.3/lib -L/usr/local/lib -o
build/lib.darwin-5.5-Power_Macintosh-2.3/MacOS.so -framework Carbon

/usr/bin/ld: Undefined symbols:


This is related to macosmodule.c I guess.

Obviously this leads to unexpected skips during make test:

3 skips unexpected on darwin:
    test_macostools test_aepack test_scriptpackages

and make frameworkinstallframework fails too of course:

./python.exe ./Mac/scripts/cachersrc.py -v
Traceback (most recent call last):
  File "./Mac/scripts/cachersrc.py", line 7, in ?
    import macresource
  File "/Users/pob/Desktop/Python-2.3.3/Lib/plat-mac/macresource.py", line
6, in ?
    import MacOS
ImportError: No module named MacOS
make[1]: *** [installmacsubtree] Fehler 1
make: *** [frameworkinstallmaclib] Fehler 2

These were the steps taken:

- download waste-21b1.sit to Desktop
- download Python-2.3.3.tgz to Desktop
- unpack both to Desktop
- rename 'WASTE 2.1b1 Distribution' to waste

- open Terminal
- cd to ~/Desktop/Python-2.3.3
- ln -s ../waste waste

- ./configure --enable-framework

- edit ~/Desktop/Python-2.3.3/Mac/OSX/make for 10.1/10.2
  on lines 13-16 (PBXBUILD=pbxbuild)
  (Don't know if this is necessary when not installing extras/apps)

- make
- make test

- make frameworkinstallframework


More information about the Pythonmac-SIG mailing list