Freeradius 1.1.7 installing problem under Leopard

2007-11-28 Thread Jürgen Brändle

Hi there,

after having no luck installing freeradius 1.1.6 und Tiger I now tried  
to port install freeradius 1.1.7 on Leopard.


But also had no luck :-(

Below you can see the log of the second install run.
As you can see most of the "makings" worked fine.
Only a few stopped with:


*** 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!


First: Anyone out there got it to work and may help me
Second: I don't think I need the rlm.perl stuff. SO is it possible to  
just ignore it (comment it out somewhere)


Thanks in advance for any help.


Juergen




jbmbp:~ jb$ sudo port -dv install freeradius
Password:
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/freeradius
DEBUG: Changing to port directory: /opt/local/var/macports/sources/ 
rsync.macports.org/release/ports/sysutils/freeradius

DEBUG: Requested variant darwin is not provided by port freeradius.
DEBUG: Requested variant i386 is not provided by port freeradius.
DEBUG: Requested variant macosx is not provided by port freeradius.
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
DEBUG: Changing to port directory: /opt/local/var/macports/sources/ 
rsync.macports.org/release/ports/devel/openssl

DEBUG: Requested variant i386 is not provided by port openssl.
DEBUG: Requested variant macosx is not provided by port openssl.
DEBUG: Executing variant darwin provides darwin
DEBUG: Searching for dependency: openssl
DEBUG: Found Dependency: receipt exists for openssl
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/gdbm
DEBUG: Changing to port directory: /opt/local/var/macports/sources/ 
rsync.macports.org/release/ports/databases/gdbm

DEBUG: Requested variant darwin is not provided by port gdbm.
DEBUG: Requested variant i386 is not provided by port gdbm.
DEBUG: Requested variant macosx is not provided by port gdbm.
DEBUG: Searching for dependency: gdbm
DEBUG: Found Dependency: receipt exists for gdbm
DEBUG: Skipping completed org.macports.main (freeradius)
DEBUG: Skipping completed org.macports.fetch (freeradius)
DEBUG: Skipping completed org.macports.checksum (freeradius)
DEBUG: Skipping completed org.macports.extract (freeradius)
DEBUG: Skipping completed org.macports.patch (freeradius)
DEBUG: Skipping completed org.macports.configure (freeradius)
--->  Building freeradius with target all
DEBUG: Executing org.macports.build (freeradius)
DEBUG: Environment:
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_sysutils_freeradius/work/ 
freeradius-1.1.7" && make all'

Making all in src...
Making all in include...
make[4]: Nothing to be done for `all'.
Making all in lib...
make[4]: Nothing to be done for `all'.
Making all in modules...
Making all in rlm_acct_unique...
Making all in rlm_always...
Making all in rlm_attr_filter...
Making all in rlm_attr_rewrite...
Making all in rlm_chap...
Making all in rlm_counter...
Making all in rlm_dbm...
Making all in rlm_detail...
Making all in rlm_digest...
Making all in rlm_eap...
Making all in libeap...
make[7]: Nothing to be done for `all'.
Making all in types...
/usr/bin/make  WHAT_TO_MAKE=all common
Making all in rlm_eap_gtc...
Making all in rlm_eap_leap...
Making all in rlm_eap_md5...
Making all in rlm_eap_mschapv2...
Making all in rlm_eap_peap...
Making all in rlm_eap_sim...
Making all in rlm_eap_tls...
Making all in rlm_eap_ttls...
Making all in libeap...
make[8]: Nothing to be done for `all'.
Making all in types...
/usr/bin/make  WHAT_TO_MAKE=all common
Making all in rlm_eap_gtc...
Making all in rlm_eap_leap...
Making all in rlm_eap_md5...
Making all in rlm_eap_mschapv2...
Making all in rlm_eap_peap...
Making all in rlm_eap_sim...
Making all in rlm_eap_tls...
Making all in rlm_eap_ttls...
Making all in rlm_exec...
Making all in rlm_expr...
Making all in rlm_fastusers...
Making all in rlm_files...
Making all in rlm_ippool...
Making all in rlm_krb5...
make[6]: Nothing to be done for `all'.
Making all in rlm_ldap...
Making all in rlm_mschap...
Making all in rlm_ns_mta_md5...
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-1.1.7/libtool --mode=link gcc -release 1.1.7 \
-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-1.1.7/src/lib/libradius.la \

`perl -MExtUtils::Embed -e ldopts` -lresolv  -lpthread

*** Warning: L

Error with freeradius

2007-10-12 Thread Jürgen Brändle

Hi there,

just wanted to install freeradius via port but can't get it to work.
Here is what I did and what happened:


[EMAIL PROTECTED]:~$ sudo port -v install freeradius
--->  Fetching freeradius
--->  Verifying checksum(s) for freeradius
--->  Checksumming freeradius-1.1.7.tar.gz
--->  Extracting freeradius
--->  Extracting freeradius-1.1.7.tar.gz
--->  Configuring freeradius
.
.
.


--->  Building freeradius with target all
Making all in src...
Making all in include...
Making all in lib...
/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysut 
ils_freeradius/work/freeradius-1.1.7/libtool --mode=compile gcc  - 
O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DDARWIN -Wall - 
D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align - 
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing- 
declarations -Wnested-externs -W -Wredundant-decls -Wundef  - 
D_LIBRADIUS -I../include -c crypt.c

mkdir .libs
gcc -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DDARWIN -Wall - 
D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align - 
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing- 
declarations -Wnested-externs -W -Wredundant-decls -Wundef - 
D_LIBRADIUS -I../include -c crypt.c  -fno-common -DPIC -o .libs/ 
crypt.o
gcc -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DDARWIN -Wall - 
D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align - 
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing- 
declarations -Wnested-externs -W -Wredundant-decls -Wundef - 
D_LIBRADIUS -I../include -c crypt.c -o crypt.o >/dev/null 2>&1
/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysut 
ils_freeradius/work/freeradius-1.1.7/libtool --mode=compile gcc  - 
O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DDARWIN -Wall - 
D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align - 
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing- 
declarations -Wnested-externs -W -Wredundant-decls -Wundef  - 
D_LIBRADIUS -I../include -c dict.c
gcc -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DDARWIN -Wall - 
D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align - 
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing- 
declarations -Wnested-externs -W -Wredundant-decls -Wundef - 
D_LIBRADIUS -I../include -c dict.c  -fno-common -DPIC -o .libs/dict.o

dict.c:32:20: error: malloc.h: No such file or directory
make[4]: *** [dict.lo] Error 1
make[3]: *** [common] Error 2
make[2]: *** [all] Error 2
make[1]: *** [common] Error 2
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysut 
ils_freeradius/work/freeradius-1.1.7" && make all " returned error 2

Command output: Making all in src...
Making all in include...
Making all in lib...
/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysut 
ils_freeradius/work/freeradius-1.1.7/libtool --mode=compile gcc  - 
O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DDARWIN -Wall - 
D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align - 
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing- 
declarations -Wnested-externs -W -Wredundant-decls -Wundef  - 
D_LIBRADIUS -I../include -c crypt.c

mkdir .libs
gcc -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DDARWIN -Wall - 
D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align - 
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing- 
declarations -Wnested-externs -W -Wredundant-decls -Wundef - 
D_LIBRADIUS -I../include -c crypt.c  -fno-common -DPIC -o .libs/ 
crypt.o
gcc -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DDARWIN -Wall - 
D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align - 
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing- 
declarations -Wnested-externs -W -Wredundant-decls -Wundef - 
D_LIBRADIUS -I../include -c crypt.c -o crypt.o >/dev/null 2>&1
/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysut 
ils_freeradius/work/freeradius-1.1.7/libtool --mode=compile gcc  - 
O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DDARWIN -Wall - 
D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align - 
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing- 
declarations -Wnested-externs -W -Wredundant-decls -Wundef  - 
D_LIBRADIUS -I../include -c dict.c
gcc -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DDARWIN -Wall - 
D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align - 
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing- 
declarations -Wnested-externs -W -Wredundant-decls -Wundef - 
D_LIBRADIUS -I../include -c dict.c  -fno-common -DPIC -o .libs/dict.o

dict.c:32:20: error: malloc.h: No such file or directory
make[4]: *** [