GNU bug report logs - #35322
AM_PATH_PYTHON incompatible with Python frameworks on macOS

Previous Next

Package: automake;

Reported by: Chih-Hsuan Yen <yan12125 <at> gmail.com>

Date: Fri, 19 Apr 2019 15:40:02 UTC

Severity: normal

Tags: confirmed, help

Done: Karl Berry <karl <at> freefriends.org>

Bug is archived. No further changes may be made.

Full log


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

From: Joshua Root <jmr <at> macports.org>
To: Karl Berry <karl <at> freefriends.org>
Cc: yan12125 <at> gmail.com, 35322 <at> debbugs.gnu.org
Subject: Re: bug#35322: AM_PATH_PYTHON incompatible with Python frameworks on
 macOS
Date: Sat, 27 Feb 2021 06:18:41 +1100
[Message part 1 (text/plain, inline)]
How about this? It bases the default values of PYTHON_PREFIX and 
PYTHON_EXEC_PREFIX on sys.prefix and sys.exec_prefix respectively, which 
the documentation has long said might happen. Behaviour should not 
change in the case that sys.prefix = $prefix. The variables can still be 
overridden; e.g. PYTHON_PREFIX is defined with reference to $prefix if 
the former is a subdir of (or the same as) the latter, and pythondir is 
defined with reference to $PYTHON_PREFIX.

There's also a fix for an apparent bug where $am_py_prefix was used 
instead of $am_py_exec_prefix when setting up the value of pyexecdir.

- Josh
[use-sys.prefix-for-PYTHON_PREFIX.patch (text/plain, attachment)]

This bug report was last modified 4 years and 57 days ago.

Previous Next


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