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]: *** [dict.lo] Error 1
make[3]: *** [common] Error 2
make[2]: *** [all] Error 2
make[1]: *** [common] Error 2
make: *** [all] Error 2
Warning: the following items did not execute (for freeradius):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: Status 1 encountered during processing.
Very strage behavior because the config tells me:
checking malloc.h usability... yes
Anybody out there who can help me?
BTW: I want to try out some special config parameters like the one I
found while searching for fixes:
./configure --enable-developer
My thinking was to do the following:
sudo port edit freeradius portfile
and insert the wanted directives into this file:
configure.args --with-openssl-includes=${prefix}/include/openssl \
--with-openssl-libraries=${prefix}/lib \
--enable-developer \
--mandir=\\\${prefix}/share/man
Will this portfile then be used when I do port install again?
Greetings from Germany
J. Braendle
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users