Opened 15 years ago

Last modified 15 years ago

#20267 closed defect

freeradius-2.1.6 Configure error - build failure — at Version 1

Reported by: joviyeong@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: freeradius

Description (last modified by mf2k (Frank Schima))

Unable to install freeradius on my MAC. Here is the installation error.

mac-minis-mac-mini:php5 macmini$ sudo port install freeradius
Password:
--->  Fetching gdbm
--->  Attempting to fetch gdbm-1.8.3.tar.gz from http://mirror.internode.on.net/pub/gnu/gdbm
--->  Verifying checksum(s) for gdbm
--->  Extracting gdbm
--->  Configuring gdbm
--->  Building gdbm
--->  Staging gdbm into destroot
--->  Installing gdbm @1.8.3_1
--->  Activating gdbm @1.8.3_1
--->  Cleaning gdbm
--->  Fetching freeradius
--->  Attempting to fetch freeradius-server-2.1.3.tar.bz2 from http://distfiles.macports.org/freeradius
--->  Verifying checksum(s) for freeradius
--->  Extracting freeradius
--->  Configuring freeradius
--->  Building freeradius
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.1.3" && make all " returned error 2
Command output: rlm_perl.c: In function 'rlm_perl_clone':
rlm_perl.c: In function 'rlm_perl_clone':
rlm_perl.c:273: warning: format '%d' expects type 'int', but argument 3 has type 'pthread_t'
rlm_perl.c:273: warning: format '%d' expects type 'int', but argument 3 has type 'pthread_t'
rlm_perl.c: In function 'perl_xlat':
rlm_perl.c:374: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
rlm_perl.c:374: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'
rlm_perl.c: In function 'perl_xlat':
rlm_perl.c:374: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
rlm_perl.c:374: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'
 /usr/bin/gcc-4.0 -O2 -I/opt/local/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DDARWIN -Wall -D_GNU_SOURCE -DNDEBUG -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/libltdl -arch ppc -arch i386 -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement -I/usr/local/include -I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE -c rlm_perl.c -o rlm_perl.o >/dev/null 2>&1
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/libtool --mode=link /usr/bin/gcc-4.0 -release 2.1.3 \
	-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.1.3/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!
/usr/bin/gcc-4.0 ${wl}-undefined ${wl}dynamic_lookup -o .libs/rlm_perl-2.1.3.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.1.3/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 ppc -arch i386 -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.1.3/src/lib/.libs/libfreeradius-radius.dylib, file is not of required architecture
(cd .libs && rm -f rlm_perl.so && ln -s rlm_perl-2.1.3.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===

how do i edit the Portfile for freeradius and add --without-rlm_perl to configure.args.?

Change History (1)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.