[Python-Dev] FYI: building on OS X
"Martin v. Löwis"
martin at v.loewis.de
Tue May 16 09:09:20 CEST 2006
Richard Jones wrote:
> I just built 2.5 SVN on my OS X 10.4 laptop. I ran into the missing
> sys/statvfs.h problem that has been reported here in the past. To
> solve the problem I needed to upgrade my XCode install from 1.1 to
> 2.2.1 - the missing header files (there was actually a whole lot of
> them) were then installed.
>
> I don't know whether this needs to be mentioned somewhere in the
> build docs.
I think adding a remark to the build docs is NOT the best solution.
Instead, it would be good if the problem was fixed.
Looking at earlier communication, it appears that configure detects
the presence of fstatvfs(), and posixmodule.c infers from that
that sys/statvfs.h must be present. This is apparently misleading,
as you can manage to install OSX so that the header files installed
don't match the system that is running.
I added some additional autoconf tests in 46010 and 46011;
unfortunately, I cannot test these changes as I don't have a system
where the build was broken.
Regards,
Martin
More information about the Python-Dev
mailing list