public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC] python-config.py --ldflags should return relocated path to libpython
Date: Wed, 11 Aug 2010 19:48:00 -0000	[thread overview]
Message-ID: <20100811194736.GA10811@host1.dyn.jankratochvil.net> (raw)
In-Reply-To: <20100811193942.GC2834@adacore.com>

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

  reply	other threads:[~2010-08-11 19:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-08 22:25 Joel Brobecker
2010-07-08 23:04 ` Joel Brobecker
2010-07-28 17:23 ` Joel Brobecker
2010-08-05 18:25   ` Tom Tromey
2010-08-05 18:54 ` Jan Kratochvil
2010-08-11 19:08   ` Joel Brobecker
2010-08-11 19:10     ` Jan Kratochvil
2010-08-11 19:39       ` Joel Brobecker
2010-08-11 19:48         ` Jan Kratochvil [this message]
2010-08-16 14:50     ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100811194736.GA10811@host1.dyn.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).