Re: Compiling 1.1.6 on OSX 10.4.9 Server

2007-04-27 Thread Joseph Sullivan
On 4/27/07 2:32 AM, "Alan DeKok" wrote:

> If you're not going to use the Perl module, just delete the entire
> rlm_perl directory.
> 
> Alan DeKok.


Thanks, that worked.  Free Radius 1.1.6 is now running on my OSX Tiger
Server.  YEA!!!  Thanks a Million Alan





Joseph Sullivan

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Compiling 1.1.6 on OSX 10.4.9 Server

2007-04-27 Thread Alan DeKok
Joseph Sullivan wrote:
> When I run Make, it errors with

> *** Warning: Linking the shared library rlm_perl.la against the
> *** static library 

  If you're not going to use the Perl module, just delete the entire
rlm_perl directory.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Compiling 1.1.6 on OSX 10.4.9 Server

2007-04-26 Thread Joseph Sullivan
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

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html