The latest download of PythonMagick fails to configure with:
checking for a Python interpreter with version >= 3.1... none
configure: error: no suitable Python interpreter found
Does it really require a version of Python at least 3.1?
PythonMagick fails to configure
-
- Posts: 1
- Joined: 2011-08-07T03:36:51-07:00
- Authentication code: 8675308
Re: PythonMagick fails to configure
same problem here on a machine with debian testing, i can't install last version of pythonmagick.
Re: PythonMagick fails to configure
Seeing the same issue here - the message:
We do have installs of Python 2.6 and 3.2 (though would prefer to stick with 2.6 for the moment). We're experimenting with various incantations of The PYTHON env variable on the configure line.
Am also beginning to look into the configure script itself, but would rather not fiddle with someone else's work - and I'd probably do more damage than good! It does look like the script is designed to accommodate both major versions of Python, but I'm not the guy to fix it...
Can someone help, please? Lou
Code: Select all
checking for a Python interpreter with version >= 3.1... none
We do have installs of Python 2.6 and 3.2 (though would prefer to stick with 2.6 for the moment). We're experimenting with various incantations of The PYTHON env variable on the configure line.
Am also beginning to look into the configure script itself, but would rather not fiddle with someone else's work - and I'd probably do more damage than good! It does look like the script is designed to accommodate both major versions of Python, but I'm not the guy to fix it...
Can someone help, please? Lou
Re: PythonMagick fails to configure
We tried PythonMagick with both Python 2.6 (CentOS) and 2.7 (Fedora) and it compiled and installed without complaint. We're not sure why its failing for you.
Re: PythonMagick fails to configure
Have you tried the patches carried by Gentoo:
http://sources.gentoo.org/cgi-bin/viewv ... iew=markup
http://sources.gentoo.org/cgi-bin/viewv ... iew=markup
http://sources.gentoo.org/cgi-bin/viewv ... iew=markup
http://sources.gentoo.org/cgi-bin/viewv ... iew=markup
Re: PythonMagick fails to configure
Looks like there are a couple of other fixes used too:
Code: Select all
sed -e "s/AM_PATH_PYTHON(3.1)/AM_PATH_PYTHON(2.6)/" -i configure.ac
sed -e "s/import _PythonMagick/from . import _PythonMagick/" -i PythonMagick/__init__.py