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 #37 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, 13 Mar 2021 22:21:01 +1100
[Message part 1 (text/plain, inline)]
On 2021-3-3 10:54 , Karl Berry wrote:
>      I wonder if it might also make sense to offer a configure option to set
>      PYTHON_PREFIX?
> 
> I think that would be great (--pythondir, --pythonexecdir or some
> such). Would you mind looking into that? I've never played around with
> the options Automake adds and have unfortunately limited time to
> research the code. But I will eventually if needed.

OK, here's a patch to add --with-python_prefix and 
--with-python_exec_prefix options. It applies on top of my previous patch.

Note that the paths given to these options aren't edited to use the 
${prefix} and ${exec_prefix} variables when they are subdirs thereof, 
since I figure if you set a specific value with these options you really 
mean it. Note also that if --with-python_prefix is given but 
--with-python_exec_prefix is not, PYTHON_EXEC_PREFIX takes the value 
that was given to --with-python_prefix. I think this is more convenient 
on the whole, since setting a custom PYTHON_PREFIX but wanting to keep 
the automatically determined value of PYTHON_EXEC_PREFIX seems like it 
would be a pretty rare scenario.

- Josh
[add-with-python_prefix-option.patch (text/plain, attachment)]

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

Previous Next


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