Build bugs in Python 2.2.1?

Jonathan Hogg jonathan at
Fri Aug 9 20:56:30 CEST 2002

On 9/8/2002 18:33, in article
L1T49.317830$724.165013 at, "Steve Holden"
<sholden at> wrote:

> Perhaps you should think about reporting this latter as a bug in setup?
> However you would be duplicating
> 7605
> to which Martin Loewis gave essentially the same reply as he gave you.

I think I'd definitely second reporting the /usr/local thing as being a bug.
There is an argument for adding 'prefix' to the searchpath (which will often
be /usr/local anyway), but not /usr/local explicitly.

As noted by Skip in the previous bug report, there is also an argument for
allowing multiple directories in INCLUDEDIR and LIBDIR.

I'd actually vote for slurping in the LDFLAGS and CFLAGS variables and
parsing them for the '-L' and '-I' directories instead (and, of course,
passing the original variables onto the compiler afterwards). This would
allow the build to play along much better with existing build systems.

It's a pain in the arse to have to patch the build of a program to get it to
fit in with the rest of your system.

[And yes, changing Modules/Setup does represent a patch for many build


More information about the Python-list mailing list