This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem compiling Numeric-23.0 with latest python-2.2.2-6


On Tue, Mar 11, 2003 at 01:29:40AM +0100, Dr. Volker Zell wrote:
> >>>>> "Jason" == Jason Tishler <jason at tishler dot net> writes:
>     Jason> Sorry, until others have this problem, you will have to
>     Jason> debug this yourself.
> OK I found it.
> >From /lib/python2.2/distutils/command/
>         # for extensions under Cygwin Python's library directory must be
>         # appended to library_dirs
>         if sys.platform[:6] == 'cygwin':
>             if string.find(sys.executable, sys.exec_prefix) != -1:
>                 # building third party extensions
>                 self.library_dirs.append(os.path.join(sys.prefix, "lib", "python" + sys.version[:3], "config"))
>             else:
>                 # building python standard extensions
>                 self.library_dirs.append('.')

The above code was submitted to Python's SF patch collector on

and was committed to Python CVS on 2001-Jan-24:

On 2002-Jun-11, the AtheOS port began to leverage it:

> If somebody has /bin in front of /usr/bin in his or her PATH, third
> party extensions will fail to build properly when just calling python
> build.

AFAICT, you are the only one to notice this issue in over two years.  If
you feel strongly about the above, then I recommend you submit a patch
to Python's SF patch collector to change to the behavior to be more to
your liking.


PGP/GPG Key: or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]