Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jojo0815

macrumors newbie
Original poster
Jul 21, 2011
10
0
Hi all,

did anyone a clean install of Mountain Lion and got the gcc compiler from macports up and running?

I get the following errors:

Code:
--->  Computing dependencies for gcc47
--->  Dependencies to be installed: cctools ld64 libunwind-headers llvm-3.1 libffi llvm_select cloog gmp isl autoconf help2man gettext expat libiconv gperf ncurses p5.12-locale-gettext perl5.12 gdbm m4 perl5 xz automake libtool gcc_select libmpc mpfr ppl glpk zlib
--->  Building libunwind-headers
Error: org.macports.build for port libunwind-headers returned: command execution failed
Error: Failed to install libunwind-headers
Please see the log file for port libunwind-headers for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libunwind-headers/libunwind-headers/main.log
Error: The following dependencies were not installed: cctools ld64 libunwind-headers llvm-3.1 libffi llvm_select cloog gmp isl autoconf help2man gettext expat libiconv gperf ncurses p5.12-locale-gettext perl5.12 gdbm m4 perl5 xz automake libtool gcc_select libmpc mpfr ppl glpk zlib
To report a bug, follow the instructions in the guide:
    [url]http://guide.macports.org/#project.tickets[/url]
Error: Processing of port gcc47 failed

Does anyone know what to do?

Cheers

jojo0815
 
Last edited by a moderator:

jojo0815

macrumors newbie
Original poster
Jul 21, 2011
10
0
Why not grab the one that is included with Xcode?

BL.

Because I worked all time before with the one from macports and I don't want to reset all my paths. Moreover, I don't want to give apple the right to decide which compiler I use. This should be the decision of the developer!
 

vanc

macrumors 6502
Nov 21, 2007
489
154
You need to reinstall the command line compiler tools after upgrade. ML apparently removes GCC during upgrade.
 

Reason077

macrumors 68040
Aug 14, 2007
3,854
4,092
Because I worked all time before with the one from macports and I don't want to reset all my paths. Moreover, I don't want to give apple the right to decide which compiler I use. This should be the decision of the developer!

Since macports builds things from source, you need some kind of compiler to get you started. The one that's included with XCode is a good choice.

You'll need to go into XCode's preferences and select downloads->command line tools->install

You can always then go and roll your own compiler once you have gcc installed for bootstrap purposes.
 

MacRenegade

macrumors member
Mar 26, 2008
32
0
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.