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? :,) > [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. > > 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. > > > Could this somehow be fixed? > > > > But, where should this be fixed? Cygwin Python's shared extension > > support hasn't changed in a long time. I'm afraid I'll break someone's > > build, if I move libpython2.4.dll.a to another directory. > > Maybe not moving it, but doing like in Linux: providing it in /usr/lib > too? I'm willing to symlink or copy libpython2.4.dll.a to /usr/lib, if it is determined to be the best solution. Would you be willing to do the leg work? Thanks, 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 Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/