#48332: gcc49 fails to install on snow leopard 10.6.8 ------------------------------+-------------------------------- Reporter: attie.raphael@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: gcc Port: gcc49 | ------------------------------+-------------------------------- Comment (by ryandesign@…): Replying to [comment:4 attie.raphael@…]:
On this one it didn't give me any main.log path (although it should, right? )
It should. There is a bug somewhere in MacPorts that prevents this from happening, sometimes, though I haven't been able to narrow it down. Repeating the command seems to help. It may have to do with whether any of the dependencies are already installed and need to be upgraded.
so I manually searched for the only main.log I could find, which was just the one about gcc49.
Please try running {{{ sudo port install gcc49 }}} and show us what it says in response.
From what I read in your wiki link, I could try using -t to ignore my /usr/local/ , is that sensible for building gcc? Or does it still need to use things /usr/local/? In which case I shall not use -t?
Yes, using the `-t` flag to turn on trace mode should block access to files in /usr/local, and anywhere else the port does not explicitly state it requires access to. Because trace mode is not the default, it is not as well tested, so you may run into other problems, which may be other bugs that need to be fixed. -- Ticket URL: <https://trac.macports.org/ticket/48332#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X