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

debian/rules binary fails with error #1

Closed walterdejong closed 11 years ago

walterdejong commented 11 years ago

Do a clean "git clone" and try to build a package:

~/sw/pam_tacplus $ fakeroot debian/rules binary
dh  binary
   dh_testdir
   debian/rules override_dh_auto_configure
make[1]: Entering directory `/home/walter/sw/pam_tacplus'
dh_auto_configure -- --libdir=/lib --docdir=/usr/share/doc/libpam-tacplus
make[1]: Leaving directory `/home/walter/sw/pam_tacplus'
   dh_auto_build
   dh_auto_test
   dh_testroot
   dh_prep
   dh_installdirs
   dh_auto_install
   debian/rules override_dh_install
make[1]: Entering directory `/home/walter/sw/pam_tacplus'
mkdir debian/libpam-tacplus/usr/share/pam-configs
mkdir: cannot create directory `debian/libpam-tacplus/usr/share/pam-configs': No such file or directory
make[1]: *** [override_dh_install] Error 1
make[1]: Leaving directory `/home/walter/sw/pam_tacplus'
make: *** [binary] Error 2

Note that you will succeed in building the package after doing the libtoolize,aclocal,autoconf,autoheader,automake,configure dance. But debian/rules was supposed to make that easy.

jeroennijhof commented 11 years ago

This issue has been fixed in commit: 725c39dbb5b1615c4b80c886383f9fb975fbe631