<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">lisa laam</b> <<a href="mailto:laam.lisa@gmail.com">laam.lisa@gmail.com</a>><br>Date: 11 juin 2007 12:53<br>
Subject: Help for Jradius and Frreradius<br>To: <a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a><br><br></span>Hi all,<br><br>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)
<br><br>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, ..<br><br>2-secondly i used freeradius-1.1.6.tar.gz with freeradius-1.1.5.patch and here are the errors i got
<br><br>here the commands i used for installation : <br><br>tar xzf freeradius-1.1.6.tar.gz <br> cd freeradius-1.1.6<br><br><span style="color: rgb(51, 102, 102);">#I install the the freeradius-1.1.5.patch</span><br><br>
wget <a href="http://jradius.cvs.sourceforge.net/*checkout*/jradius/jradius/freeradius/patch/freeradius-1.1.2.patch" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://jradius.cvs.sourceforge.net/*che ... .1.5.patch
</a><br> patch -p1 < freeradius-1.1.5.patch
<br><br><span style="color: rgb(51, 102, 102);"># whene i patch the files i got this failed : </span><br><br>patching file raddb/jradius.conf<br>patching file raddb/Makefile<br><span style="color: rgb(255, 0, 0);">Hunk #1 FAILED at 7.
</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">1 out of 1 hunk FAILED -- saving rejects to file raddb/Makefile.rej</span><br>patching file raddb/radiusd.conf.in<br>patching file raddb/radiusd.conf.in.rej
<br>patching file share/dictionary<br>patching file share/dictionary.chillispot<br>patching file share/dictionary.jradius<br>patching file share/dictionary.lancom<br>patching file share/dictionary.ser<br>patching file src/modules/rlm_jradius/configure
<br>patching file src/modules/rlm_jradius/jradius.conf<br>patching file src/modules/rlm_jradius/Makefile<br>patching file src/modules/rlm_jradius/rlm_jradius.c<br>patching file src/modules/stable<br><br><br><br style="color: rgb(51, 153, 153);">
<span style="color: rgb(51, 153, 153);"># I follow the installation instructions</span><br style="color: rgb(51, 153, 153);"><br>./configure --prefix=/software/freeradius<br>make <br><br><span style="color: rgb(51, 102, 102);">
# whene i execute make I got this errors </span><br><br>*** Warning: Linking the shared library rlm_perl.la against the<br>*** static library /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a is not portable!<br>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-
<a href="http://1.1.6.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">1.1.6.so</a> -o .libs/rlm_perl-<a href="http://1.1.6.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
1.1.6.so</a><br>/usr/bin/ld: cannot find -lperl<br>collect2: ld returned 1 exit status<br>make[6]: *** [rlm_perl.la] Error 1<br><span style="color: rgb(255, 0, 0);">
make[6]: Leaving directory `/home/ouahiba/download/freeradius-1.1.6/src/modules/rlm_perl'</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[5]: *** [common] Error 2</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">make[5]: Leaving directory `/home/ouahiba/download/freeradius-1.1.6/src/modules'</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[4]: *** [all] Error 2
</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[4]: Leaving directory `/home/ouahiba/download/freeradius-1.1.6/src/modules'</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">
make[3]: *** [common] Error 2</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[3]: Leaving directory `/home/ouahiba/download/freeradius-1.1.6/src'</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">make[2]: *** [all] Error 2</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[2]: Leaving directory `/home/ouahiba/download/freeradius-1.1.6/src'</span>
<br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[1]: *** [common] Error 2</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[1]: Leaving directory `/home/ouahiba/download/freeradius-
1.1.6'</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make: *** [all] Error 2</span><br><br style="color: rgb(51, 102, 102);"><span style="color: rgb(51, 102, 102);"># when i execute make install i got
</span><br><br>sudo make install <br><br><span style="color: rgb(255, 0, 0);">make[6]: *** [install] Error 1</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[6]: Leaving directory `/home/ouahiba/download/freeradius-
1.1.6/src/modules/rlm_perl'</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[5]: *** [common] Error 2</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[5]: Leaving directory `/home/ouahiba/download/freeradius-
1.1.6/src/modules'</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[4]: *** [install] Error 2</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[4]: Leaving directory `/home/ouahiba/download/freeradius-
1.1.6/src/modules'</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[3]: *** [common] Error 2</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[3]: Leaving directory `/home/ouahiba/download/freeradius-
1.1.6/src'</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[2]: *** [install] Error 2</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[2]: Leaving directory `/home/ouahiba/download/freeradius-
1.1.6/src'</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[1]: *** [common] Error 2</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make[1]: Leaving directory `/home/ouahiba/download/freeradius-
1.1.6'</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">make: *** [install] Error 2</span><br style="color: rgb(255, 0, 0);"><br><br>Please, can somebody tell witch version of freeradius to use with with patch and jradius version. and help me to find out the solution.
<br><br><br>thanks in advance<br><span class="sg"><br>Lisa.
</span>