Finally getting around to testing our 2.0.0-pre1 on some systems. Found a few build problems. -- rlm_perl fails miserably to link, so I had to remove that from stable. -- Solaris sed doesn't accept '-i', so the command: sed -i 's/^#include <freeradius-devel/#include <freeradius/' $(R)$ (includedir)/freeradius/libradius.h fails during 'make install' in src/include. This simple patch fixes that: --- src/include/Makefile.orig Tue Jul 10 14:49:47 2007 +++ src/include/Makefile Tue Jul 10 14:51:46 2007 @@ -30,4 +30,6 @@ $(INSTALL) -m 644 sha1.h $(R)$(includedir)/freeradius $(INSTALL) -m 644 token.h $(R)$(includedir)/freeradius $(INSTALL) -m 644 udpfromto.h $(R)$(includedir)/freeradius - sed -i 's/^#include <freeradius-devel/#include <freeradius/' $ (R)$(includedir)/freeradius/libradius.h + sed 's/^#include <freeradius-devel/#include <freeradius/' $(R) $(includedir)/freeradius/libradius.h > $(R)$(includedir)/freeradius/ libradius.h.tmp + mv $(R)$(includedir)/freeradius/libradius.h.tmp $(R)$ (includedir)/freeradius/libradius.h + chmod 644 $(R)$(includedir)/freeradius/libradius.h I've tested this on both Solaris 9 and Centos 5, so it's more portable than the -i version. -Chris -- Chris Parker Director, Systems StarNet - US LEC, now a PAETEC Company (888)212-0099 Fax (847)963-1302 Wholesale Internet and VoIP Services http://www.megapop.net NOTICE: Message is sent IN CONFIDENCE to addressees. It may contain information that is privileged, proprietary or confidential.
Chris Parker wrote:
Finally getting around to testing our 2.0.0-pre1 on some systems.
Don't. The CVS head has a lot more features, and a number of bugs fixed.
rlm_perl fails miserably to link, so I had to remove that from stable.
I believe I've fixed that.
Solaris sed doesn't accept '-i', so the command:
Fixed. Alan DeKok.
On Jul 10, 2007, at 4:06 PM, Alan DeKok wrote:
Chris Parker wrote:
Finally getting around to testing our 2.0.0-pre1 on some systems.
Don't. The CVS head has a lot more features, and a number of bugs fixed.
Of course. I'll have to install cvs on the box and pull that down. :)
rlm_perl fails miserably to link, so I had to remove that from stable.
I believe I've fixed that.
It did work on the Centos box.
Solaris sed doesn't accept '-i', so the command:
Fixed.
Cool. I'll get latest CVS and keep poking. -Chris -- Chris Parker Director, Systems StarNet - US LEC, now a PAETEC Company (888)212-0099 Fax (847)963-1302 Wholesale Internet and VoIP Services http://www.megapop.net NOTICE: Message is sent IN CONFIDENCE to addressees. It may contain information that is privileged, proprietary or confidential.
On Wed 11 Jul 2007, Chris Parker wrote:
On Jul 10, 2007, at 4:06 PM, Alan DeKok wrote:
Chris Parker wrote:
Finally getting around to testing our 2.0.0-pre1 on some systems.
Don't. The CVS head has a lot more features, and a number of bugs fixed.
Of course. I'll have to install cvs on the box and pull that down. :)
Nightly snapshots are at: ftp://ftp.freeradius.org/pub/freeradius/snapshots/ -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
On Jul 10, 2007, at 4:06 PM, Alan DeKok wrote:
Chris Parker wrote:
Finally getting around to testing our 2.0.0-pre1 on some systems.
Don't. The CVS head has a lot more features, and a number of bugs fixed.
Running CVS head now.
rlm_perl fails miserably to link, so I had to remove that from stable.
I believe I've fixed that.
It works on my CentOS box, it still fails on Solaris 9. make[6]: Entering directory `/usr/local/src/radiusd-head/src/modules/ rlm_perl' /usr/local/src/radiusd-head/libtool --mode=link gcc -release 2.0.0- pre2 \ -module -export-dynamic -o rlm_perl.la \ -rpath /usr/local/lib rlm_perl.lo rlm_perl.c /usr/local/src/radiusd- head/src/lib/libradius.la \ `perl -MExtUtils::Embed -e ldopts` -lnsl -lresolv -lsocket -lposix4 - lpthread Note (probably harmless): No library found for -lbind *** Warning: Linking the shared library rlm_perl.la against the *** static library /usr/local/lib/perl5/5.8.5/sun4-solaris/auto/ DynaLoader/DynaLoader.a is not portable! gcc -shared -Wl,-h -Wl,rlm_perl-2.0.0-pre2.so -o .libs/rlm_perl-2.0.0- pre2.so .libs/rlm_perl.o -R/usr/local/src/radiusd-head/src/ lib/.libs -R/usr/local/lib /usr/local/src/radiusd-head/src/lib/.libs/ libradius.so -L/usr/local/lib -L/opt/gnu/lib /usr/local/lib/ perl5/5.8.5/sun4-solaris/auto/DynaLoader/DynaLoader.a -L/usr/local/ lib/perl5/5.8.5/sun4-solaris/CORE -lperl -ldl -lm -lc -lnsl -lresolv - lsocket -lposix4 -lpthread -lc Text relocation remains referenced against symbol offset in file <unknown> 0x25d0 /usr/local/lib/ perl5/5.8.5/sun4-solaris/CORE/libperl.a(perl.o) <unknown> 0x25d4 /usr/local/lib/ perl5/5.8.5/sun4-solaris/CORE/libperl.a(perl.o) ... setprotoent 0xdd14 /usr/local/lib/ perl5/5.8.5/sun4-solaris/CORE/libperl.a(pp_sys.o) endprotoent 0xde8c /usr/local/lib/ perl5/5.8.5/sun4-solaris/CORE/libperl.a(pp_sys.o) getpeername 0x7f18 /usr/local/lib/ perl5/5.8.5/sun4-solaris/CORE/libperl.a(pp_sys.o) __floatdidf 0x59e8 /usr/local/lib/ perl5/5.8.5/sun4-solaris/CORE/libperl.a(pp_sys.o) __floatdidf 0x5c20 /usr/local/lib/ perl5/5.8.5/sun4-solaris/CORE/libperl.a(pp_sys.o) __floatdidf 0x5d30 /usr/local/lib/ perl5/5.8.5/sun4-solaris/CORE/libperl.a(pp_sys.o) __floatdidf 0x8744 /usr/local/lib/ perl5/5.8.5/sun4-solaris/CORE/libperl.a(pp_sys.o) __floatdidf 0x8f90 /usr/local/lib/ perl5/5.8.5/sun4-solaris/CORE/libperl.a(pp_sys.o) ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status The output from perl is: $perl -MExtUtils::Embed -e ldopts Note (probably harmless): No library found for -lbind -L/usr/local/lib -L/opt/gnu/lib /usr/local/lib/perl5/5.8.5/sun4- solaris/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.8.5/ sun4-solaris/CORE -lperl -lsocket -lnsl -ldl -lm -lc
Solaris sed doesn't accept '-i', so the command:
Fixed.
Yep. :) -Chris -- Chris Parker Director, Systems StarNet - US LEC, now a PAETEC Company (888)212-0099 Fax (847)963-1302 Wholesale Internet and VoIP Services http://www.megapop.net NOTICE: Message is sent IN CONFIDENCE to addressees. It may contain information that is privileged, proprietary or confidential.
participants (3)
-
Alan DeKok -
Chris Parker -
Peter Nixon