Compiling 1.1.6 on OSX 10.4.9 Server

Joseph Sullivan joe at mooseweb.com
Fri Apr 27 00:30:08 CEST 2007


Hello,

    I have made numerous attempts to Compile Freeradius on my OSX 10.4.9
machine with no avail.

I found that V-1.1.1 was included in Darwin Ports, but it gives me Library
errors when I try Installing it.

I see lots of posts of people trying to get FreeRadius working on a mac,
some have done it, with no explanation, and some asked, posted errors, and
then disappear.

I have a fresh Install with all osx updates.

I downloaded v-1.1.6 and unpacked it.

./configure --enable-developer --disable-shared

It does its thing with no apparent errors.

When I run Make, it errors with

/freeradius-1.1.6/libtool --mode=link gcc -release 1.1.6 \
-module -static   -o rlm_perl.la     \
-rpath /usr/local/lib rlm_perl.lo rlm_perl.c
/freeradius-1.1.6/src/lib/libradius.la \
`perl -MExtUtils::Embed -e ldopts` -lresolv  -lpthread

*** Warning: Linking the shared library rlm_perl.la against the
*** static library 
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLo
ader.a is not portable!
rm -fr  .libs/rlm_perl-1.1.6.so .libs/rlm_perl.a .libs/rlm_perl.so
ar cru .libs/rlm_perl.a
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLo
ader.a  rlm_perl.o 
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLo
ader.a
ranlib: archive member: .libs/rlm_perl.a(DynaLoader.a) fat file for cputype
(7) cpusubtype (3) is not an object file (bad magic number)
ar: internal ranlib command failed
make[6]: *** [rlm_perl.la] Error 1
make[5]: *** [common] Error 2
make[4]: *** [all] Error 2
make[3]: *** [common] Error 2
make[2]: *** [all] Error 2
make[1]: *** [common] Error 2
make: *** [all] Error 2


Has anyone attempted this ver with Tiger server?  I can give ssh access if
someone wants to poke around.

Any help is appreciated


Joseph Sullivan




More information about the Freeradius-Users mailing list