Red Hat Bugzilla – Bug 154096
libuser's ./configure doesn't detect python version
Last modified: 2007-11-30 17:11:03 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050331 Firefox/1.0.2
Description of problem:
I'm trying to get libuser running on Gentoo Linux, and it seems that the configure script hardcodes the python version to 2.2. I am using python-2.3, and this causes compilation to fail because it can't find the python headers, because its in /usr/include/python2.3, not /usr/include/python2.2, as it assumes.
I also can't seem to find any homepage for libuser, or a place to download it in any format other than RPMs or SRPMS...
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have python-2.3 installed
2. Run ./configure
4. watch make fail
Actual Results: Make fails due to a missing header file. It attempts to find it in /usr/include/python-2.2, whichh doesn't exist when python-2.3 is installed.
I apparently had overlooked the --with-python-version flag for ./configure.
Regardless, it would seem like something configure should be able to detect
libuser is available via anonymous cvs at
:pserver:email@example.com/usr/local/CVS, module "libuser";
there are no separate tarball releases currently.
Python autodetection added in libuser-0.53.5-1. Thanks for your report.