あとで調べる時のためのメモ。macports,gmt,gcc,gcc_select
Power-Mac-G5:~ $ sudo port install gmt ---> Fetching gmt ---> Attempting to fetch GSHHS1.9_coast.tar.bz2 from ftp://ftp.soest.hawaii.edu/gmt/4 ---> Attempting to fetch GSHHS1.9_coast.tar.bz2 from ftp://ibis.grdl.noaa.gov/pub/gmt/4 ---> Attempting to fetch GSHHS1.9_coast.tar.bz2 from ftp://ftp.iris.washington.edu/pub/gmt/4 ---> Verifying checksum(s) for gmt ---> Extracting gmt ---> Configuring gmt ---> Building gmt 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_science_gmt/work/GMT4.2.1" && make all " returned error 2 Command output: /usr/bin/gcc-4.0 -O2 -I/opt/local/include -DGMT_SHARE_PATH=\"/opt/local/share/gmt\" -I/opt/local/include -c -o gmt_shore.o gmt_shore.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include -DGMT_SHARE_PATH=\"/opt/local/share/gmt\" -I/opt/local/include -c -o gmt_stat.o gmt_stat.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include -DGMT_SHARE_PATH=\"/opt/local/share/gmt\" -I/opt/local/include -c -o gmt_support.o gmt_support.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include -DGMT_SHARE_PATH=\"/opt/local/share/gmt\" -I/opt/local/include -c -o gmt_vector.o gmt_vector.c ar cvur libgmt.a gmt_bcr.o gmt_calclock.o gmt_cdf.o gmt_customio.o gmt_grdio.o gmt_init.o gmt_io.o gmt_map.o gmt_nc.o gmt_proj.o gmt_shore.o gmt_stat.o gmt_support.o gmt_vector.o a - gmt_bcr.o a - gmt_calclock.o a - gmt_cdf.o a - gmt_customio.o a - gmt_grdio.o a - gmt_init.o a - gmt_io.o a - gmt_map.o a - gmt_nc.o a - gmt_proj.o a - gmt_shore.o a - gmt_stat.o a - gmt_support.o a - gmt_vector.o ranlib libgmt.a /usr/bin/gcc-4.0 -O2 -I/opt/local/include -DGMT_SHARE_PATH=\"/opt/local/share/gmt\" -I/opt/local/include -c -o gmt_plot.o gmt_plot.c ar cvur libgmtps.a gmt_plot.o a - gmt_plot.o ranlib libgmtps.a gcc -flat_namespace -undefined suppress -install_name /opt/local/lib/libpsl.4.dylib -compatibility_version 4.0.0 -current_version 4.2.1 -dynamiclib pslib.o -o libpsl.dylib ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option pslib.o definition of common _PSL (size 4) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed make[1]: *** [libpsl.dylib] Error 1 make: *** [gmt] Error 2 Error: Status 1 encountered during processing. Power-Mac-G5:~ $ sudo port clean gmt ---> Cleaning gmt