[Stackless] Make fails on OS X
Guyren G Howe
guyren at mac.com
Thu Mar 11 20:56:21 CET 2004
Thank you for Stackless. But...
On OS X, the frameworks make fails with this:
./python.exe ./Mac/scripts/cachersrc.py -v
/Library/Frameworks/Stackless.framework/Versions/2.3/lib/python2.3/
plat-mac /Library/Frameworks/Stackless.framework/Versions/2.3/Mac/Tools
Traceback (most recent call last):
File "./Mac/scripts/cachersrc.py", line 7, in ?
import macresource
File "/Users/guyren/stackless/src/Lib/plat-mac/macresource.py", line
3, in ?
from Carbon import Res
File "/Users/guyren/stackless/src/Lib/plat-mac/Carbon/Res.py", line
4, in ?
from _Res import *
ImportError: Failure linking new module: : dyld: ./python.exe Undefined
symbols:
/Users/guyren/stackless/src/build/lib.darwin-7.2.0-Power_Macintosh-2.3/
_Res.so undefined reference to _CtlObj_New expected to be defined in
the executable
/Users/guyren/stackless/src/build/lib.darwin-7.2.0-Power_Macintosh-2.3/
_Res.so undefined reference to _MenuObj_New expected to be defined in
the executable
/Users/guyren/stackless/src/build/lib.darwin-7.2.0-Power_Macintosh-2.3/
_Res.so undefined reference to _PyArg_ParseTuple expected to
make[1]: *** [installmacsubtree] Error 1
make: *** [frameworkinstallmaclib] Error 2
The non-framework make fails with this:
running build_ext
Fatal Python error: Interpreter not initialized (version mismatch?)
make: *** [sharedmods] Error 134
sh-2.05b# make
case $MAKEFLAGS in \
*-s*) CC='gcc' LDSHARED='gcc -bundle -bundle_loader python.exe'
OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python.exe -E
./setup.py -q build;; \
*) CC='gcc' LDSHARED='gcc -bundle -bundle_loader python.exe'
OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python.exe -E
./setup.py build;; \
esac
running build
running build_ext
Fatal Python error: Interpreter not initialized (version mismatch?)
make: *** [sharedmods] Error 134
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless
More information about the Stackless
mailing list