<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>Am 02.07.2008 um 14:05 schrieb Ubale, Abhishek Amarnath:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <!-- Converted from text/rtf format --><p><font color="#0000FF" size="2" face="Arial">Hi,</font> </p><p><font color="#0000FF" size="2" face="Arial">Im trying to install freeradius 2.0.5 on solaris10 (sparc) and Im only interested in rlm_perl module. My configure script is<b> </b></font></p><p><font color="#0000FF" size="2" face="Arial">./configure --prefix=/usr/local/radius</font><b> <font color="#0000FF" size="2" face="Arial">--with-static-modules=perl --disable-shared</font></b> <font color="#0000FF" size="2" face="Arial">--without-rlm_sql --without-rlm_eap --without-rlm_ldap --without-rlm_krb5 --without-rlm_python --without-rlm_counter --without-rlm_ippool --without-rlm_otp --without-rlm_acctlog --without-rlm_caching --without-rlm_chap --without-rlm_dbm --without-rlm_detail --without-rlm_digest --without-rlm_mschap --without-rlm_unix --without-rlm_smb --without-rlm_realm --without-rlm_radutmp --without-rlm_preprocess --without-rlm_passwd --without-rlm_pap --without-rlm_pam --without-rlm_opendirectory --without-rlm_logintime --without-rlm_linelog --without-rlm_jradius --without-rlm_files --without-rlm_fastusers --without-rlm_detail --without-rlm_cram --without-rlm_copy_packet --without-rlm_checkval --without-rlm_attr_filter --without-rlm_attr_rewrite --without-rlm_always --without-rlm_sqlippool</font></p><p><font color="#0000FF" size="2" face="Arial">./gmake is throwing out errors as follows:</font><b></b> <br><font size="2" face="Arial">[...]</font> <br><font size="2" face="Arial">gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/var/tmp/freeradius-server-2</font> <br><font size="2" face="Arial">2.0.5/src -I/var/tmp/freeradius-server-2.0.5/libltdl -I/usr/local/include -I/opt/local/include -D_LARGEFILE_SOURCE -D</font> <br><font size="2" face="Arial">D_FILE_OFFSET_BITS=64 -I/usr/local/perl-5.8.3/lib/5.8.3/sun4-solaris/CORE -c rlm_perl.c -o rlm_perl.o >/dev/null 2>&1</font> <br><font size="2" face="Arial">/var/tmp/freeradius-server-2.0.5/libtool --mode=link gcc -release 2.0.5 \</font> <br><font size="2" face="Arial">-module -static -o rlm_perl.la \</font> <br><font size="2" face="Arial">-rpath /usr/local/radius/lib rlm_perl.lo rlm_perl.c /var/tmp/freeradius-server-2.0.5/src/lib/libfreeradius-radius.la `perl -MExtUtils::Embed -e ldopts` -lnsl -lresolv -lsocket -lposix4 -lpthread</font><b></b></p><p><b><font color="#0000FF" size="2" face="Arial">*** Warning: Linking the shared library rlm_perl.la against the</font></b> <br><b><font color="#0000FF" size="2" face="Arial">*** static library /usr/local/perl-5.8.3/lib/5.8.3/sun4-solaris/auto/DynaLoader/DynaLoader.a is not portable!</font></b> <br><b><font color="#0000FF" size="2" face="Arial">[...]</font></b> <br><b><font color="#0000FF" size="2" face="Arial">/usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized</font></b> <br><b><font color="#0000FF" size="2" face="Arial">/usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized</font></b> <br><b><font color="#0000FF" size="2" face="Arial">/usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized</font></b> <br><b><font color="#0000FF" size="2" face="Arial">/usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized</font></b> <br><b><font color="#0000FF" size="2" face="Arial">../modules/rlm_perl/.libs/rlm_perl.a(rlm_perl.o): In function `xs_init':</font></b> <br><b><font color="#0000FF" size="2" face="Arial">rlm_perl.o(.text+0x110): undefined reference to `boot_DynaLoader'</font></b> <br><b><font color="#0000FF" size="2" face="Arial">rlm_perl.o(.text+0x114): undefined reference to `boot_DynaLoader'</font></b> <br><font color="#0000FF" size="2" face="Arial">collect2: ld returned 1 exit status</font> <br><font color="#0000FF" size="2" face="Arial">gmake[4]: *** [radiusd] Error 1</font> <br><font color="#0000FF" size="2" face="Arial">gmake[3]: *** [common] Error 2</font> <br><font color="#0000FF" size="2" face="Arial">gmake[2]: *** [all] Error 2</font> <br><font color="#0000FF" size="2" face="Arial">gmake[1]: *** [common] Error 2</font> <br><font color="#0000FF" size="2" face="Arial">gmake: *** [all] Error 2</font></p></blockquote><div>If you do not need the Perl module, rename the directory so that it does not compile.</div><div><br></div><div>(This has been recommended a few times on this mailing list for compiling on Macs and I had to do it too.)</div><div><br></div><div>However if you need Perl, then I have no idea how to fix it.</div><blockquote type="cite"><p> </p> <br><p><font color="#0000FF" size="2" face="Arial">Please help me out here.</font> </p><p><font color="#0000FF" size="2" face="Arial">thanks</font> <br><font color="#0000FF" size="2" face="Arial">Abhishek</font></p></blockquote><div><br></div>Have a nice day!<br><blockquote type="cite"><p> </p> <br> <br> <br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></div> </blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 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; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><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: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Registergericht: Amtsgericht Münster / HRB: 5624</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Steuer Nr.: 337/5903/0421 / UstID: DE 204607841</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span> </div><br></body></html>