![](https://secure.gravatar.com/avatar/3d3176cf99cae23d0ac119d1ea6c4d11.jpg?s=120&d=mm&r=g)
On Thu, May 6, 2010 at 11:21 AM, Patrick Marsh <patrickmarshwx@gmail.com>wrote:
I apologize for not following up on this thread right away. I was sick for a couple of days and then there were several major severe weather outbreaks that required me to spend more time at work. With this said, I've resumed trying to build a DMG with Python2.5.
The "export" suggestion below worked with the broken toolchain, but now I get a more issues. I get the following error, "Cannot compiler 'Python.h'. Perhaps you need to install python-dev|python-devel," but the problem is these files do exist! Looking through the build log it appears that it fails on importing <limits.h> and various other standard libraries.
I'm left to guess that this is an issue with gcc-4.0 picking up the wrong headers? I tried to re-install gcc-4.0, however the gcc-4.0.mpkg won't install because gcc-4.2 is found on the disk, so I don't know how to test this theory. I've uploaded the output from the build attempt (with the Traceback appended to the bottom).
Short of reverting back to a previous version of OSX, I'm not sure what to try next. I'm open to any suggestion(s) at this point.
Build log: http://www.patricktmarsh.com/tmp/build.out
Looks like an incomplete install of the 10.4 SDK again. What do you get for $ locate limits.h under /Developer/SDKs/MacOSX10.4u.sdk/ ? On my system it's the following: /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/i386/_limits.h /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/i386/limits.h /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/machine/_limits.h /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/machine/limits.h /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/ppc/_limits.h /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/ppc/limits.h /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/syslimits.h /Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc/darwin/3.3/machine/limits.h /Developer/SDKs/MacOSX10.4u.sdk/usr/include/i386/_limits.h /Developer/SDKs/MacOSX10.4u.sdk/usr/include/i386/limits.h /Developer/SDKs/MacOSX10.4u.sdk/usr/include/limits.h /Developer/SDKs/MacOSX10.4u.sdk/usr/include/machine/_limits.h /Developer/SDKs/MacOSX10.4u.sdk/usr/include/machine/limits.h /Developer/SDKs/MacOSX10.4u.sdk/usr/include/ppc/_limits.h /Developer/SDKs/MacOSX10.4u.sdk/usr/include/ppc/limits.h /Developer/SDKs/MacOSX10.4u.sdk/usr/include/sys/syslimits.h /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin10/4.0.1/include/limits.h /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin10/4.0.1/include/syslimits.h /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin10/4.0.1/include/limits.h /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin10/4.0.1/include/syslimits.h Cheers, Ralf