try to install it on my powerbook 12" (Tiger 10.4.5) with command `sudo port install argtable` but it fails when building here is the output. ****************************************************************** ---> Building argtable with target all 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 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: Status 1 encountered during processing. ****************************************************************** so... how can I fix this? thx a lot.
On Aug 15, 2007, at 01:44, Ye Xu wrote:
try to install it on my powerbook 12" (Tiger 10.4.5) with command `sudo port install argtable` but it fails when building
here is the output. ****************************************************************** ---> Building argtable with target all 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 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: Status 1 encountered during processing. ******************************************************************
so... how can I fix this? thx a lot.
Mac OS X 10.4.5 is quite old. Please update to 10.4.10 with all other updates suggested by Software Update. I don't know if this is related to the problem, but it's just good to do anyway. If your OS is this old, perhaps your Xcode is out of date too. Please make sure you're using Xcode 2.4.1, not any older version. Get it here if necessary: http://developer.apple.com/tools/xcode/ argtable 2.4_0 installed OK for me on Intel 10.4.10, but I see 2.7 has been released. I'm Cc'ing the maintainer of argtable to see if he can update the port if appropriate.
Ryan Schmidt <ryandesign <at> macports.org> writes:
Mac OS X 10.4.5 is quite old. Please update to 10.4.10 with all other updates suggested by Software Update. I don't know if this is related to the problem, but it's just good to do anyway.
If your OS is this old, perhaps your Xcode is out of date too. Please make sure you're using Xcode 2.4.1, not any older version. Get it here if necessary: http://developer.apple.com/tools/xcode/
argtable 2.4_0 installed OK for me on Intel 10.4.10, but I see 2.7 has been released. I'm Cc'ing the maintainer of argtable to see if he can update the port if appropriate.
sorry about the typing error, I am actually using 10.4.10 but xcode I used is 2.3, so i will try to update xcode first, see if it works, and I will give feedback later, anyway thx for your kind help. :D
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.
participants (2)
-
Ryan Schmidt
-
Ye Xu