なんだこれは

はてなダイアリーから移転しました。

port日記

mac portでgccをいれてみようとした。
玖侶之子(Snow Leopard)です。


gcc45が入らないのですよ!がびーん。
試しにgcc43をいれてみた。これは入った。
で、gcc_selectですよ!

sudo gcc_select -l

で、mp-gcc43がでたので、

sudo gcc_select mp-gcc43

これでgcc44にチャレンジだ!

え?

やってみた。

gcc44のinstallに成功。これをメインにする。

sudo gcc_select mp-gcc44

あれ?gcc45はできないの?

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/build" && /usr/bin/make -j2 bootstrap " returned error 2
Command output: x86_64-apple-darwin10/libgomp/.libs/lock.o differs
x86_64-apple-darwin10/libgomp/.libs/loop.o differs
x86_64-apple-darwin10/libgomp/.libs/loop_ull.o differs
x86_64-apple-darwin10/libgomp/.libs/ordered.o differs
x86_64-apple-darwin10/libgomp/.libs/parallel.o differs
x86_64-apple-darwin10/libgomp/.libs/proc.o differs
x86_64-apple-darwin10/libgomp/.libs/sections.o differs
x86_64-apple-darwin10/libgomp/.libs/single.o differs
x86_64-apple-darwin10/libgomp/.libs/task.o differs
x86_64-apple-darwin10/libgomp/.libs/team.o differs
x86_64-apple-darwin10/libgomp/.libs/work.o differs
x86_64-apple-darwin10/libgomp/bar.o differs
x86_64-apple-darwin10/libgomp/barrier.o differs
x86_64-apple-darwin10/libgomp/env.o differs
x86_64-apple-darwin10/libgomp/iter.o differs
x86_64-apple-darwin10/libgomp/iter_ull.o differs
x86_64-apple-darwin10/libgomp/lock.o differs
x86_64-apple-darwin10/libgomp/loop.o differs
x86_64-apple-darwin10/libgomp/loop_ull.o differs
x86_64-apple-darwin10/libgomp/ordered.o differs
x86_64-apple-darwin10/libgomp/parallel.o differs
x86_64-apple-darwin10/libgomp/proc.o differs
x86_64-apple-darwin10/libgomp/sections.o differs
x86_64-apple-darwin10/libgomp/single.o differs
x86_64-apple-darwin10/libgomp/task.o differs
x86_64-apple-darwin10/libgomp/team.o differs
x86_64-apple-darwin10/libgomp/work.o differs
make[2]: *** [compare] Error 1
make[1]: *** [stage3-bubble] Error 2
make: *** [bootstrap] Error 2

Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

そう、なん。なにがいけないのか?

ということで完全に掃除してやって

sudo port clean --all installed

Cleaning mpfr
Warning: Distfiles directory '/opt/local/var/macports/distfiles/mpfr/2.4.2' may contain distfiles needed for other ports, use the -f flag to force removal
Cleaning p5-compress-raw-bzip2
Warning: Distfiles directory '/opt/local/var/macports/distfiles/perl5' may contain distfiles needed for other ports, use the -f flag to force removal
Cleaning p5-compress-raw-bzip2
Warning: Distfiles directory '/opt/local/var/macports/distfiles/perl5' may contain distfiles needed for other ports, use the -f flag to force removal
Cleaning p5-compress-raw-zlib
Warning: Distfiles directory '/opt/local/var/macports/distfiles/perl5' may contain distfiles needed for other ports, use the -f flag to force removal
Cleaning p5-compress-raw-zlib
Warning: Distfiles directory '/opt/local/var/macports/distfiles/perl5' may contain distfiles needed for other ports, use the -f flag to force removal
Cleaning p5-crypt-ssleay
Warning: Distfiles directory '/opt/local/var/macports/distfiles/perl5' may contain distfiles needed for other ports, use the -f flag to force removal
Cleaning p5-html-parser
Warning: Distfiles directory '/opt/local/var/macports/distfiles/perl5' may contain distfiles needed for other ports, use the -f flag to force removal
Cleaning p5-html-tagset
Warning: Distfiles directory '/opt/local/var/macports/distfiles/perl5' may contain distfiles needed for other ports, use the -f flag to force removal
Cleaning p5-io-compress
Warning: Distfiles directory '/opt/local/var/macports/distfiles/perl5' may contain distfiles needed for other ports, use the -f flag to force removal
Cleaning p5-io-compress
Warning: Distfiles directory '/opt/local/var/macports/distfiles/perl5' may contain distfiles needed for other ports, use the -f flag to force removal
Cleaning p5-libwww-perl
Warning: Distfiles directory '/opt/local/var/macports/distfiles/perl5' may contain distfiles needed for other ports, use the -f flag to force removal
Cleaning p5-locale-gettext
Warning: Distfiles directory '/opt/local/var/macports/distfiles/perl5' may contain distfiles needed for other ports, use the -f flag to force removal
Cleaning p5-uri
Warning: Distfiles directory '/opt/local/var/macports/distfiles/perl5' may contain distfiles needed for other ports, use the -f flag to force removal
Cleaning tcl
Warning: Distfiles directory '/opt/local/var/macports/distfiles/tcltk' may contain distfiles needed for other ports, use the -f flag to force removal