Red Hat Bugzilla – Bug 428444
requirement script doesn't report that pam needs libtool
Last modified: 2008-01-14 05:42:22 EST
Description of problem:
$ cvs co pam
$ make sources
$ make prep
Patch #46 (pam-0.99.8.1-succif-in-operator.patch):
+ patch -p1 -b --suffix .in-operator -s
+ echo 'Patch #47 (pam-0.99.8.1-xauth-no-free.patch):'
Patch #47 (pam-0.99.8.1-xauth-no-free.patch):
+ patch -p1 -b --suffix .no-free -s
configure.in:58: error: possibly undefined macro: AC_ENABLE_STATIC
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:59: error: possibly undefined macro: AC_ENABLE_SHARED
configure.in:75: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1
error: Bad exit status from /var/tmp/rpm-tmp.60730 (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.60730 (%prep)
make: *** [prep] Error 1
Version-Release number of selected component (if applicable):
$ cat pam.spec
The make prep command unfortunately doesn't evaluate BuildRequires. If you'd
built the rpm through rpmbuild -bb pam.spec you'd see that libtool is required.