Problems installing Argtable

Ye Xu seen_xu at 163.com
Mon Aug 20 13:20:26 PDT 2007


I had updateed my xcode to 2.4.1, 
and try to install argtable on both macports version 1.50, 
and new 1.52, they are all failed. 


SeeN:~$ sudo port -v install argtable
--->  Fetching argtable
--->  Verifying checksum(s) for argtable
--->  Checksumming argtable-2.4.tar.gz
--->  Extracting argtable
--->  Extracting argtable-2.4.tar.gz
--->  Configuring argtable
checking build system type... powerpc-apple-darwin8.10.0
checking host system type... powerpc-apple-darwin8.10.0
checking target system type... powerpc-apple-darwin8.10.0
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for a BSD-compatible install... /opt/local/bin/ginstall -c
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for rm... /bin/rm
checking for ln... /bin/ln
checking for strip... /usr/bin/strip
checking for ld... /usr/bin/ld
checking whether make sets ${MAKE}... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt.h... (cached) yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for working malloc... yes
checking for working strtod... yes
checking for strchr... yes
checking for strcspn... yes
checking for strrchr... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating argtable.spec
config.status: creating example/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating src/config.h
--->  Building argtable with target all
cd src; make all
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o argtable2.o argtable2.c
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o arg_end.o arg_end.c
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o arg_rem.o arg_rem.c
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o arg_lit.o arg_lit.c
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o arg_int.o arg_int.c
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o arg_dbl.o arg_dbl.c
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o arg_str.o arg_str.c
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o arg_rex.o arg_rex.c
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o arg_file.o arg_file.c
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o arg_date.o arg_date.c
/usr/bin/ar -r libargtable2.a argtable2.o arg_end.o arg_rem.o arg_lit.o arg_int.o arg_dbl.o arg_str.o arg_rex.o arg_file.o arg_date.o 
ar: creating archive libargtable2.a
ranlib libargtable2.a
libtool -dynamic -o libargtable2.dylib -lsystem argtable2.o arg_end.o arg_rem.o arg_lit.o arg_int.o arg_dbl.o arg_str.o arg_rex.o arg_file.o arg_date.o 
ld: for architecture ppc
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
_fprintf$LDBLStub
_printf$LDBLStub
libtool: internal link edit command failed
make[1]: *** [libargtable2.dylib] Error 1
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_devel_argtable/work/argtable2" && make all " returned error 2
Command output: cd src; make all
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o argtable2.o argtable2.c
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o arg_end.o arg_end.c
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o arg_rem.o arg_rem.c
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o arg_lit.o arg_lit.c
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o arg_int.o arg_int.c
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o arg_dbl.o arg_dbl.c
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o arg_str.o arg_str.c
gcc -DNDEBUG -I. -DHAVE_CONFIG_H -Wall -ansi -fPIC -I/opt/local/include  -c -o arg_rex.o arg_rex.c
gcc -DNDEBUG -I. -DHAVE_rg_file.o arg_date.o 
ar: creating archive libargtable2.a
ranlib libargtable2.a
libtool -dynamic -o libargtable2.dylib -lsystem argtable2.o arg_end.o arg_rem.o arg_lit.o arg_int.o arg_dbl.o arg_str.o arg_rex.o arg_file.o arg_date.o 
ld: for architecture ppc
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
_fprintf$LDBLStub
_printf$LDBLStub
libtool: internal link edit command failed
make[1]: *** [libargtable2.dylib] Error 1
make: *** [all] Error 2

Warning: the following items did not execute (for argtable): org.macports.activate org.macports.build org.macports.destroot org.macports.archive org.macports.install
Error: Status 1 encountered during processing.




More information about the macports-users mailing list