[Pythonmac-SIG] building non-Framework Python 2.4.1 on Tiger
Gary Poster
gary at modernsongs.com
Wed May 4 20:15:27 CEST 2005
On May 4, 2005, at 12:19 PM, Bob Ippolito wrote:
>
> On May 4, 2005, at 11:15 AM, Gary Poster wrote:
>
>
>> Hi. I found Bob Ippolito's TigerPython24Fix but that's only for a
>> framework Python 2.4.1--I need to build a non-Framework Python 2.4.1
>> from source. I guess if I were zen-ful about Mac packages I'd be
>> able to figure out the necessary changes from the download...but I'm
>> not. Could anyone help me know what I need to change?
>>
>
> Building Python 2.4.1 *on* Tiger has no issues, because I fixed
> that before Python 2.4.1 was released.
>
> Python 2.4.1 built on Panther, and moved over to Tiger, *does* have
> issues, and that's what TigerPython24Fix takes care of (along with
> another issue that's only relevant to the framework installer
> package).
Thanks for the reply. Building 2.4.1 on Tiger has issues for me, at
least. Here is the problem I'm seeing. After running the following:
tar xvzf Python-2.4.1.tgz
cd Python-2.4.1
./configure --prefix=/Users/gary/tmp/
make
I then get this output from make:
...snip successful builds...
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-
madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -
DPy_BUILD_CORE -c ./Modules/posixmodule.c -o Modules/posixmodule.o
Modules/posixmodule.c: In function `posix_lchown':
Modules/posixmodule.c:1352: warning: implicit declaration of function
`lchown'
Modules/posixmodule.c:5998:25: sys/statvfs.h: No such file or directory
Modules/posixmodule.c: At top level:
Modules/posixmodule.c:6001: error: parameter `st' has incomplete type
Modules/posixmodule.c: In function `posix_fstatvfs':
Modules/posixmodule.c:6047: error: storage size of `st' isn't known
Modules/posixmodule.c:6052: warning: implicit declaration of function
`fstatvfs'Modules/posixmodule.c:6047: warning: unused variable `st'
Modules/posixmodule.c:6063:25: sys/statvfs.h: No such file or directory
Modules/posixmodule.c: In function `posix_statvfs':
Modules/posixmodule.c:6074: error: storage size of `st' isn't known
Modules/posixmodule.c:6078: warning: implicit declaration of function
`statvfs'
Modules/posixmodule.c:6074: warning: unused variable `st'
make: *** [Modules/posixmodule.o] Error 1
The same recipe didn't cause this problem on Panther/gcc 3.x
yesterday. Any ideas?
Thanks
Gary
More information about the Pythonmac-SIG
mailing list