Make Install Errot : FreeRadius V 2.1.1 on Suse
Dear Alan,Ivan and all, I have compiled FreeRadius V 2.1.1 on SLES 10 SP2 .And after config and make steps when I tried the 'make Install' to install the binaries. I got an libtool error and Installation stopped. Please help in this regard. SYED pc1138:/usr/src/packages/BUILD/freeradius-server-2.1.1 #* make install* gmake[1]: Entering directory `/usr/src/packages/BUILD/freeradius-server-2.1.1' Making install in src... gmake[2]: Entering directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src' gmake[3]: Entering directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src' Making install in include... gmake[4]: Entering directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/include' /usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 755 /usr/local/include/freeradius for i in hash.h libradius.h md4.h md5.h missing.h packet.h radius.h radpaths.h sha1.h token.h udpfromto.h vqp.h ident.h ; do \ sed 's/^#include <freeradius-devel/#include <freeradius/' $i > .inst.$$ ; \ /usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -m 644 .inst.$$ /usr/local/include/freeradius/$i; \ rm -f .inst.$$ ; \ done gmake[4]: Leaving directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/include' Making install in lib... gmake[4]: Entering directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/lib' /usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 755 /usr/local/lib /usr/src/packages/BUILD/freeradius-server-2.1.1/libtool --mode=install /usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -c libfreeradius-radius.la \ /usr/local/lib/libfreeradius-radius.la /usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -c .libs/ libfreeradius-radius-2.1.1.so /usr/local/lib/libfreeradius-radius-2.1.1.so (cd /usr/local/lib && { ln -s -f libfreeradius-radius-2.1.1.solibfreeradius-radius.so || { rm -f libfreeradius-radius.so && ln -s libfreeradius-radius-2.1.1.so libfreeradius-radius.so; }; }) /usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -c .libs/libfreeradius-radius.lai /usr/local/lib/libfreeradius-radius.la /usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -c .libs/libfreeradius-radius.a /usr/local/lib/libfreeradius-radius.a chmod 644 /usr/local/lib/libfreeradius-radius.a ranlib /usr/local/lib/libfreeradius-radius.a PATH="$PATH:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- rm -f /usr/local/lib/libfreeradius-radius-2.1.1.la; ln -s libfreeradius-radius.la /usr/local/lib/libfreeradius-radius-2.1.1.la gmake[4]: Leaving directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/lib' Making install in modules... gmake[4]: Entering directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules' /usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 755 /usr/local/lib gmake[5]: Entering directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules' Making install in rlm_acctlog... gmake[6]: Entering directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules/rlm_acctlog' if [ "xrlm_acctlog" != "x" ]; then \ /usr/src/packages/BUILD/freeradius-server-2.1.1/libtool --mode=install /usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -c \ rlm_acctlog.la /usr/local/lib/rlm_acctlog.la || exit $?; \ rm -f /usr/local/lib/rlm_acctlog-2.1.1.la; \ ln -s rlm_acctlog.la /usr/local/lib/rlm_acctlog-2.1.1.la || exit $?; \ fi li*btool: install: error: cannot install `rlm_acctlog.la' to a directory not ending in /usr/lib/freeradius gmake[6]: *** [install] Error 1 gmake[6]: Leaving directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules/rlm_acctlog' gmake[5]: *** [common] Error 2 gmake[5]: Leaving directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules' gmake[4]: *** [install] Error 2 gmake[4]: Leaving directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules' gmake[3]: *** [common] Error 2 gmake[3]: Leaving directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src' gmake[2]: *** [install] Error 2 gmake[2]: Leaving directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src' gmake[1]: *** [common] Error 2 gmake[1]: Leaving directory `/usr/src/packages/BUILD/freeradius-server-2.1.1' make: *** [install] Error 2 *
Syed Anwarul Hasan wrote:
I have compiled FreeRadius V 2.1.1 on SLES 10 SP2 .And after config and make steps when I tried the 'make Install' to install the binaries. I got an libtool error and Installation stopped. ... libtool: install: error: cannot install rlm_acctlog.la to a directory not ending in /usr/lib/freeradius
Libtool is insane. I have *no* idea why it does that. It's annoying, and I don't know of any real way to fix it. The only work-around is to install all of the files in /usr... rather than somewhere else. Alan DeKok.
Hi Alan, I tried by the Prefix option --prefix =/usr in Configure step to Install files in /usr rather than /usr/local which is default. *Still, I got the same error*. And to inform you, when I build the freeradius rpm package from freeradius.spec file. I have removed the autoreconf line to avoid RPM errors as I described yesterday in the post. Please help me in this regard. SYED On Fri, Oct 3, 2008 at 12:02 PM, Alan DeKok <aland@deployingradius.com>wrote:
Syed Anwarul Hasan wrote:
I have compiled FreeRadius V 2.1.1 on SLES 10 SP2 .And after config and make steps when I tried the 'make Install' to install the binaries. I got an libtool error and Installation stopped. ... libtool: install: error: cannot install rlm_acctlog.la to a directory not ending in /usr/lib/freeradius
Libtool is insane. I have *no* idea why it does that. It's annoying, and I don't know of any real way to fix it.
The only work-around is to install all of the files in /usr... rather than somewhere else.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Syed Anwarul Hasan wrote:
*Still, I got the same error*. And to inform you, when I build the freeradius rpm package from freeradius.spec file. I have removed the autoreconf line to avoid RPM errors as I described yesterday in the post.
Blame libtool. I have no idea why it has that error. Ask the libtool people why their software is broken. Alan DeKok.
participants (2)
-
Alan DeKok -
Syed Anwarul Hasan