Can't find g++-4.2, even though it recently tested it
ryandesign at macports.org
Thu Apr 1 08:33:19 PDT 2010
On Apr 1, 2010, at 09:59, Jim Carroll wrote:
> when I install geany using
> $ sudo port install geany
> I'm getting
> configure: error: No C++ compiler found. Please install a C++ compiler.
> It's odd because it just checked whether /usr/bin/g++-4.2
> accepts -g, but then
> when it checks for g++-4.2 it can't find it ?
> I do have xcode installed and /usr/bin/g++-4.2 is there.
> $ ls -lad /usr/bin/g++*
> lrwxr-xr-x 1 root wheel 7 Feb 20 22:50 /usr/bin/g++ -> g++-4.2
> -rwxr-xr-x 1 root wheel 97392 May 18 2009 /usr/bin/g++-4.0
> -rwxr-xr-x 1 root wheel 166128 May 18 2009 /usr/bin/g++-4.2
> How can I get geany to compile? Thanks!
sudo port selfupdate
Then try again. I fixed this 12 days ago.
More information about the macports-users