compile error with option --with-system-libtool
Dear developers, while building a deb package on lenny(sparc) with the debian/rules file included in the 2.1.4 tarball compilation fails due to some libtools issues, see output below. After removing the --with-system-libtool from the configure options in debian/rules the package was build sucessfull. I'm not familiar with libtool, but a path of ./libtools looks somehow wrong. Thanks, Hermann --------------------------------------- Making all in rlm_acctlog... make[7]: Entering directory `/home/hlauer/tmp/freeradius-server-2.1.4/src/modules/rlm_acctlog' ./libtool --mode=compile gcc -Wall -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef -I/home/hlauer/tmp/freeradius-server-2.1.4/src -I/home/hlauer/tmp/freeradius-server-2.1.4/libltdl -c rlm_acctlog.c make[7]: ./libtool: Command not found make[7]: *** [rlm_acctlog.lo] Error 127 make[7]: Leaving directory `/home/hlauer/tmp/freeradius-server-2.1.4/src/modules/rlm_acctlog' make[6]: *** [common] Error 2 make[6]: Leaving directory `/home/hlauer/tmp/freeradius-server-2.1.4/src/modules' make[5]: *** [all] Error 2 make[5]: Leaving directory `/home/hlauer/tmp/freeradius-server-2.1.4/src/modules' make[4]: *** [common] Error 2 make[4]: Leaving directory `/home/hlauer/tmp/freeradius-server-2.1.4/src' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/hlauer/tmp/freeradius-server-2.1.4/src' make[2]: *** [common] Error 2 make[2]: Leaving directory `/home/hlauer/tmp/freeradius-server-2.1.4' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/hlauer/tmp/freeradius-server-2.1.4' make: *** [build-arch-stamp] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 -- Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg IWR; INF 368; 69120 Heidelberg; Tel: (06221)54-8236 Fax: -5224 Email: Hermann.Lauer@iwr.uni-heidelberg.de
Hermann Lauer wrote:
After removing the --with-system-libtool from the configure options in debian/rules the package was build sucessfull.
I'm not familiar with libtool, but a path of ./libtools looks somehow wrong.
It's likely because you have "." in your PATH. And, you probably have it BEFORE the default directory where the system libtool is stored. The solution is to not put "." in PATH, which is always a good idea. If you have to use it, make sure it is LAST. Alan DeKok.
participants (2)
-
Alan DeKok -
Hermann Lauer