<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><quote></div>Update CFLAGS to add -DIE_LIBTOOL_DIE<div></quote><br><div><br></div><div>(Alan DeKok 2010-03-26 Thread "FreeRADIUS 2.1.7 and 2.1.8 fail to build")</div><div><br></div><div><br></div><div>Have a nice day!</div><div><br><div><div>Am 09.06.2010 um 13:32 schrieb Martín @ Ibersystems:</div><br class="Apple-interchange-newline"><blockquote type="cite"><font style="font-size: 10pt;"><div style="font-size: 10pt;">Hello all,</div> <div> </div><div>we are trying to install Radius Manager from DmaSoftlab. We need to install Freeradius and we gt problems with the "make"<br></div><div>We get this errors:</div><div> </div><div> ********************************************************************* <br> </div></font><div class="MsoNormal"><span lang="ES-TRAD">modcall.lo radiusd.lo stats.lo session.lo threads.lo util.lo valuepair.lo version.lo xlat.lo event.lo realms.lo evaluate.lo vmps.lo detail.lo \<o:p></o:p> </span></div> <div class="MsoNormal"><span lang="ES-TRAD"> </span><span lang="EN-US"> /root/work/freeradius-server-2.1.8/src/lib/libfreeradius-radius.la -lnsl -lresolv -lpthread \<o:p></o:p></span></div> <div class="MsoNormal"><span lang="EN-US"> -lcrypt -lltdl -lcrypto -lssl -lcrypto<o:p></o:p></span></div> <div class="MsoNormal"><span lang="EN-US">rm -f .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT<o:p></o:p></span></div> <div class="MsoNormal"><span lang="EN-US">creating .libs/radiusdS.c<o:p> </o:p></span></div> <div class="MsoNormal"><span lang="EN-US">(cd .libs && gcc -g -O2 -c -fno-builtin "radiusdS.c")<o:p></o:p></span></div> <div class="MsoNormal"><span lang="EN-US">rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT<o:p></o:p></span></div> <div class="MsoNormal"><span lang="EN-US">gcc .libs/radiusdS.o -o .libs/radiusd .libs/acct.o .libs/auth.o .libs/client.o .libs/conffile.o .libs/crypt.o .libs/exec.o .libs/files.o .libs/listen.o .libs/log.o .libs/mainconfig.o .libs/modules.o .libs/modcall.o .libs/radiusd.o .libs/stats.o .libs/session.o .libs/threads.o .libs/util.o .libs/valuepair.o .libs/version.o .libs/xlat.o .libs/event.o .libs/realms.o .libs/evaluate.o .libs/vmps.o .libs/detail.o -Wl,--export-dynamic /root/work/freeradius-server-2.1.8/src/lib/.libs/libfreeradius-radius.so -lnsl -lresolv -lpthread -lcrypt /usr/lib/libltdl.so -lssl -lcrypto -ldl<o:p> </o:p></span></div> <div class="MsoNormal"><span lang="EN-US">.libs/modules.o: In function `setup_modules':<o:p></o:p></span></div> <div class="MsoNormal"><span lang="EN-US"> /root/work/freeradius-server-2.1.8/src/main/modules.c:1358: undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'<o:p></o:p></span> </div> <div class="MsoNormal"><span lang="EN-US">collect2: ld returned 1 exit status<o:p></o:p></span></div> <div class="MsoNormal"><span lang="EN-US">make[4]: *** [radiusd] Error 1<o:p> </o:p></span></div> <div class="MsoNormal"><span lang="EN-US">make[4]: se sale del directorio `/root/work/freeradius-server-2.1.8/src/main'<o:p></o:p></span></div> <div class="MsoNormal"><span lang="EN-US">make[3]: *** [common] Error 2<o:p> </o:p></span></div> <div class="MsoNormal"><span lang="EN-US">make[3]: se sale del directorio `/root/work/freeradius-server-2.1.8/src'<o:p></o:p></span></div> <div class="MsoNormal"><span lang="EN-US">make[2]: *** [all] Error 2<o:p> </o:p></span></div> <div class="MsoNormal"><span lang="EN-US">make[2]: se sale del directorio `/root/work/freeradius-server-2.1.8/src'<o:p></o:p></span></div> <div class="MsoNormal"><span lang="EN-US">make[1]: *** [common] Error 2<o:p> </o:p></span></div> <div class="MsoNormal"><span lang="EN-US">make[1]: se sale del directorio `/root/work/freeradius-server-2.1.8'<o:p></o:p></span></div> <span lang="ES-TRAD">make: *** [all] Error 2</span> <br><div> *********************************************************************</div> <br>SO: Ubuntu Server 10.0.4 Lucid Lynxs<br><br>We tryed the sources from dmasoftlab (2.1.8 modified) and the sources of freeradius.org (2.1.9) with the 2 sources we get the same error.<br><br>What we have to install or fix?<br><br><br><br>Thanks,<br><br><br> <table class="MsoNormalTable" border="0" cellpadding="0"> <tbody> <tr> <td style="padding: 0.75pt;"> <table class="MsoNormalTable" border="0" cellpadding="0"> <tbody> <tr> <td style="padding: 0.75pt;"> <table class="MsoNormalTable" style="width: 482.25pt;" border="0" cellpadding="0" width="643"> <tbody> <tr> <td style="padding: 0.75pt; width: 477.45pt;" width="637"> <div class="MsoNormal" style="line-height: 115%;"><b><span style="font-size: 9pt; color: rgb(31, 73, 125); line-height: 115%; font-family: 'Arial','sans-serif';" lang="CA">Martín Ruiz</span></b><span style="font-size: 9pt; color: rgb(31, 73, 125); line-height: 115%;"><o:p> </o:p></span></div></td> <td style="padding: 0cm;" valign="top"> <div class="MsoNormal" style="line-height: 115%;"><b><span style="font-size: 9pt; color: rgb(31, 73, 125); line-height: 115%; font-family: 'Arial','sans-serif';"><o:p> </o:p></span></b></div></td></tr> <tr> <td style="padding: 0.75pt; width: 477.45pt;" width="637"> <div class="MsoNormal" style="line-height: 115%; margin-right: 297.6pt;"> <v:shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><v:stroke joinstyle="miter"></v:stroke><v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f> <v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></v:path><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype><v:shape id="_x0000_s1026" style="margin-top: 0.45pt; z-index: -1; visibility: visible; margin-left: 131.15pt; width: 333.1pt; position: absolute; height: 76.8pt;" alt="correo.jpg" type="#_x0000_t75"><v:imagedata o:title="correo" src="http://www.ibersystems.es/correo.jpg"></v:imagedata></v:shape><b><span style="font-size: 9pt; color: rgb(31, 73, 125); line-height: 115%; font-family: 'Arial','sans-serif';" lang="CA">Ibersystems Solutions, SL</span></b><span style="font-size: 9pt; color: rgb(31, 73, 125); line-height: 115%;"></span></div></td> <td style="padding: 0cm;" valign="top"> <div class="MsoNormal" style="line-height: 115%;"><b><span style="font-size: 9pt; color: rgb(31, 73, 125); line-height: 115%; font-family: 'Arial','sans-serif';" lang="CA"><o:p> </o:p></span></b></div></td></tr> <tr> <td style="padding: 0.75pt; width: 477.45pt;" width="637"> <div class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; color: rgb(31, 73, 125); line-height: 115%; font-family: 'Arial','sans-serif';" lang="CA">Dpto. Redes Inalámbricas</span><span style="font-size: 8pt; color: rgb(31, 73, 125); line-height: 115%;"><o:p> </o:p></span></div></td> <td style="padding: 0cm;" valign="top"> <div class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; color: rgb(31, 73, 125); line-height: 115%; font-family: 'Arial','sans-serif';" lang="CA"><o:p> </o:p></span></div></td></tr> <tr> <td style="padding: 0.75pt; width: 477.45pt;" width="637"> <div class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; color: rgb(31, 73, 125); line-height: 115%; font-family: 'Arial','sans-serif';" lang="CA">Tel. 902 430 367<o:p></o:p></span></div> <div class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; color: rgb(31, 73, 125); line-height: 115%; font-family: 'Arial','sans-serif';" lang="CA"> 669 37 95 21</span><span style="font-size: 8pt; color: rgb(31, 73, 125); line-height: 115%;"><o:p></o:p></span></div></td> <td style="padding: 0cm;" valign="top"> <div class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; color: rgb(31, 73, 125); line-height: 115%; font-family: 'Arial','sans-serif';" lang="CA"><o:p> </o:p></span></div></td></tr> <tr> <td style="padding: 0.75pt; width: 477.45pt;" width="637"> <div class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; color: rgb(31, 73, 125); line-height: 115%; font-family: 'Arial','sans-serif';" lang="CA">Fax 93 758 63 01</span><span style="font-size: 8pt; color: rgb(31, 73, 125); line-height: 115%;"><o:p> </o:p></span></div></td> <td style="padding: 0cm;" valign="top"> <div class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; color: rgb(31, 73, 125); line-height: 115%; font-family: 'Arial','sans-serif';" lang="CA"><o:p> </o:p></span></div></td></tr> <tr> <td style="padding: 0.75pt; width: 477.45pt;" width="637"> <div class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; color: rgb(31, 73, 125); line-height: 115%; font-family: 'Arial','sans-serif';" lang="CA"><a href="http://www.ibersystems.es/"><span style="color: blue;">http://www.ibersystems.es</span></a><o:p></o:p></span> </div> <div class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; color: rgb(31, 73, 125); line-height: 115%; font-family: 'Arial','sans-serif';" lang="CA"><a href="mailto:martinruiz@ibersystems.es"> <span style="color: blue;">martinruiz@ibersystems.es</span></a></span><span style="font-size: 8pt; color: rgb(31, 73, 125); line-height: 115%;"><o:p> </o:p></span></div></td> <td style="padding: 0cm;" valign="top"> <div class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; color: rgb(31, 73, 125); line-height: 115%; font-family: 'Arial','sans-serif';" lang="CA"><o:p> </o:p></span></div></td></tr> </tbody></table></td> <td style="padding: 0.75pt 0.75pt 0.75pt 18.7pt;"><br></td></tr></tbody> </table></td></tr> <tr> <td style="padding: 0.75pt;"> <table class="MsoNormalTable" border="0" cellpadding="0"> <tbody> <tr> <td style="padding: 0.75pt;" colspan="2"> <div class="MsoNormal" style="line-height: 115%; text-align: justify;"><b> <span style="font-size: 7pt; color: rgb(31, 73, 125); line-height: 115%; font-family: 'Arial','sans-serif';" lang="CA">Estemensaje puede contener información confidencial y/o privilegiada. Siusted no es el destinatario o una persona expresamente autorizada pararecibir este envío no debe utilizar, copiar, reenviar, distribuir, o engeneral disponer de ninguna forma de la información incluida. Sihubiera recibido este mensaje por error, sírvase informar al emisormediante una respuesta inmediata y bórrelo, por favor. Muchas gracias.<o:p></o:p></span></b></div> <div class="MsoNormal" style="line-height: 115%; text-align: justify;"><span style="font-size: 10pt; color: green; line-height: 115%; font-family: Webdings;" lang="CA">P</span><b><span style="font-size: 11pt; color: green; line-height: 115%; font-family: 'Arial','sans-serif';" lang="CA"> </span></b> <b><span style="font-size: 7pt; color: green; line-height: 115%; font-family: 'Arial','sans-serif';" lang="CA">Antes de imprimir este e-mail, piensa en si es realmente necesario: El Medio Ambiente es responsabilidad de todos</span></b><span style="font-size: 7pt; color: rgb(31, 73, 125); line-height: 115%;"><o:p></o:p></span></div></td></tr> <tr> <td style="padding: 0.75pt; width: 9.35pt;" width="12"><br></td> <td style="padding: 0.75pt;"><br></td></tr></tbody></table></td></tr></tbody> </table><br><br> <br><blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"> -----Original Message-----<br> From: Natr Brazell <<a href="mailto:natrbrazell@gmail.com">natrbrazell@gmail.com</a>><br> To: <a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a><br> Date: Wed, 9 Jun 2010 06:42:13 -0400<br> Subject: FreeRadius MYSQL tables<br> <br> All,<br> <br>I've set up FR2 to log acct data to mysql and that appears to be working. I'm curious about how to enable the logging of specific attributes that are being sent by the NAS. Specifically:<br> <br> rad_recv: Accounting-Request packet from host x.x.x.120 port 51637, id=50, length=95<br> Acct-Status-Type = Interim-Update<br> Acct-Session-Id = "C2594B9A71DB"<br> Acct-Delay-Time = 0<br> User-Name = "joe.bobuser"<br> NAS-Identifier = "M20"<br> Juniper-Interactive-Command = "run start shell "<br> NAS-IP-Address = x.x.x.120<br>+- entering group preacct {...}<br> <br> As you can see in the Accounting-Request packet above There is a NAS-Identifier and a Juniper-Interactive-Command entry. Those attributes are not being logged (nor do I think I'd want them) in my radacct file. Is there a way to have radius automatically populate an accountingactivity table (history file if you will)? Or this there a manual way say in postauth to send those attributes to a mysql table via script when an Accounting-Request packet is received. The above attributes are being sent and are logged in my detail-`date` log file in /var/log/radius/radacct/IP_OF_NAS directory.<br> <br>Thanks,<br>N </blockquote> -<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></blockquote></div><br><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Nicolas Goutte</div><div><br class="khtml-block-placeholder"></div><div> </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">extragroup GmbH - Karlsruhe</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Waldstr. 49</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">76133 Karlsruhe</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Germany</div><div> </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Geschäftsführer: Lars Busch<br>Registergericht: Amtsgericht Münster / HRB: 5624<br>Steuer Nr.: 337/5903/0421 / UstID: DE 204607841<br></div></div><br class="Apple-interchange-newline"></span></div><br class="Apple-interchange-newline"> </div><br></div></div></body></html>