S
smurphus
Hi All-
I'm trying to build Python 2.4.2 on OSX 10.4.3 (gcc ver. 3.3 apple
build 1495) and have the following error when running 'make':
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:1353: warning: implicit declaration of function
`lchown'
Modules/posixmodule.c:5999:25: sys/statvfs.h: No such file or directory
Modules/posixmodule.c: At top level:
Modules/posixmodule.c:6002: error: parameter `st' has incomplete type
Modules/posixmodule.c: In function `posix_fstatvfs':
Modules/posixmodule.c:6048: error: storage size of `st' isn't known
Modules/posixmodule.c:6053: warning: implicit declaration of function
`fstatvfs'
Modules/posixmodule.c:6048: warning: unused variable `st'
Modules/posixmodule.c:6064:25: sys/statvfs.h: No such file or directory
Modules/posixmodule.c: In function `posix_statvfs':
Modules/posixmodule.c:6075: error: storage size of `st' isn't known
Modules/posixmodule.c:6079: warning: implicit declaration of function
`statvfs'
Modules/posixmodule.c:6075: warning: unused variable `st'
make: *** [Modules/posixmodule.o] Error 1
'make clean' hasn't helped, and I ran configure with
'--disable-toolbox-glue'.
I need to build it from source because I have a program with a long
running worker thread that I think will benefit from using Evan Jones'
memory management patch (http://evanjones.ca/python-memory-part2.html).
Note that I haven't applied the diff yet; this is just the reason I
need to build from source.
Couldn't find anything on this in the group already, or the main Python
site, or in any of the docs with the distribution.
Any suggestions on how I can remedy this?
I'm trying to build Python 2.4.2 on OSX 10.4.3 (gcc ver. 3.3 apple
build 1495) and have the following error when running 'make':
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:1353: warning: implicit declaration of function
`lchown'
Modules/posixmodule.c:5999:25: sys/statvfs.h: No such file or directory
Modules/posixmodule.c: At top level:
Modules/posixmodule.c:6002: error: parameter `st' has incomplete type
Modules/posixmodule.c: In function `posix_fstatvfs':
Modules/posixmodule.c:6048: error: storage size of `st' isn't known
Modules/posixmodule.c:6053: warning: implicit declaration of function
`fstatvfs'
Modules/posixmodule.c:6048: warning: unused variable `st'
Modules/posixmodule.c:6064:25: sys/statvfs.h: No such file or directory
Modules/posixmodule.c: In function `posix_statvfs':
Modules/posixmodule.c:6075: error: storage size of `st' isn't known
Modules/posixmodule.c:6079: warning: implicit declaration of function
`statvfs'
Modules/posixmodule.c:6075: warning: unused variable `st'
make: *** [Modules/posixmodule.o] Error 1
'make clean' hasn't helped, and I ran configure with
'--disable-toolbox-glue'.
I need to build it from source because I have a program with a long
running worker thread that I think will benefit from using Evan Jones'
memory management patch (http://evanjones.ca/python-memory-part2.html).
Note that I haven't applied the diff yet; this is just the reason I
need to build from source.
Couldn't find anything on this in the group already, or the main Python
site, or in any of the docs with the distribution.
Any suggestions on how I can remedy this?