Default python compile options

Marius Gedminas marius at pov.lt
Thu Sep 16 17:00:23 UTC 2010


On Tue, Sep 14, 2010 at 02:25:00PM -0700, James Matthews wrote:
> I am trying to compile Python 2.7 on Ubuntu and I am wondering what are the
> default compile options (i.e ./configure ..) for ubuntu. I just want the
> standard ones that are included with the python2.6 version on ubuntu. Can
> someone please shed some light?

You can find that out by doing

  apt-get source python2.6

and then looking at python2.6-2.6.5/debian/rules.

It appears to be

  ./configure \
           --enable-shared \
           --prefix=/usr \
           --enable-ipv6 \
           --enable-unicode=ucs4 \
           --with-system-ffi \
           --with-fpectl

Marius Gedminas
-- 
Did you know that 7/5 people don't know how to use fractions?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100916/753db71a/attachment.sig>


More information about the ubuntu-users mailing list