kravietz / pam_tacplus

TACACS+ protocol client library and PAM module in C. This PAM module support authentication, authorization (account management) and accounting (session management)performed using TACACS+ protocol designed by Cisco.
GNU Lesser General Public License v3.0
132 stars 101 forks source link

configure script is missing. #9

Closed keobox closed 10 years ago

keobox commented 10 years ago

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

jeroennijhof commented 10 years ago

Instead of autoconf try autoreconf -i

keobox commented 10 years ago

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: installingconfig/install-sh' configure.ac: installing config/missing' Makefile.am: C objects in subdir butAM_PROG_CC_C_O' not in configure.ac' Makefile.am: installingconfig/compile' Makefile.am: installing `config/depcomp' autoreconf: automake failed with exit status: 1

keobox commented 10 years ago

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.

jeroennijhof commented 10 years ago

Please do a git pull and git checkout hotfix_9 and test if the autoreconf -i works!

keobox commented 10 years ago

"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

jeroennijhof commented 10 years ago

Nice!