[CentOS] configure and assembler

Mon Dec 17 21:49:03 UTC 2007
Garrick Staples <garrick at usc.edu>

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++'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20071217/abf5900a/attachment-0004.sig>