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 102 forks source link

pam_tacplus 1.4.1 /auto.sh issue ? #116

Closed prsouren closed 6 years ago

prsouren commented 6 years ago

Hi , i just got the RHEL7.2 VM delivered and trying to install the PAM-tacplus module I run into the following

[root@jump01 pam_tacplus-master]# ./auto.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I config
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
**Makefile.am:26: error: Libtool library used but 'LIBTOOL' is undefined**
Makefile.am:26:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:26:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:26:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:26:   its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1
[root@jump01 pam_tacplus-master]# 

the option to add 'LT_INIT' to 'configure.ac' is present in file "configure.ac"

....
dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
**LT_INIT([disable-static])**
AM_PROG_CC_C_O
....

What should be the correct value then ?

pprindeville commented 6 years ago

Some of the errors/warnings can be a little misleading. And you have libtool installed?

prsouren commented 6 years ago

yes that was the issue, libtools where missing but now I had it installed and the installation of the tacplus package is completely done. Thanks