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.
+ exit 1
------------------------------------------------------------------------
--Testing the command manually:

cc -c configure-tmp/xx.C
cc: configure-tmp/xx.C: No such file or directory
cc: no input files
------------------------------------------------------------------------
--
gcc is installed:

yum info gcc
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
Installed Packages
Name   : gcc
Arch   : i386
Version: 4.1.2
Release: 14.el5
Size   : 9.5 M
Repo   : installed
Summary: Various compilers (C, C++, Objective-C, Java, ...)

Description:
The gcc package contains the GNU Compiler Collection version 4.1.
You'll need this package in order to compile C code.
------------------------------------------------------------------------
--Any ideas about this 'cc1plus' that is not on my system?


Frank M. Ramaekers Jr.
Systems Programmer                   MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Co.   Phone: (254)761-6649
1200 Wooded Acres Dr.                Fax:   (254)741-5777
Waco, Texas  76701
        

 



_____________________________________________________
This message contains information which is privileged and confidential and is 
solely for the use of the
intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,
copying, distribution, or use of the contents of this message is strictly 
prohibited. If you have
received this in error, please destroy it immediately and notify us at [EMAIL 
PROTECTED]
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to