gcc-mp-4.4: error trying to exec '/opt/local/bin/i686-apple-darwin10-gcc-4.2.1': execvp: No such file or directory

Frank Schima macsforever2000 at macports.org
Thu Aug 4 12:56:52 PDT 2011

On Aug 4, 2011, at 11:57 AM, Wolosh, Glenn wrote:

> I am running into the same error as this post --
> http://lists.macosforge.org/pipermail/macports-users/2011-June/024446.html
> I did not see any response to it.
> If I use the full path to gcc, ie, /opt/local/bin/gcc I do not get the 
> error. If I just enter gcc on the command line I do get the error. I'm 
> not sure what is going on.

What's the output of the following?

which gcc

Then what's the output when you run "ls -l" with that path?

Also, run the port select command with the -d flag and post the output, namely:

sudo port -d select gcc mp-gcc44


More information about the macports-users mailing list