delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/12/12:43:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 12 Mar 2003 12:51:48 -0500
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: Problem compiling Numeric-23.0 with latest python-2.2.2-6
In-reply-to: <87heaa21aj.fsf@vzell-de.de.oracle.com>
To: cygwin AT cygwin DOT com
Mail-followup-to: cygwin AT cygwin DOT com
Message-id: <20030312175148.GE1532@tishler.net>
MIME-version: 1.0
User-Agent: Mutt/1.4i
References: <3E6B2B1A DOT 2020606 AT oracle DOT com> <20030309134515 DOT GB1232 AT tishler DOT net>
<87k7f84odg DOT fsf AT vzell-de DOT de DOT oracle DOT com> <20030310150526 DOT GF2112 AT tishler DOT net>
<87heaa21aj DOT fsf AT vzell-de DOT de DOT oracle DOT com>

Volker,

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/build_ext.py:
> 
>         # 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
2001-Jan-19:

    http://mail.python.org/pipermail/patches/2001-January/003581.html

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

    http://sf.net/tracker/?group_id=5470&atid=305470&func=detail&aid=402409

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

    http://sf.net/tracker/?func=detail&atid=305470&aid=488073&group_id=5470

> 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
> setup.py 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.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019