X-Spam-Check-By: sourceware.org
Date: Tue, 13 Mar 2007 00:27:07 +0100
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: cygwin@cygwin.com
Subject: Re: python & development
Message-ID: <20070312232707.GL4019@interface.famille.thibault.fr>
Mail-Followup-To: cygwin@cygwin.com
References: <20070312005446.GG3707@interface.famille.thibault.fr> <20070312131932.GA1272@tishler.net> <20070312134015.GG3559@implementation.labri.fr> <20070312154601.GA1052@tishler.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20070312154601.GA1052@tishler.net>
User-Agent: Mutt/1.5.12-2006-07-14
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Jason Tishler, le Mon 12 Mar 2007 10:46:01 -0500, a écrit :
> On Mon, Mar 12, 2007 at 02:40:15PM +0100, Samuel Thibault wrote:
> > Jason Tishler, le Mon 12 Mar 2007 08:19:32 -0500, a ?crit :
> > > On Mon, Mar 12, 2007 at 01:54:46AM +0100, Samuel Thibault wrote:
> > > > I'd need to use pyrexc for building python bindings, is there any
> > > > plans for including it in the cygwin distribution?  (the upstream
> > > > tgz currently installs just fine).
> > > 
> > > Would you like to contribute this package?
> > 
> > Why not, but maybe it's easier to have the same person manage related
> > packages?
> 
> Easier for who? :,)

Ok, I've just sent the ITP.

> > [snip]
> > 
> > So maybe the ac_python_devel.m4 file is just buggy actually:
> > 
> > 		PYTHON_LDFLAGS=`$PYTHON -c "from distutils.sysconfig import *; \
> > 			from string import join; \
> > 			print '-L' + get_python_lib(0,1), \
> > 		      	'-lpython';"`$py_version
> > 
> > Maybe it should append config/ to get_python_lib(0,1) ?
> 
> That would fix the problem for Cygwin.  Unfortunately, I don't know how
> it will affect all the other platforms.

It makes at least Linux work better.  I've reported the bug in the
debian bts, I'll forward it to the authors of the file.

> > > AFAICT, Distutils sets gcc's -L correctly under Cygwin.
> > 
> > Mmm, how?  This didn't work for me.
> 
> The normal "python setup.py" has always worked for me.

Ah, yes, but it seems to usually just _not_ use -lpython2.4 actually.

Samuel

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

