Hello,
When I wanted to compile wxPythonSrc-2.4.1.2 from source on my ibook (mac os 10.2.6, 384 MB RAM, 600 MHz G3, MacPython 2.3), it failed:
% python setup.py build
[snip]
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc -I/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 -c src/mac/gdi.cpp -o build/temp.darwin-6.6-Power_Macintosh-2.3/src/mac/gdi.o -I/usr/local/lib/wx/include/mac-2.4 -D__WXMAC__ -DWXMAKINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:165,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
from /usr/local/include/wx/mac/private.h:20,
from src/mac/gdi.cpp:66:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h: In
function `long double scalbl(long double, long int)':
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h:1896: `
scalb' undeclared (first use this function)
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h:1896: (Each
undeclared identifier is reported only once for each function it appears
in.)
error: command 'gcc' failed with exit status 1
does anybody have a hint on how I could compile the wxPython?
Thanks a lot,
Martin