bug-pyconfigure
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-pyconfigure] Initial "Experiences"


From: Brandon Invergo
Subject: Re: [Bug-pyconfigure] Initial "Experiences"
Date: Sat, 17 Aug 2013 23:43:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

OK, I've just pushed a bunch of commits that address almost all of the
problems.  If I've declared anything as "fixed" and it's still affecting
you, please let me know.  You can clone the git repo to get the changes
via:

    git clone git://git.savannah.gnu.org/pyconfigure.git

> I eventually realise this is because the documentation at https:
> //www.gnu.org/software/pyconfigure/manual/html_node/index.html is for 
> pyconfigure 1.0, while the remaining
> documentation formats seem to be up-to-date.

Fixed

> $ pyconf PKG-INFO.in
> Running pyconfigure in /home/bavier/src/be
> Copying Python M4 macros
> Traceback (most recent call last):
>   File "/usr/local/bin/pyconf", line 281, in <module>
>     copy_macros(output)
>   File "/usr/local/bin/pyconf", line 130, in copy_macros
>     except FileExistsError:
> NameError: global name 'FileExistsError' is not defined

Fixed

> pyconf seems to not like the "folded field" encoding style for the
> PKG-INFO Description field.

Fixed

> Upon first running configure, I got
>
> ./configure: line 1696: syntax error near unexpected token `2.7,'
> ./configure: line 1696: `PC_INIT(2.7, 3.3.1)'
>
> This might not be related directly to pyconfigure, as it seems
> autoconf was just not finding the m4/python.m4 macro file.  Adding
> "m4_include([m4/python.m4])" seems to fix this, but I'm not sure why
> it was broken in the first place.

Still not sure about this one since it's working for me.  Again, the
AC_CONFIG_MACRO_DIR should handle this

> I can indeed set PYTHON=/usr/bin/python (Python 2.7), and things work
> fine, but it should work regardless since python3.3 on my system is
> Python 3.3.1 (which is certainly <= 3.3.1).

Fixed

> the unsightly line breaks after the python version checks.

Fixed

> I'm curious as to why the Python prefix is discovered to be "cat". 
> Seems suspicious to me.  I think the attached patch addresses the
> problem.

This is strange.  I wasn't able to replicate the problem.  I applied
your patch (thanks for that, btw).  Is it fixed now?  If it's not,
please tell me the output of "python-config --prefix" from the command
line and the value of sys.prefix in Python.

> That it indicates it's looking for python3.3 and found a python2
> interpreter that satisfies that search?   Better might be to just say
> "checking for python..."

Fixed

> I just thought I'd provide some feedback.

Thanks again for your input!  It was a huge help and it led to me fixing
a lot of problems (I improved a couple other things as well).  As soon
as we can get this problems related to AC_CONFIG_MACRO_DIR/m4_include
and your cat prefix worked out, I can push out a bugfix release.

-brandon

-- 
Brandon Invergo
http://brandon.invergo.net

Attachment: pgp9uewsRpr5k.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]