When trying to install gcc46
on OS X 10.6.4 using port
(MacPorts 1.9.1) i get the following errors:
artemis:foo$ sudo port install gcc46
Error: Cannot install gcc46 for the arch(s) 'x86_64' because
Error: its dependency gmp is only installed for the arch 'i386'
Error: and the configured universal_archs 'ppc i386' are not sufficient.
Error: Unable to execute port: architecture mismatch
MacPorts was freshly installed on the 10.6 system.
Any suggestions on how to resolve this or how to install gcc46 for i386?
(Previously asked and as of now unanswered on SuperUser.)
Best Answer
For some reason the
universal_archs
configurations was wrong. An answer on SuperUser now worked:/opt/local/etc/macports/
copymacports.conf.default
tomacports.conf
universal_archs
in it is set tox86_64 i386