GCC fails to install
Charles White
chuck at chuckandmaggi.com
Tue May 15 04:20:47 PDT 2007
1) I'm trying to install the latest stable version of GCC. Since
gcc42 downloads from a 'prereleases' directory, I will focus on
gcc41. Note that I've tried to install every available version of gcc
and none of them have installed for me.
2) The target computer is an iMac with a 2 GHz Core Duo processor.
3) My eventual goal is to install R for statistical computing.
4) Terminal output from my last session follows my signature.
5) I'd appreciate some help.
Thanks!
Chuck
charles-whites-computer:~ hopoie$ sudo port install gcc41
---> Fetching gcc41
---> Attempting to fetch gcc-core-4.1.2.tar.bz2 from ftp://
ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-4.1.2/
---> Attempting to fetch gcc-fortran-4.1.2.tar.bz2 from ftp://
ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-4.1.2/
---> Attempting to fetch gcc-g++-4.1.2.tar.bz2 from ftp://
ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-4.1.2/
---> Attempting to fetch gcc-java-4.1.2.tar.bz2 from ftp://
ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-4.1.2/
---> Attempting to fetch gcc-objc-4.1.2.tar.bz2 from ftp://
ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-4.1.2/
---> Verifying checksum(s) for gcc41
---> Extracting gcc41
---> Applying patches to gcc41
---> Configuring gcc41
---> Building gcc41 with target profiledbootstrap
Error: Target com.apple.build returned: shell command " cd "/opt/
local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build" && make profiledbootstrap " returned error 2
Command output: ln -s /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/gcc-4.1.2/libstdc++-v3/config/io/
basic_file_stdio.cc ./basic_file.cc || true
/bin/sh ../libtool --tag CXX --mode=compile /opt/local/var/db/dports/
build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/./gcc/xgcc -shared-libgcc -B/opt/local/var/
db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/./gcc -nostdinc++ -L/opt/local/var/db/
dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/src -L/
opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
src/.libs -B/opt/local/i386-apple-darwin8.9.1/bin/ -B/opt/local/i386-
apple-darwin8.9.1/lib/ -isystem /opt/local/i386-apple-darwin8.9.1/
include -isystem /opt/local/i386-apple-darwin8.9.1/sys-include -I/
opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
include/i386-apple-darwin8.9.1 -I/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
include -I/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/gcc-4.1.2/libstdc++-v3/libsupc++ -O2 -fno-
implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -
fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-c -o basic_file.lo basic_file.cc
/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/./gcc/xgcc -shared-libgcc -B/opt/local/var/
db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/./gcc -nostdinc++ -L/opt/local/var/db/
dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/src -L/
opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
src/.libs -B/opt/local/i386-apple-darwin8.9.1/bin/ -B/opt/local/i386-
apple-darwin8.9.1/lib/ -isystem /opt/local/i386-apple-darwin8.9.1/
include -isystem /opt/local/i386-apple-darwin8.9.1/sys-include -I/opt/
local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
include/i386-apple-darwin8.9.1 -I/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
include -I/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/gcc-4.1.2/libstdc++-v3/libsupc++ -O2 -fno-
implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -
fdiagnostics-show-location=once -ffunction-sections -fdata-sections -
c basic_file.cc -fno-common -DPIC -o .libs/basic_file.o
/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/./gcc/xgcc -shared-libgcc -B/opt/local/var/
db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/./gcc -nostdinc++ -L/opt/local/var/db/
dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/src -L/
opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
src/.libs -B/opt/local/i386-apple-darwin8.9.1/bin/ -B/opt/local/i386-
apple-darwin8.9.1/lib/ -isystem /opt/local/i386-apple-darwin8.9.1/
include -isystem /opt/local/i386-apple-darwin8.9.1/sys-include -I/opt/
local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
include/i386-apple-darwin8.9.1 -I/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
include -I/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/gcc-4.1.2/libstdc++-v3/libsupc++ -O2 -fno-
implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -
fdiagnostics-show-location=once -ffunction-sections -fdata-sections -
c basic_file.cc -o basic_file.o >/dev/null 2>&1
ln -s /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/gcc-4.1.2/libstdc++-v3/config/locale/generic/
c_locale.cc ./c++locale.cc || true
/bin/sh ../libtool --tag CXX --mode=compile /opt/local/var/db/dports/
build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/./gcc/xgcc -shared-libgcc -B/opt/local/var/
db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/./gcc -nostdinc++ -L/opt/local/var/db/
dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/src -L/
opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
src/.libs -B/opt/local/i386-apple-darwin8.9.1/bin/ -B/opt/local/i386-
apple-darwin8.9.1/lib/ -isystem /opt/local/i386-apple-darwin8.9.1/
include -isystem /opt/local/i386-apple-darwin8.9.1/sys-include -I/
opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
include/i386-apple-darwin8.9.1 -I/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
include -I/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/gcc-4.1.2/libstdc++-v3/libsupc++ -O2 -fno-
implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -
fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-c -o c++locale.lo c++locale.cc
/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/./gcc/xgcc -shared-libgcc -B/opt/local/var/
db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/./gcc -nostdinc++ -L/opt/local/var/db/
dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/src -L/
opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
src/.libs -B/opt/local/i386-apple-darwin8.9.1/bin/ -B/opt/local/i386-
apple-darwin8.9.1/lib/ -isystem /opt/local/i386-apple-darwin8.9.1/
include -isystem /opt/local/i386-apple-darwin8.9.1/sys-include -I/opt/
local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
include/i386-apple-darwin8.9.1 -I/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
include -I/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/gcc-4.1.2/libstdc++-v3/libsupc++ -O2 -fno-
implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -
fdiagnostics-show-location=once -ffunction-sections -fdata-sections -
c c++locale.cc -fno-common -DPIC -o .libs/c++locale.o
/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/./gcc/xgcc -shared-libgcc -B/opt/local/var/
db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/./gcc -nostdinc++ -L/opt/local/var/db/
dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/src -L/
opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
src/.libs -B/opt/local/i386-apple-darwin8.9.1/bin/ -B/opt/local/i386-
apple-darwin8.9.1/lib/ -isystem /opt/local/i386-apple-darwin8.9.1/
include -isystem /opt/local/i386-apple-darwin8.9.1/sys-include -I/opt/
local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
include/i386-apple-darwin8.9.1 -I/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/build/i386-apple-darwin8.9.1/libstdc++-v3/
include -I/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/gcc-4.1.2/libstdc++-v3/libsupc++ -O2 -fno-
implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -
fdiagnostics-show-location=once -ffunction-sections -fdata-sections -
c c++locale.cc -o c++locale.o >/dev/null 2>&1
cp /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/gcc-4.1.2/libstdc++-v3/config/linker-map.gnu ./
libstdc++-symbol.ver
if test "x" != x; then \
sed -n '1,/DO NOT DELETE/p' libstdc++-symbol.ver > tmp.top; \
sed -n '/DO NOT DELETE/,$p' libstdc++-symbol.ver > tmp.bottom; \
cat tmp.top tmp.bottom > libstdc++-symbol.ver; \
rm tmp.top tmp.bottom; \
fi
perl /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/gcc-4.1.2/libstdc++-v3/scripts/make_exports.pl \
libstdc++-symbol.ver \
.libs/bitmap_allocator.o .libs/pool_allocator.o .libs/
mt_allocator.o .libs/codecvt.o .libs/compatibility.o .libs/
complex_io.o .libs/ctype.o .libs/debug.o .libs/debug_list.o .libs/
functexcept.o .libs/globals_locale.o .libs/globals_io.o .libs/
ios.o .libs/ios_failure.o .libs/ios_init.o .libs/ios_locale.o .libs/
limits.o .libs/list.o .libs/locale.o .libs/locale_init.o .libs/
locale_facets.o .libs/localename.o .libs/stdexcept.o .libs/
strstream.o .libs/tree.o .libs/allocator-inst.o .libs/concept-
inst.o .libs/fstream-inst.o .libs/ext-inst.o .libs/ios-inst.o .libs/
iostream-inst.o .libs/istream-inst.o .libs/istream.o .libs/locale-
inst.o .libs/locale-misc-inst.o .libs/misc-inst.o .libs/ostream-
inst.o .libs/sstream-inst.o .libs/streambuf-inst.o .libs/
streambuf.o .libs/string-inst.o .libs/valarray-inst.o .libs/wlocale-
inst.o .libs/wstring-inst.o .libs/atomicity.o .libs/
codecvt_members.o .libs/collate_members.o .libs/ctype_members.o .libs/
messages_members.o .libs/monetary_members.o .libs/
numeric_members.o .libs/time_members.o .libs/basic_file.o .libs/c+
+locale.o \
`echo ../libmath/libmath.la ../libsupc++/libsupc++convenience.la | \
sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
> libstdc++-symbol.explist || (rm -f libstdc++-symbol.explist ; exit 1)
nm -P .libs/bitmap_allocator.o .libs/pool_allocator.o .libs/
mt_allocator.o .libs/codecvt.o .libs/compatibility.o .libs/
complex_io.o .libs/ctype.o .libs/debug.o .libs/debug_list.o .libs/
functexcept.o .libs/globals_locale.o .libs/globals_io.o .libs/
ios.o .libs/ios_failure.o .libs/ios_init.o .libs/ios_locale.o .libs/
limits.o .libs/list.o .libs/locale.o .libs/locale_init.o .libs/
locale_facets.o .libs/localename.o .libs/stdexcept.o .libs/
strstream.o .libs/tree.o .libs/allocator-inst.o .libs/concept-
inst.o .libs/fstream-inst.o .libs/ext-inst.o .libs/ios-inst.o .libs/
iostream-inst.o .libs/istream-inst.o .libs/istream.o .libs/locale-
inst.o .libs/locale-misc-inst.o .libs/misc-inst.o .libs/ostream-
inst.o .libs/sstream-inst.o .libs/streambuf-inst.o .libs/
streambuf.o .libs/string-inst.o .libs/valarray-inst.o .libs/wlocale-
inst.o .libs/wstring-inst.o .libs/atomicity.o .libs/
codecvt_members.o .libs/collate_members.o .libs/ctype_members.o .libs/
messages_members.o .libs/monetary_members.o .libs/
numeric_members.o .libs/time_members.o .libs/basic_file.o .libs/c+
+locale.o ../libmath/.libs/libmath.a ../libsupc++/.libs/libsupc+
+convenience.a|nm: no name list
nm: no name list
nm error at /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc41/work/gcc-4.1.2/libstdc++-v3/scripts/make_exports.pl
line 130.
make[5]: *** [libstdc++-symbol.explist] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-target-libstdc++-v3] Error 2
make[1]: *** [all] Error 2
make: *** [profiledbootstrap] Error 2
Error: Status 1 encountered during processing.
charles-whites-computer:~ hopoie$
More information about the macports-users
mailing list