Can't find g++-4.2, even though it recently tested it
Jim Carroll
jim at maplesong.com
Thu Apr 1 07:59:12 PDT 2010
when I install geany using
$ sudo port install geany
I'm getting
Error: Target org.macports.configure returned:
configure failure: shell command
" cd
"/opt/local/var/macports/build/_opt_local_var_macports_
sources_rsync.macports.org_release_ports_
devel_geany/work/geany-0.18.1"
&& ./configure --prefix=/opt/local " returned error 1
...
...
checking for gcc... (cached) /usr/bin/gcc-4.2
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/gcc-4.2 accepts -g... (cached) yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... (cached)
none needed
checking dependency style of /usr/bin/gcc-4.2... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-4.2 accepts -g... yes
checking dependency style of /usr/bin/g++-4.2... gcc3
checking for /usr/bin/g++-4.2... no
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!
More information about the macports-users
mailing list