LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   g++ needed by gmake, but missing on FC14 (https://www.linuxquestions.org/questions/linux-newbie-8/g-needed-by-gmake-but-missing-on-fc14-879877/)

dryheat 05-10-2011 01:52 PM

g++ needed by gmake, but missing on FC14
 
Greetings. I am trying to install a library using gmake (recommended by author instead of make) on a FC14 machine. gmake fails when trying to call /usr/bin/g++, and there is no g++ in /usr/bin.

I have the "various compilers" package installed via the gnome Add/Remove Software interface. When I search on "g++" for available packages, I get two choices: "Cross Compiling GNU G++ targeted at arm-gp2-linux" and "Cross Compiling GNU GCC targeted at avr."

I don't have an ARM processor and I don't know what avr is, so I'm wondering if one of these is the right package, or if I need something else. Anyone have guidance?

TIA

Steve

knudfl 05-10-2011 02:19 PM

Quite simple : # yum search c++
Or : # yum provides */g++

And then : # yum install gcc-c++

Quote:

I am trying to install a library
May be it's available too ? Please try with # yum provides */lib...


By the way : make = gmake ( gmake is usually a link to make ! )

..

John VV 05-10-2011 06:24 PM

also depending on just WHAT this program is it might not be compatible with the VERY VERY new gcc compiler in fedora

depending on errors you might also need the slightly older gcc4.3 or 4.1 or the old 3.4

fedora uses the very new 4.5 or 4.6 compiler , while most NEW programs do build with 4.5 not all will .

this can be a big problem for new to linux users that use Fedora

Very often fedora is WAY too new for the programs they want to run .


All times are GMT -5. The time now is 01:25 AM.