[Gdal-dev] Error messages with Configure

Steve Friedman friedm69 at msu.edu
Tue Jul 27 12:40:15 EDT 2004


This is a follow-up regarding the errors I'm rec'ing as I try to 
configure gdal.

# ./configure
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

Inspecting the config.log file shows:

PATH: /usr/sbin
PATH: /usr/bin

However:
 > which c++ returns
/opt/sfw/bin/c++

and
 > which g++ returns
/opt/sfw/bin/g++

Furthermore, in setenv PATH is defined to include /opt/sfw/bin, which is 
where these programs are located.

Why is configure only searching in /usr/bin and /usr/sbin?

Steve





More information about the Gdal-dev mailing list