Build bugs in Python 2.2.1?

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


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

> Perhaps you should think about reporting this latter as a bug in setup?
> However you would be duplicating
> 
> 
> http://sourceforge.net/tracker/?group_id=5470&atid=105470&func=detail&aid=56
> 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
systems.]

Jonathan




More information about the Python-list mailing list