[Pythonmac-SIG] Building python 2.4.3 on OSX 10.3.9

Bob Ippolito bob at redivi.com
Fri Jul 7 19:53:25 CEST 2006


On Jul 7, 2006, at 10:44 AM, Michael Glassford wrote:

> When I try to build Python 2.4.3 on OSX 10.3.9, I get the following  
> error:
>
> """
> gcc -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
> -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I.
> -I./Include  -DPy_BUILD_CORE
> -DPYTHONPATH='":plat-darwin:plat-mac:plat-mac/lib- 
> scriptpackages:lib-tk"' \
>          -DPREFIX='"/usr/local"' \
>          -DEXEC_PREFIX='"/usr/local"' \
>          -DVERSION='"2.4"' \
>          -DVPATH='""' \
>          -o Modules/getpath.o ./Modules/getpath.c
> Modules/getpath.c: In function `calculate_path':
> Modules/getpath.c:385: `uint32_t' undeclared (first use in this  
> function)
> Modules/getpath.c:385: (Each undeclared identifier is reported only  
> once
> Modules/getpath.c:385: for each function it appears in.)
> Modules/getpath.c:385: parse error before "nsexeclength"
> Modules/getpath.c:409: `nsexeclength' undeclared (first use in this
> function)
> make: *** [Modules/getpath.o] Error 1
> """
>
> Does this mean that the configure process didn't work properly? That
> something's wrong with lib-tk? Something else?
>
> If it might be a lib-tk problem, is there a way to remove it from the
> installation, since I don't need it?

Sounds like you might not have the latest version of Xcode installed.  
Why are you building it yourself anyway?

-bob



More information about the Pythonmac-SIG mailing list