sudo port install arm-elf-gcc3 fails with "No defined site for tag: gcc…"
- by Scott Bayes
Am trying to get the ARM plugin for Eclipse (http://sourceforge.net/projects/gnuarmeclipse/) going on iMac i7, OS 10.6.3, Xcode 3.2.2 (don't want to upgrade during my project). The plugin needs (IIRC) arm-elf-gcc3, which needs darwinports for "easy" install. Of course, probably due to leftovers when I moved from old MacBook to iMac, Darwin ports 1.8.2 wouldn't install till I built 1.7.1 from source and installed it. darwinports 1.8.1 appears to have been properly installed, but sudo port install arm-elf-gcc3 led to 5-10 minutes of dependencies installs, then the following, produced with port -d (starting from last dependency completion for brevity):
DEBUG: Found Dependency: receipt exists for gettext
DEBUG: Executing org.macports.main (arm-elf-gcc3)
--- Fetching arm-elf-gcc3
DEBUG: Executing org.macports.fetch (arm-elf-gcc3)
--- gcc-3.4.6.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/gcc
Error: No defined site for tag: gcc, using master_sites
Error: Target org.macports.fetch returned: can't read "host": no such variable
DEBUG: Backtrace: can't read "host": no such variable
while executing
"info exists seen($host)"
(procedure "sortsites" line 25)
invoked from within
"sortsites fetch_urls"
(procedure "portfetch::fetchfiles" line 49)
invoked from within
"portfetch::fetchfiles"
(procedure "portfetch::fetch_main" line 16)
invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for arm-elf-gcc3): org.macports.activate org.macports.fetch org.macports.extract org.macports.checksum org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
(sorry if that's a mess, neither blockquote nor code sample tags seem to properly display cut/pasted text from Terminal.app in preview window).
Can anyone advise me on how to get around this (or how to build/install arm-elf-gcc3 from source if necessary)? None of the darwinports FAQs or forums mentioned arm-elf-gcc3 anywhere that I saw.