Re: FreeRadius and MAC OS X Install

2008-10-23 Thread Paul Bartell
I recently installed on leopard, even with the perl module disabled,
it would not work. the latest CVS version compiled fine though.

On Thu, Oct 23, 2008 at 10:12 AM, Saurabh Bhasin <[EMAIL PROTECTED]> wrote:
> No, I don'tSo,  I did the following:
>
> $sudo ./configure --without-rlm_perl
>
> and it went well from there. Thanks for the pointer, Andres.
> -Saurabh
>
> On Oct 23, 2008, at 12:06 AM, Anders Holm wrote:
>>
>> Do you have a need for the Perl module? If not, disable it.
>>
>> Sent from my iPhone
>>
>> On 22 Oct 2008, at 23:19, Saurabh Bhasin <[EMAIL PROTECTED]> wrote:
>>
>>> Folks,
>>>
>>> I've been trying to compile (using MacPorts 1.600) freeradius on Leopard
>>> (10.5.5) and continue to get the following error. I've been able to trace
>>> this down to https://trac.macports.org/ticket/13503 but it looks like there
>>> was no closure there and nothing definitive on what's supposed to
>>> workI'd appreciate if you could please point me in the right direction.
>>>
>>> --->  Building freeradius with target all
>>> Error: Target org.macports.build returned: shell command " cd
>>> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.0.4"
>>> && make all " returned error 2
>>> Command output: Making all in rlm_krb5...
>>> make[6]: Nothing to be done for `all'.
>>> Making all in rlm_ldap...
>>> Making all in rlm_logintime...
>>> Making all in rlm_mschap...
>>> Making all in rlm_otp...
>>> Making all in rlm_pam...
>>> Making all in rlm_pap...
>>> Making all in rlm_passwd...
>>> Making all in rlm_perl...
>>>
>>> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.0.4/libtool
>>> --mode=link /usr/bin/gcc-4.0 -release 2.0.4 \
>>>  -module -export-dynamic -L/opt/local/lib  -o rlm_perl.la \
>>>  -rpath /opt/local/lib rlm_perl.lo rlm_perl.c
>>> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.0.4/src/lib/libfreeradius-radius.la
>>> `perl -MExtUtils::Embed -e ldopts` -framework DirectoryService -lresolv
>>>  -lpthread
>>>
>>> *** Warning: Linking the shared library rlm_perl.la against the
>>> *** static library
>>> /System/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a
>>> is not portable!
>>> rm -fr  .libs/rlm_perl-2.0.4.so .libs/rlm_perl.a .libs/rlm_perl.so
>>> /usr/bin/gcc-4.0 ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o
>>> .libs/rlm_perl-2.0.4.so -bundle  .libs/rlm_perl.o  -L/opt/local/lib
>>> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.0.4/src/lib/.libs/libfreeradius-radius.dylib
>>> -L/usr/local/lib
>>> /System/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a
>>> -L/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE -lperl -ldl -lm
>>> -lutil -lc -lresolv -lpthread -arch i386 -arch ppc -framework
>>> DirectoryService
>>> ld warning: in
>>> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.0.4/src/lib/.libs/libfreeradius-radius.dylib,
>>> file is not of required architecture
>>> (cd .libs && rm -f rlm_perl.so && ln -s rlm_perl-2.0.4.so rlm_perl.so)
>>> ar cru .libs/rlm_perl.a
>>> /System/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a
>>>  rlm_perl.o
>>> /System/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a
>>> ranlib: archive member: .libs/rlm_perl.a(DynaLoader.a) fat file for
>>> cputype (18) cpusubtype (0) 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
>>>
>>> Error: Status 1 encountered during processing.
>>>
>>>
>>> Thanks,
>>> -Saurabh
>>> -
>>> List info/subscribe/unsubscribe? See
>>> http://www.freeradius.org/list/users.html
>>
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>



-- 
Random quote of the week/month/whenever i get to updating it:
"Opportunity knocked. My doorman threw him out." - Adrienne Gusoff

"At school you don't get parole, good behavior only brings a longer
sentence." - The History Boys
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: FreeRadius and MAC OS X Install

2008-10-23 Thread Saurabh Bhasin

No, I don'tSo,  I did the following:

$sudo ./configure --without-rlm_perl

and it went well from there. Thanks for the pointer, Andres.
-Saurabh

On Oct 23, 2008, at 12:06 AM, Anders Holm wrote:


Do you have a need for the Perl module? If not, disable it.

Sent from my iPhone

On 22 Oct 2008, at 23:19, Saurabh Bhasin <[EMAIL PROTECTED]> wrote:


Folks,

I've been trying to compile (using MacPorts 1.600) freeradius on  
Leopard (10.5.5) and continue to get the following error. I've been  
able to trace this down to https://trac.macports.org/ticket/13503  
but it looks like there was no closure there and nothing definitive  
on what's supposed to workI'd appreciate if you could please  
point me in the right direction.


--->  Building freeradius with target all
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_sysutils_freeradius/work/freeradius- 
server-2.0.4" && make all " returned error 2

Command output: Making all in rlm_krb5...
make[6]: Nothing to be done for `all'.
Making all in rlm_ldap...
Making all in rlm_logintime...
Making all in rlm_mschap...
Making all in rlm_otp...
Making all in rlm_pam...
Making all in rlm_pap...
Making all in rlm_passwd...
Making all in rlm_perl...
/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_sysutils_freeradius/work/freeradius- 
server-2.0.4/libtool --mode=link /usr/bin/gcc-4.0 -release 2.0.4 \

  -module -export-dynamic -L/opt/local/lib  -o rlm_perl.la \
  -rpath /opt/local/lib rlm_perl.lo rlm_perl.c /opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_sysutils_freeradius/work/freeradius- 
