This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [RFC] python-config.py --ldflags should return relocated path to libpython


On Wed, 11 Aug 2010 21:39:42 +0200, Joel Brobecker wrote:
> > On Fedora 64-bit libraries are in /usr/lib64 (and /lib64 etc.).
> 
> What does your Python return for the following:
> 
>         from distutils import sysconfig
>         sysconfig.get_python_lib()
> 
> ?

Python 2.7 (r27:82500, Jul 26 2010, 18:19:48) 
[GCC 4.5.0 20100716 (Red Hat 4.5.0-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from distutils import sysconfig
>>> sysconfig.get_python_lib()
'/usr/lib/python2.7/site-packages'
>>> 


> Can you also dig out the command use to configure Python when you build
> it for Fedora?

Build log is here:
	http://kojipkgs.fedoraproject.org/packages/python/2.7/7.fc14/data/logs/x86_64/build.log
->
	/builddir/build/BUILD/Python-2.7/configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-ipv6 --enable-unicode=ucs4 --enable-shared --with-system-ffi --with-valgrind --with-dtrace --with-tapset-install-dir=/usr/share/systemtap/tapset --with-system-expat --with-pydebug --with-tsc --with-count-allocs --with-call-profile

General build info:
	https://koji.fedoraproject.org/koji/buildinfo?buildID=186555


Thanks,
Jan


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