Error installing g++
I was trying to install a software on redhat linux and got the following error message.
DEPDIR=.deps depmode=none /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I../ -c -o FullPairwiseAlign.o `test -f './pairwise/FullPairwiseAlign.cpp' || echo './'`./pairwise/FullPairwiseAlign.cpp ../depcomp: line 571: exec: g++: not found I tried "yum install gcc-c++" and got the following error: No package gcc-c++ available. Nothing to do I also tried yum update, but the same results. Can anyone help me? |
Quote:
Hi, welcome to LQ! See the difference between the two highlights (in colour) above? That's your problem. Cheers, Tink |
What does yum search gcc return? Have you registered your server on rhn?
|
Quote:
here is the output for yum search: compat-glibc.i386 : Compatibility C library compat-glibc.x86_64 : Compatibility C library compat-gcc-34.x86_64 : Compatibility GNU Compiler Collection compat-gcc-34-c++.x86_64 : C++ support for compatibility compiler compat-gcc-34-g77.x86_64 : Fortran 77 support for compatibility compiler compat-libgcc-296.i386 : Compatibility 2.96-RH libgcc library compat-libstdc++-296.i386 : Compatibility 2.96-RH standard C++ libraries compat-libstdc++-33.i386 : Compatibility standard C++ libraries compat-libstdc++-33.x86_64 : Compatibility standard C++ libraries cpp.x86_64 : The C Preprocessor. dwarves.x86_64 : Debugging Information Manipulation Tools gcc.x86_64 : Various compilers (C, C++, Objective-C, Java, ...) gccxml.x86_64 : XML output extension to GCC ghdl.x86_64 : A VHDL simulator, using the GCC technology lib3ds.i386 : 3D Studio file format library lib3ds.x86_64 : 3D Studio file format library libgcc.i386 : GCC version 4.1 shared support library libgcc.x86_64 : GCC version 4.1 shared support library libgcj.i386 : Java runtime library for gcc libgcj.x86_64 : Java runtime library for gcc libgfortran.x86_64 : Fortran 95 runtime libgnat.i386 : GNU Ada 95 runtime shared libraries libgnat.x86_64 : GNU Ada 95 runtime shared libraries libgomp.i386 : GCC OpenMP 2.5 shared support library libgomp.x86_64 : GCC OpenMP 2.5 shared support library libmudflap.i386 : GCC mudflap shared support library libmudflap.x86_64 : GCC mudflap shared support library libstdc++.i386 : GNU Standard C++ Library libstdc++.x86_64 : GNU Standard C++ Library libtermcap.i386 : A basic system library for accessing the termcap database. libtermcap.x86_64 : A basic system library for accessing the termcap database. makedepf90.x86_64 : Create Makefile dependency list for Fortran source files mingw32-gcc.x86_64 : MinGW Windows cross-compiler (GCC) for C mingw32-gcc-c++.x86_64 : MinGW Windows cross-compiler for C++ python-zope-interface.x86_64 : Zope interfaces package ---------- Post added 10-26-11 at 01:10 PM ---------- Quote:
|
Quote:
|
you might want to install the whole tool chain
Code:
su - Code:
su - |
All times are GMT -5. The time now is 10:37 PM. |