server-2.0.4/src/lib/libfreeradius-radius.la `perl - 
MExtUtils::Embed -e ldopts` -framework DirectoryService -lresolv  - 
lpthread


*** Warning: Linking the shared library rlm_perl.la against the
*** static library /System/Library/Perl/5.8.8/darwin-thread- 
multi-2level/auto/DynaLoader/DynaLoader.a is not portable!

rm -fr  .libs/rlm_perl-2.0.4.so .libs/rlm_perl.a .libs/rlm_perl.so
/usr/bin/gcc-4.0 ${wl}-flat_namespace ${wl}-undefined ${wl}suppress  
-o .libs/rlm_perl-2.0.4.so -bundle  .libs/rlm_perl.o  -L/opt/local/ 
lib /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_sysutils_freeradius/work/freeradius- 
server-2.0.4/src/lib/.libs/libfreeradius-radius.dylib -L/usr/local/ 
lib /System/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/ 
DynaLoader/DynaLoader.a -L/System/Library/Perl/5.8.8/darwin-thread- 
multi-2level/CORE -lperl -ldl -lm -lutil -lc -lresolv -lpthread - 
arch i386 -arch ppc -framework DirectoryService
ld warning: in /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_sysutils_freeradius/work/freeradius- 
server-2.0.4/src/lib/.libs/libfreeradius-radius.dylib, file is not  
of required architecture
(cd .libs && rm -f rlm_perl.so && ln -s rlm_perl-2.0.4.so  
rlm_perl.so)
ar cru .libs/rlm_perl.a /System/Library/Perl/5.8.8/darwin-thread- 
multi-2level/auto/DynaLoader/DynaLoader.a  rlm_perl.o /System/ 
Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DynaLoader/ 
DynaLoader.a
ranlib: archive member: .libs/rlm_perl.a(DynaLoader.a) fat file for  
cputype (18) cpusubtype (0) 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

Error: Status 1 encountered during processing.


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

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




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


Re: FreeRadius and MAC OS X Install

2008-10-23 Thread Anders Holm

Do you have a need for the Perl module? If not, disable it.

Sent from my iPhone

On 22 Oct 2008, at 23:19, Saurabh Bhasin <[EMAIL PROTECTED]> wrote:


Folks,

I've been trying to compile (using MacPorts 1.600) freeradius on  
Leopard (10.5.5) and continue to get the following error. I've been  
able to trace this down to https://trac.macports.org/ticket/13503  
but it looks like there was no closure there and nothing definitive  
on what's supposed to workI'd appreciate if you could please  
point me in the right direction.


--->  Building freeradius with target all
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync. 
macports.org_release_ports_sysutils_freeradius/work/freeradius- 
server-2.0.4" && make all " returned error 2

Command output: Making all in rlm_krb5...
make[6]: Nothing to be done for `all'.
Making all in rlm_ldap...
Making all in rlm_logintime...
Making all in rlm_mschap...
Making all in rlm_otp...
Making all in rlm_pam...
Making all in rlm_pap...
Making all in rlm_passwd...
Making all in rlm_perl...
/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync. 
macports.org_release_ports_sysutils_freeradius/work/freeradius- 
server-2.0.4/libtool --mode=link /usr/bin/gcc-4.0 -release 2.0.4 \

   -module -export-dynamic -L/opt/local/lib  -o rlm_perl.la \
   -rpath /opt/local/lib rlm_perl.lo rlm_perl.c /opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync. 
macports.org_release_ports_sysutils_freeradius/work/freeradius- 
server-2.0.4/src/lib/libfreeradius-radius.la `perl -MExtUtils::Embed  
-e ldopts` -framework DirectoryService -lresolv  -lpthread


*** Warning: Linking the shared library rlm_perl.la against the
*** static library /System/Library/Perl/5.8.8/darwin-thread- 
multi-2level/auto/DynaLoader/DynaLoader.a is not portable!

rm -fr  .libs/rlm_perl-2.0.4.so .libs/rlm_perl.a .libs/rlm_perl.so
/usr/bin/gcc-4.0 ${wl}-flat_namespace ${wl}-undefined ${wl}suppress - 
o .libs/rlm_perl-2.0.4.so -bundle  .libs/rlm_perl.o  -L/opt/local/ 
lib /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync. 
macports.org_release_ports_sysutils_freeradius/work/freeradius- 
server-2.0.4/src/lib/.libs/libfreeradius-radius.dylib -L/usr/local/ 
lib /System/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/ 
DynaLoader/DynaLoader.a -L/System/Library/Perl/5.8.8/darwin-thread- 
multi-2level/CORE -lperl -ldl -lm -lutil -lc -lresolv -lpthread - 
arch i386 -arch ppc -framework DirectoryService
ld warning: in /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync. 
macports.org_release_ports_sysutils_freeradius/work/freeradius- 
server-2.0.4/src/lib/.libs/libfreeradius-radius.dylib, file is not  
of required architecture

(cd .libs && rm -f rlm_perl.so && ln -s rlm_perl-2.0.4.so rlm_perl.so)
ar cru .libs/rlm_perl.a /System/Library/Perl/5.8.8/darwin-thread- 
multi-2level/auto/DynaLoader/DynaLoader.a  rlm_perl.o /System/ 
Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DynaLoader/ 
DynaLoader.a
ranlib: archive member: .libs/rlm_perl.a(DynaLoader.a) fat file for  
cputype (18) cpusubtype (0) 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

Error: Status 1 encountered during processing.


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

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