GNU bug report logs - #13170
automake and pyconfigure: a future integration? (was: Re: [PATCH] AM_PATH_PYTHON: try "python2" et al. first)

Previous Next

Package: automake;

Reported by: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Date: Thu, 13 Dec 2012 12:56:01 UTC

Severity: wishlist

Full log


Message #23 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kerrick Staley <mail <at> kerrickstaley.com>
To: Brandon Invergo <brandon <at> invergo.net>
Cc: bug-automake <at> gnu.org, Stefano Lattarini <stefano.lattarini <at> gmail.com>,
	Jack Kelly <jack <at> jackkelly.name>, automake-patches <at> gnu.org,
	bug-pyconfigure <at> gnu.org
Subject: Re: automake and pyconfigure: a future integration? (was: Re: [PATCH]
	AM_PATH_PYTHON: try "python2" et al. first)
Date: Thu, 13 Dec 2012 18:00:52 -0600
[Message part 1 (text/plain, inline)]
Quite a lengthy response for such a simple inquiry!

Really, I'd just like to get gobject-introspection to compile on Arch
Linux. The problem is that gobject-introspection's configure.ac has the line

AM_PATH_PYTHON([2.5])

but gobject-introspection can't actually work with Python 3 or higher (the
default on Arch); it needs Python 2. Automake doesn't seem to provide a way
to specify this need.

The problem could be fixed by changing AM_PATH_PYTHON could be changed to
prefer Python 2 over Python 3, as my patch does. However, I guess this
would cause packages that support both Python 2 and Python 3 to build
against Python 2 by default even if Python 3 is present.

Pyconfigure looks like the best way forward, then, but it's not widely
deployed at this point. AM_PATH_PYTHON could also just be tweaked to
support a "max version" argument. I'm passing PYTHON=/usr/bin/python2 to
autogen.sh for the time being.

- Kerrick
[Message part 2 (text/html, inline)]

This bug report was last modified 12 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.