On Mon, Dec 17, 2007 at 03:55:55PM -0600, Frank M. Ramaekers alleged:
I'm attempting to install a product and it's failing the compiler check.
CentOS 5.1
- echo='/bin/echo -e'
- rm -rf configure-tmp
- mkdir configure-tmp
- tmp_file=configure-tmp/xxx
- makedirs=.
- /bin/echo -e 'Checking C++ compiler... \c'
Checking C++ compiler... + cat
- CXX=unknown
- for i in '"CC"' '"g++"' '"cc"' '"$CC"'
- CC -c configure-tmp/xxx.C
- for i in '"CC"' '"g++"' '"cc"' '"$CC"'
- g++ -c configure-tmp/xxx.C
- for i in '"CC"' '"g++"' '"cc"' '"$CC"'
- cc -c configure-tmp/xxx.C
- for i in '"CC"' '"g++"' '"cc"' '"$CC"'
- -c configure-tmp/xxx.C
- test unknown = unknown
- /bin/echo -e 'Error: Could not find a working C++ compiler.'
Error: Could not find a working C++ compiler.
It looks like a very old autoconf?
Try './configure CC=gcc CXX=g++'