Closed keobox closed 10 years ago
Instead of autoconf
try autoreconf -i
Unfortunately it doesn't work.
autoreconf -V autoreconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille.
Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
autoreconf -i
Putting files in AC_CONFIG_AUX_DIR, config'. configure.ac: installing
config/install-sh'
configure.ac: installing config/missing' Makefile.am: C objects in subdir but
AM_PROG_CC_C_O' not in configure.ac' Makefile.am: installing
config/compile'
Makefile.am: installing `config/depcomp'
autoreconf: automake failed with exit status: 1
My automake version is:
automake --version automake (GNU automake) 1.9.6 Written by Tom Tromey tromey@redhat.com.
Copyright 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Please do a git pull
and git checkout hotfix_9
and test if the autoreconf -i
works!
"autoreconf -i" worked in hotfix_9. "configure --prefix /data/tacacs" worked. "make" worked too. "make install" didn't work, but I used the "--prefix" parameter, see above. But this is a minor issue since I was able to build pam_tacacs.so (Thanks!!).
rm /data/tacacs/lib/pam_tacplus.la
rm /data/tacacs/lib/pam_tacplus.a
rm /data/tacacs/lib/pam_tacplus.so
/usr/bin/install -c -d /data/tacacs/lib/security
/usr/bin/install -c -m 755 .libs/pam_tacplus.so /data/tacacs/lib/security
/usr/bin/install -c -d
/usr/bin/install: missing file operand
Try /usr/bin/install --help' for more information. make-3.79.1-p7[2]: *** [install-data-hook] Error 1 make-3.79.1-p7[2]: Leaving directory
/home/keobox/src/pam_tacplus'
make-3.79.1-p7[1]: * [install-data-am] Error 2
make-3.79.1-p7[1]: Leaving directory `/home/keobox/src/pam_tacplus'
make-3.79.1-p7: * [install-am] Error 2
Nice!
INSTALL text file instructions contain the typical "configure, make, make install" steps, but configure script is missing from release. I tried to invoke autoconf but it fails with the following message: configure.ac:19: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:29: error: possibly undefined macro: AM_PROG_LIBTOOL