On Sat, 2011-01-01 at 12:22 -0800, Toshio Kuratomi wrote: > On Fri, Dec 31, 2010 at 05:38:30PM +0200, Jonathan Dieter wrote: > > I now seem to be running into some problems building deltarpm for > > Rawhide and it seems to be tied into this. See > > http://koji.fedoraproject.org/koji/buildinfo?buildID=212117 for more > > details. > > Which is happening because the module is being installed to > %{_libdir}/python3.2mu/site-packages > > So, yes, the Makefiles need to be changed. The way they're detecting which > versions of python to build for are a bit hacky and definitely broken in > this instance. > > I would instead code something that uses the python interpreter or config > scripts to tell what needs to be done. > > You can adapt code like this to your needs: > > for PY in python python3 ; do > PYLIB=`$PY -c 'from distutils import sysconfig ; print(sysconfig.get_python_lib(1))'` > PYVER=`$PY -c 'from distutils import sysconfig ; print(sysconfig.get_python_version)'` > PYCFLAGS=`$PY-config --cflags` > PYLDFLAGS=`$PY-config --ldflags` > done Thanks much. I had missed the fact that the file was being installed in a different directory. This is a great help. Jonathan
Attachment:
signature.asc
Description: This is a digitally signed message part
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel