Compile errors in Freeradius-1.1.1
I am currently trying to compile the new version of FreeRadius 1.1.1. I've used the same configure statement just like in 1.1.0 and for some reason I am receiving a few build errors. Please help. ~Alan ---- OS: Red Hat Enterprise v.3 (2.4.21-4.EL 32bit) Configure Statement: ./configure --prefix=/custom/freeradius-1.1.1 \ --without-rlm_x99_token \ --without-rlm_krb5 \ --without-rlm_sql_postgresql \ -without-rlm_sql_oracle After running "make install" the ls command shows a few weird symlinks in the install directory: [johnny5@sip][09:37:34 Tue Mar 28]-[/custom/freeradius-1.1.1] $ ls total 436 drwxr-xr-x 2 root root 4096 Mar 28 09:34 bin drwxr-xr-x 3 root root 4096 Mar 28 09:34 etc -rwxr-xr-x 1 root root 170033 Mar 28 09:36 libradius-1.1.1.so -rw-r--r-- 1 root root 233620 Mar 28 09:36 libradius.a -rwxr-xr-x 1 root root 749 Mar 28 09:36 libradius.la lrwxrwxrwx 1 root root 18 Mar 28 09:36 libradius.so -> libradius-1.1.1.so drwxr-xr-x 5 root root 4096 Mar 28 09:34 man drwxr-xr-x 2 root root 4096 Mar 28 09:34 sbin drwx------ 3 root root 4096 Mar 28 09:34 share drwxr-xr-x 4 root root 4096 Mar 28 09:34 var Output error after running "make install": [johnny5@sip][09:36:43 Tue Mar 28]-[~/freeradius-1.1.1] $ sudo make install /home/johnny5/freeradius-1.1.1/install-sh -c -d -m 755 /custom/freeradius-1.1.1/sbin /home/johnny5/freeradius-1.1.1/install-sh -c -d -m 755 /custom/freeradius-1.1.1/bin /home/johnny5/freeradius-1.1.1/install-sh -c -d -m 755 /custom/freeradius-1.1.1/etc/raddb /home/johnny5/freeradius-1.1.1/install-sh -c -d -m 755 /custom/freeradius-1.1.1/man /home/johnny5/freeradius-1.1.1/install-sh -c -d -m 755 /custom/freeradius-1.1.1/var/run/radiusd /home/johnny5/freeradius-1.1.1/install-sh -c -d -m 700 /custom/freeradius-1.1.1/var/log/radius /home/johnny5/freeradius-1.1.1/install-sh -c -d -m 700 /custom/freeradius-1.1.1/var/log/radius/radacct /home/johnny5/freeradius-1.1.1/install-sh -c -d -m 700 /custom/freeradius-1.1.1/share /home/johnny5/freeradius-1.1.1/install-sh -c -d -m 755 /custom/freeradius-1.1.1/share/freeradius for i in 1 5 8; do \ /home/johnny5/freeradius-1.1.1/install-sh -c -d -m 755 /custom/freeradius-1.1.1/man/man$i; \ for p in man/man$i/*.$i; do \ /home/johnny5/freeradius-1.1.1/install-sh -c -m 644 $p /custom/freeradius-1.1.1/man/man$i; \ done \ done gmake[1]: Entering directory `/home/johnny5/freeradius-1.1.1' Making install in src... gmake[2]: Entering directory `/home/johnny5/freeradius-1.1.1/src' gmake[3]: Entering directory `/home/johnny5/freeradius-1.1.1/src' Making install in include... gmake[4]: Entering directory `/home/johnny5/freeradius-1.1.1/src/include' gmake[4]: Nothing to be done for `install'. gmake[4]: Leaving directory `/home/johnny5/freeradius-1.1.1/src/include' Making install in lib... gmake[4]: Entering directory `/home/johnny5/freeradius-1.1.1/src/lib' /home/johnny5/freeradius-1.1.1/libtool --mode=install /home/johnny5/freeradius-1.1.1/install-sh -c -c libradius.la /custom/freeradius-1.1.1/lib /home/johnny5/freeradius-1.1.1/install-sh -c -c .libs/libradius-1.1.1.so /custom/freeradius-1.1.1/libradius-1.1.1.so (cd /custom/freeradius-1.1.1 && rm -f libradius.so && ln -s libradius-1.1.1.so libradius.so) /home/johnny5/freeradius-1.1.1/install-sh -c -c .libs/libradius.lai /custom/freeradius-1.1.1/libradius.la /home/johnny5/freeradius-1.1.1/install-sh -c -c .libs/libradius.a /custom/freeradius-1.1.1/libradius.a ranlib /custom/freeradius-1.1.1/libradius.a chmod 644 /custom/freeradius-1.1.1/libradius.a libtool: install: warning: remember to run `libtool --finish /custom/freeradius-1.1.1/lib' rm -f /custom/freeradius-1.1.1/lib/libradius-1.1.1.la; ln -s libradius.la /custom/freeradius-1.1.1/lib/libradius-1.1.1.la ln: creating symbolic link `/custom/freeradius-1.1.1/lib/libradius-1.1.1.la' to `libradius.la': No such file or directory gmake[4]: *** [install] Error 1 gmake[4]: Leaving directory `/home/johnny5/freeradius-1.1.1/src/lib' gmake[3]: *** [common] Error 2 gmake[3]: Leaving directory `/home/johnny5/freeradius-1.1.1/src' gmake[2]: *** [install] Error 2 gmake[2]: Leaving directory `/home/johnny5/freeradius-1.1.1/src' gmake[1]: *** [common] Error 2 make: *** [install] Error 2
Hi Alan, I am not sure if this is even remotely relevant but rlm_x99_token has been renamed to rlm_otp, I think. Try --without-rlm_otp and see if that helps. I've also been unable to compile FR 1.1.1 using the same parameters as I used in 1.1.0 but my problems appear to be similar to those with issues in libeap (not the same as yours). Rgds, Guy On 28/03/06, Alan <abaker@cliquecom.com> wrote:
I am currently trying to compile the new version of FreeRadius 1.1.1. I've used the same configure statement just like in 1.1.0 and for some reason I am receiving a few build errors. Please help.
~Alan
----
OS: Red Hat Enterprise v.3 (2.4.21-4.EL 32bit)
Configure Statement:
./configure --prefix=/custom/freeradius-1.1.1 \
--without-rlm_x99_token \
--without-rlm_krb5 \
--without-rlm_sql_postgresql \
-without-rlm_sql_oracle
After running "make install" the ls command shows a few weird symlinks in the install directory:
[johnny5@sip][09:37:34 Tue Mar 28]-[/custom/freeradius-1.1.1]
$ ls
total 436
drwxr-xr-x 2 root root 4096 Mar 28 09:34 bin
drwxr-xr-x 3 root root 4096 Mar 28 09:34 etc
-rwxr-xr-x 1 root root 170033 Mar 28 09:36 libradius-1.1.1.so
-rw-r--r-- 1 root root 233620 Mar 28 09:36 libradius.a
-rwxr-xr-x 1 root root 749 Mar 28 09:36 libradius.la
lrwxrwxrwx 1 root root 18 Mar 28 09:36 libradius.so -> libradius-1.1.1.so
drwxr-xr-x 5 root root 4096 Mar 28 09:34 man
drwxr-xr-x 2 root root 4096 Mar 28 09:34 sbin
drwx------ 3 root root 4096 Mar 28 09:34 share
drwxr-xr-x 4 root root 4096 Mar 28 09:34 var
Output error after running "make install":
[johnny5@sip][09:36:43 Tue Mar 28]-[~/freeradius-1.1.1]
$ sudo make install
/home/johnny5/freeradius-1.1.1/install-sh -c -d -m 755 /custom/freeradius-1.1.1/sbin
/home/johnny5/freeradius-1.1.1/install-sh -c -d -m 755 /custom/freeradius-1.1.1/bin
/home/johnny5/freeradius-1.1.1/install-sh -c -d -m 755 /custom/freeradius-1.1.1/etc/raddb
/home/johnny5/freeradius-1.1.1/install-sh -c -d -m 755 /custom/freeradius-1.1.1/man
/home/johnny5/freeradius-1.1.1/install-sh -c -d -m 755 /custom/freeradius-1.1.1/var/run/radiusd
/home/johnny5/freeradius-1.1.1/install-sh -c -d -m 700 /custom/freeradius-1.1.1/var/log/radius
/home/johnny5/freeradius-1.1.1/install-sh -c -d -m 700 /custom/freeradius-1.1.1/var/log/radius/radacct
/home/johnny5/freeradius-1.1.1/install-sh -c -d -m 700 /custom/freeradius-1.1.1/share
/home/johnny5/freeradius-1.1.1/install-sh -c -d -m 755 /custom/freeradius-1.1.1/share/freeradius
for i in 1 5 8; do \
/home/johnny5/freeradius-1.1.1/install-sh -c -d -m 755 /custom/freeradius-1.1.1/man/man$i; \
for p in man/man$i/*.$i; do \
/home/johnny5/freeradius-1.1.1/install-sh -c -m 644 $p /custom/freeradius-1.1.1/man/man$i; \
done \
done
gmake[1]: Entering directory `/home/johnny5/freeradius-1.1.1'
Making install in src...
gmake[2]: Entering directory `/home/johnny5/freeradius-1.1.1/src'
gmake[3]: Entering directory `/home/johnny5/freeradius-1.1.1/src'
Making install in include...
gmake[4]: Entering directory `/home/johnny5/freeradius-1.1.1/src/include'
gmake[4]: Nothing to be done for `install'.
gmake[4]: Leaving directory `/home/johnny5/freeradius-1.1.1/src/include'
Making install in lib...
gmake[4]: Entering directory `/home/johnny5/freeradius-1.1.1/src/lib'
/home/johnny5/freeradius-1.1.1/libtool --mode=install /home/johnny5/freeradius-1.1.1/install-sh -c -c libradius.la /custom/freeradius-1.1.1/lib
/home/johnny5/freeradius-1.1.1/install-sh -c -c .libs/libradius-1.1.1.so /custom/freeradius-1.1.1/libradius-1.1.1.so
(cd /custom/freeradius-1.1.1 && rm -f libradius.so && ln -s libradius-1.1.1.so libradius.so)
/home/johnny5/freeradius-1.1.1/install-sh -c -c .libs/libradius.lai /custom/freeradius-1.1.1/libradius.la
/home/johnny5/freeradius-1.1.1/install-sh -c -c .libs/libradius.a /custom/freeradius-1.1.1/libradius.a
ranlib /custom/freeradius-1.1.1/libradius.a
chmod 644 /custom/freeradius-1.1.1/libradius.a
libtool: install: warning: remember to run `libtool --finish /custom/freeradius-1.1.1/lib'
rm -f /custom/freeradius-1.1.1/lib/libradius-1.1.1.la;
ln -s libradius.la /custom/freeradius-1.1.1/lib/libradius-1.1.1.la
ln: creating symbolic link `/custom/freeradius-1.1.1/lib/libradius-1.1.1.la' to `libradius.la': No such file or directory
gmake[4]: *** [install] Error 1
gmake[4]: Leaving directory `/home/johnny5/freeradius-1.1.1/src/lib'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/home/johnny5/freeradius-1.1.1/src'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory `/home/johnny5/freeradius-1.1.1/src'
gmake[1]: *** [common] Error 2
make: *** [install] Error 2 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
"Alan" <abaker@cliquecom.com> wrote:
I am currently trying to compile the new version of FreeRadius 1.1.1. I've used the same configure statement just like in 1.1.0 and for some reason I am receiving a few build errors. Please help.
It's a bug in the Makefile, discussed here in the past week, and listed as a bug on bugs.freeradius.org. It will be fixed in 1.1.2. Alan DeKok.
Alan Baker wrote:
I am currently trying to compile the new version of FreeRadius 1.1.1. I've used the same configure statement just like in 1.1.0 and for some reason I am receiving a few build errors. Please help.
Please no HTML to the list.
/home/johnny5/freeradius-1.1.1/libtool --mode=install /home/johnny5/freeradius-1.1.1/install-sh -c -c libradius.la /custom/freeradius-1.1.1/lib
For reasons unknown to me "libtool --install" has the correct destination directory in argument but it results in the following command (which is wrong) when the directory doesn't exist already.
/home/johnny5/freeradius-1.1.1/install-sh -c -c .libs/libradius-1.1.1.so /custom/freeradius-1.1.1/libradius-1.1.1.so
You can get a patch to work around this in the mailing list archive or checkout the branch_1_1 of the CVS. -- Nicolas Baradakis
participants (4)
-
Alan -
Alan DeKok -
Guy Davies -
Nicolas Baradakis