[Pythonmac-SIG] Building python 2.4.3 on OSX 10.3.9
Michael Glassford
glassfordm at hotmail.com
Mon Jul 10 17:34:50 CEST 2006
Michael Glassford wrote:
> Ronald Oussoren wrote:
>> On Jul 8, 2006, at 5:27 PM, Piet van Oostrum wrote:
>>
>>>>>>>> Michael Glassford <glassfordm at gmail.com> (MG) wrote:
>>>> MG> As far as I can tell, XCode isn't installed at all. I ran the
>>>> XCode 2.3
>>>> MG> installer, but it says "You can only install this software on MacOS
>>>> MG> 10.4". I couldn't find installers for any earlier versions of XCode.
>>> When you haven't XCode installed, how come you have gcc?
>> IIRC Xcode 1.5 installs on 10.3.9.
>>
>> Michael, do you have a /Developer folder on your system?
> I do.
>
>> If you do you
>> have some edition of the developer tools installed.
>
> All that was in it were the SDKs I had installed (10.3.9, QuickDraw,
> CoreAudio; all of which were necessary to fix specific build errors).
> There was no XCode stuff. I've finally found the Panther install CD and
> now have XCode 1.5 installed. I've finally successfully build Python
> 2.4.3, but am now running into other problems building my application. I
> haven't the time to look into them very deeply yet. They look like
> QuickTime errors, though I don't know why I should be getting those as
> the QuickTime SDK is installed. I'll report back if I can't figure it out.
OK, now that I've built Python, I'm running into this problem building
PyObjC:
"""
building 'QTKit._QTKit' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-I/usr/local/include/python2.4 -c Modules/QTKit/_QTKit.m -o
build/temp.darwin-7.9.0-Power_Macintosh-2.4/Modules/QTKit/_QTKit.o
-IModules/objc -DMACOSX -DAPPLE_RUNTIME -no-cpp-precomp -Wno-long-double
-g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wshadow
-Wpointer-arith -Wmissing-declarations -Wnested-externs -Wno-long-long
-Wno-import -Ibuild/codegen/
In file included from
/System/Library/Frameworks/QTKit.framework/Headers/QTKit.h:10,
from Modules/QTKit/_QTKit.m:8:
/System/Library/Frameworks/QTKit.framework/Headers/QTDataReference.h:14:
error: parse error before "AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER"
/System/Library/Frameworks/QTKit.framework/Headers/QTDataReference.h:15:
error: parse error before "AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER"
/System/Library/Frameworks/QTKit.framework/Headers/QTDataReference.h:16:
error: parse error before "AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER"
/System/Library/Frameworks/QTKit.framework/Headers/QTDataReference.h:17:
error: parse error before "AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER"
/System/Library/Frameworks/QTKit.framework/Headers/QTDataReference.h:18:
error: parse error before "AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER"
In file included from
/System/Library/Frameworks/QTKit.framework/Headers/QTMovie.h:12,
from
/System/Library/Frameworks/QTKit.framework/Headers/QTKit.h:11,
from Modules/QTKit/_QTKit.m:8:
"""
I've found references online to similar problems when QuickTime 7 is
installed on OS X 10.3.9 (which is the case here), but no solutions. I'd
gladly downgrade to an earlier version of QuickTime if I knew how (I'm
not using QuickTime), but haven't discovered any way to do it.
Mike
More information about the Pythonmac-SIG
mailing list