Fwd: Help for Jradius and Frreradius

lisa laam laam.lisa at gmail.com
Tue Jun 12 10:28:50 CEST 2007


---------- Forwarded message ----------
From: lisa laam <laam.lisa at gmail.com>
Date: 11 juin 2007 12:53
Subject: Help for Jradius and Frreradius
To: freeradius-users at lists.freeradius.org

Hi all,

t rried to install jradius patch for freeradius. I can't use the root
account so i installed radius in another directory. (note I'm newbie to
Freeradius)

1- first i used freeradius-1.1.3.tar.gz with freeradius-1.1.2.patch. i got
no error but the installation dosn't succeed. all the directory are empty
bin,  sbin, etc, ..

2-secondly i used freeradius-1.1.6.tar.gz with freeradius-1.1.5.patch and
here are the errors i got

here the commands i used for installation :

tar xzf freeradius-1.1.6.tar.gz
cd freeradius-1.1.6

#I install the the freeradius-1.1.5.patch

wget http://jradius.cvs.sourceforge.net/*che ...
.1.5.patch<http://jradius.cvs.sourceforge.net/*checkout*/jradius/jradius/freeradius/patch/freeradius-1.1.2.patch>
patch -p1 < freeradius-1.1.5.patch

# whene i patch the files i got this failed :

patching file raddb/jradius.conf
patching file raddb/Makefile
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED -- saving rejects to file raddb/Makefile.rej
patching file raddb/radiusd.conf.in
patching file raddb/radiusd.conf.in.rej
patching file share/dictionary
patching file share/dictionary.chillispot
patching file share/dictionary.jradius
patching file share/dictionary.lancom
patching file share/dictionary.ser
patching file src/modules/rlm_jradius/configure
patching file src/modules/rlm_jradius/jradius.conf
patching file src/modules/rlm_jradius/Makefile
patching file src/modules/rlm_jradius/rlm_jradius.c
patching file src/modules/stable



# I follow  the installation instructions

./configure --prefix=/software/freeradius
make

# whene i execute make I got this errors

*** Warning: Linking the shared library rlm_perl.la against the
*** static library /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a is not
portable!
gcc -shared  .libs/rlm_perl.o  -Wl,--rpath
-Wl,/home/ouahiba/download/freeradius- 1.1.6/src/lib/.libs -Wl,--rpath
-Wl,/software/freeradius/lib
/home/ouahiba/download/freeradius-1.1.6/src/lib/.libs/libradius.so
-L/usr/local/lib /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl/5.8/CORE -lperl -ldl -lm -lc -lcrypt -lnsl -lresolv
-lpthread  -Wl,-E -Wl,-soname -Wl,rlm_perl- 1.1.6.so -o .libs/rlm_perl-
1.1.6.so
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[6]: *** [rlm_perl.la] Error 1
make[6]: Leaving directory `/home/ouahiba/download/freeradius-1.1.6
/src/modules/rlm_perl'
make[5]: *** [common] Error 2
make[5]: Leaving directory `/home/ouahiba/download/freeradius-1.1.6
/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/ouahiba/download/freeradius-1.1.6
/src/modules'
make[3]: *** [common] Error 2
make[3]: Leaving directory `/home/ouahiba/download/freeradius-1.1.6/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ouahiba/download/freeradius-1.1.6/src'
make[1]: *** [common] Error 2
make[1]: Leaving directory `/home/ouahiba/download/freeradius- 1.1.6'
make: *** [all] Error 2

# when i execute make install i got

sudo make install

make[6]: *** [install] Error 1
make[6]: Leaving directory `/home/ouahiba/download/freeradius- 1.1.6
/src/modules/rlm_perl'
make[5]: *** [common] Error 2
make[5]: Leaving directory `/home/ouahiba/download/freeradius- 1.1.6
/src/modules'
make[4]: *** [install] Error 2
make[4]: Leaving directory `/home/ouahiba/download/freeradius- 1.1.6
/src/modules'
make[3]: *** [common] Error 2
make[3]: Leaving directory `/home/ouahiba/download/freeradius- 1.1.6/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/ouahiba/download/freeradius- 1.1.6/src'
make[1]: *** [common] Error 2
make[1]: Leaving directory `/home/ouahiba/download/freeradius- 1.1.6'
make: *** [install] Error 2


Please, can somebody tell witch version of freeradius to use with with patch
and jradius version. and help me to find out the solution.


thanks in advance

Lisa.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070612/13c20cd0/attachment.html>


More information about the Freeradius-Users mailing list