#20267 closed defect (fixed)
freeradius-2.1.3 build failure
Reported by: | joviyeong@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | mf2k (Frank Schima), edugarcia@…, ryandesign (Ryan Carsten Schmidt) | |
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 (18)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:2 Changed 15 years ago by mf2k (Frank Schima)
Summary: | freeradius-2.1.6 Configure error - build failure → freeradius-2.1.3 build failure |
---|
comment:3 Changed 15 years ago by mf2k (Frank Schima)
comment:5 Changed 15 years ago by edugarcia@…
I get the same error, I am using OS X 10.5.6 with XCode version 3.1.3, FreeRadius 2.1.3 and MacPorts 1.710
---> Building freeradius 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_acctlog... for x in .libs/* rlm_acctlog.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_acctlog/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_acct_unique... for x in .libs/* rlm_acct_unique.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_acct_unique/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_always... for x in .libs/* rlm_always.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_always/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_attr_filter... for x in .libs/* rlm_attr_filter.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_attr_filter/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_attr_rewrite... for x in .libs/* rlm_attr_rewrite.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_attr_rewrite/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_chap... for x in .libs/* rlm_chap.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_chap/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_checkval... for x in .libs/* rlm_checkval.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_checkval/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_copy_packet... for x in .libs/* rlm_copy_packet.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_copy_packet/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_counter... for x in .libs/* rlm_counter.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_counter/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_dbm... for x in .libs/* rlm_dbm.la rlm_dbm_parser rlm_dbm_cat; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_dbm/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_detail... for x in .libs/* rlm_detail.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_detail/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_digest... for x in .libs/* rlm_digest.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_digest/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done 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... for x in .libs/* rlm_eap_gtc.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/types/rlm_eap_gtc/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_eap_ikev2... make[9]: Nothing to be done for `all'. Making all in rlm_eap_leap... for x in .libs/* rlm_eap_leap.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/types/rlm_eap_leap/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_eap_md5... for x in .libs/* rlm_eap_md5.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/types/rlm_eap_md5/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_eap_mschapv2... for x in .libs/* rlm_eap_mschapv2.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/types/rlm_eap_mschapv2/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_eap_peap... for x in .libs/* rlm_eap_peap.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/types/rlm_eap_peap/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_eap_sim... for x in .libs/* rlm_eap_sim.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/types/rlm_eap_sim/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_eap_tls... for x in .libs/* rlm_eap_tls.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/types/rlm_eap_tls/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_eap_tnc... make[9]: Nothing to be done for `all'. Making all in rlm_eap_ttls... for x in .libs/* rlm_eap_ttls.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/types/rlm_eap_ttls/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done /usr/bin/make -C libeap make[7]: Nothing to be done for `all'. /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 -L/opt/local/lib -o radeapclient radeapclient.lo libeap/libfreeradius-eap.la -framework DirectoryService -lresolv -lpthread -L/opt/local/lib -lcrypto -lssl -lcrypto /usr/bin/gcc-4.0 -o .libs/radeapclient .libs/radeapclient.o -framework DirectoryService -L/opt/local/lib libeap/.libs/libfreeradius-eap.dylib /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 -lresolv -lpthread -lssl -lcrypto creating radeapclient 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... for x in .libs/* rlm_eap_gtc.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/types/rlm_eap_gtc/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_eap_ikev2... make[10]: Nothing to be done for `all'. Making all in rlm_eap_leap... for x in .libs/* rlm_eap_leap.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/types/rlm_eap_leap/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_eap_md5... for x in .libs/* rlm_eap_md5.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/types/rlm_eap_md5/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_eap_mschapv2... for x in .libs/* rlm_eap_mschapv2.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/types/rlm_eap_mschapv2/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_eap_peap... for x in .libs/* rlm_eap_peap.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/types/rlm_eap_peap/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_eap_sim... for x in .libs/* rlm_eap_sim.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/types/rlm_eap_sim/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_eap_tls... for x in .libs/* rlm_eap_tls.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/types/rlm_eap_tls/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_eap_tnc... make[10]: Nothing to be done for `all'. Making all in rlm_eap_ttls... for x in .libs/* rlm_eap_ttls.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/types/rlm_eap_ttls/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done for x in .libs/* rlm_eap.la radeapclient; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_eap/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_exec... for x in .libs/* rlm_exec.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_exec/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_expiration... for x in .libs/* rlm_expiration.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_expiration/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_expr... for x in .libs/* rlm_expr.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_expr/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_fastusers... for x in .libs/* rlm_fastusers.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_fastusers/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_files... for x in .libs/* rlm_files.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_files/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_ippool... for x in .libs/* rlm_ippool.la rlm_ippool_tool; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_ippool/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_krb5... make[6]: Nothing to be done for `all'. Making all in rlm_ldap... for x in .libs/* rlm_ldap.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_ldap/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_linelog... for x in .libs/* rlm_linelog.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_linelog/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_logintime... for x in .libs/* rlm_logintime.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_logintime/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_mschap... for x in .libs/* rlm_mschap.la smbencrypt; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_mschap/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_otp... for x in .libs/* rlm_otp.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_otp/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_pam... for x in .libs/* rlm_pam.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_pam/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_pap... for x in .libs/* rlm_pap.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_pap/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done Making all in rlm_passwd... for x in .libs/* rlm_passwd.la; do \ rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/rlm_passwd/$x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_freeradius/work/freeradius-server-2.1.3/src/modules/lib/$x; \ done 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.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! rm -fr .libs/rlm_perl-2.1.3.so .libs/rlm_perl.a .libs/rlm_perl.so /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 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.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 Warning: the following items did not execute (for freeradius): org.macports.activate org.macports.build org.macports.destroot org.macports.install
comment:8 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | macsforever2000@… edugarcia@… ryandesign@… added |
---|
I think there are several different errors being reported in this ticket. The error I got on 10.4 was like the one Frank got on 10.5:
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols: _lt__PROGRAM__LTX_preloaded_symbols
The folks at Fedora tell us this is due to us using libtool 2, and suggest a fix, which worked for me after a small modification, and I committed the fix in r53901.
Does this now enable you to install the port? If not, do you still get the same error?
comment:10 follow-up: 11 Changed 15 years ago by edugarcia@…
I am new to macports, how do you make the changes to the port as specified on the fix?
comment:11 follow-up: 12 Changed 15 years ago by mf2k (Frank Schima)
Replying to edugarcia@…:
I am new to macports, how do you make the changes to the port as specified on the fix?
sudo port selfupdate sudo port install freeradius
comment:12 Changed 15 years ago by edugarcia@…
Replying to macsforever2000@…:
Replying to edugarcia@…:
I am new to macports, how do you make the changes to the port as specified on the fix?
sudo port selfupdate sudo port install freeradius
That doesn't work for me, see below...
Server:~ egarcia$ sudo port selfupdate Password: MacPorts base version 1.710 installed Downloaded MacPorts base version 1.710 The MacPorts installation is not outdated so it was not updated
comment:13 follow-ups: 14 15 Changed 15 years ago by mf2k (Frank Schima)
Did you re-run the install?
That message is not very good It is saying that your port
command was not updated - meaning you are still on version 1.7.1., but your portindex was indeed updated without it mentioning that.
comment:14 Changed 15 years ago by edugarcia@…
Replying to macsforever2000@…:
Did you re-run the install?
That message is not very good It is saying that your
port
command was not updated - meaning you are still on version 1.7.1., but your portindex was indeed updated without it mentioning that.
I figured I wouldn't since the port did not get updated. I guess the message is not very clear, but anyway when I did "sudo port install freeradius" I got the following error at the end
---> Installing freeradius @2.1.6_0 ---> Activating freeradius @2.1.6_0 Error: Target org.macports.activate returned: Image error: /opt/local/bin/radclient is being used by the active openradius port. Please deactivate this port first, or use 'port -f activate freeradius' to force the activation. Error: Status 1 encountered during processing.
comment:15 Changed 15 years ago by edugarcia@…
Replying to macsforever2000@…:
Did you re-run the install?
That message is not very good It is saying that your
port
command was not updated - meaning you are still on version 1.7.1., but your portindex was indeed updated without it mentioning that.
Also when trying to force-activate I got:
Server:~ egarcia$ port -f activate freeradius ---> Activating freeradius Warning: File /opt/local/bin/radclient already exists. Moving to: /opt/local/bin/radclient.mp_1247762830. Error: port activate failed: error renaming "/opt/local/bin/radclient" to "/opt/local/bin/radclient.mp_1247762830": permission denied
comment:16 Changed 15 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
There is a conflict between freeradius and openradius. You either need to deactivate openradius or file a new ticket about this if you want to have both installed at the same time.
comment:17 follow-up: 18 Changed 15 years ago by mf2k (Frank Schima)
If you want to force activate - which may make openradius non-working - then you need to use sudo.
comment:18 Changed 15 years ago by edugarcia@…
Replying to macsforever2000@…:
If you want to force activate - which may make openradius non-working - then you need to use sudo.
Never mind, I had tried installing openradius before and I thought it didn't install because I got some errors. But when I did "port list active" I noticed it was active so I did "sudo port uninstall openradius" then "sudo port activate freeradius" and got no error messages this time.
Thanks everyone for your help!
I get a different error. What version of Mac OS X are you running? What version of Xcode?
To edit the portfile use the following command:
I did try adding it but it didn't change the error message I received: