ERROR compiling livestatus! checking whether the C++ compiler works... no
Error : C++ compiler
checking whether make sets $(MAKE)... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether the C++ compiler works... no
configure: error: in `/tmp/check_mk-1.2.0p3/livestatus.src':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
Solution
[root@skyon check_mk-1.2.0p3]# yum install gcc gcc-c++ kernel-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Package gcc-4.1.2-48.el5.i386 already installed and latest version
Package kernel-devel-2.6.18-194.el5.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package gcc-c++.i386 0:4.1.2-48.el5 set to be updated
--> Processing Dependency: libstdc++-devel = 4.1.2-48.el5 for package: gcc-c++
--> Running transaction check
---> Package libstdc++-devel.i386 0:4.1.2-48.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================== ====================================================================
Package Arch Version Repository Size
==================================================================================================== ====================================================================
Installing:
gcc-c++ i386 4.1.2-48.el5 base 3.4 M
Installing for dependencies:
libstdc++-devel i386 4.1.2-48.el5 base 2.8 M
Transaction Summary
==================================================================================================== ====================================================================
Install 2 Package(s)
Upgrade 0 Package(s)
Install successfully
Installation completed successfully.
Please restart Nagios and Apache in order to update/active check_mk's web pages.
Thanks
|