LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   trouble installing software from source (https://www.linuxquestions.org/questions/linux-software-2/trouble-installing-software-from-source-452138/)

ol1v3rw 06-06-2006 12:02 PM

trouble installing software from source
 
i am new to linux (windows packed up again) and am having trouble installing any software. I have looked through the installation instructions that come with the software and many tutorials. But everytime i have problems. After i typed ./configure it goes through the license agreement etc but at the end i get:

gmake: g++: command not found
gmake: *** [project.o] Error 127

when i type in make i get the message
*** no target specified make file not found. stop
plz can you help.

btw i am running suse 10.1 and gnome - does that make a difference, should i change to kde?
thanks

jeelliso 06-06-2006 12:05 PM

It sounds like you didn't install the development packages, specifically g++, which is used to complie object oriented software (and also non-object oriented software). Tell YaST to install it. Then you should be okay.

If your computer does have g++ installed, then the make script just can't find it. Read the INSTALL or README and see if there is a command line argument you can pass to the ./configure command that will tell it where your g++ is located.

Gnome and KDE won't make a difference since you're doing it from the command line anyways. These are just desktop environments, they really don't have anything to do with compiling software.

Nylex 06-06-2006 12:06 PM

You need g++, the GNU C++ compiler. The package name may be gcc-c++-<version> or gcc-g++-<version>. Install it and try again.

Linux~Powered 06-06-2006 12:07 PM

You need g++




Darn. Nylex beat me

jeelliso 06-06-2006 12:08 PM

Linux~Powered,

I've loving the Iron Maiden signature.

Linux~Powered 06-06-2006 12:10 PM

Nice! I like that you like I like it.:scratch:

ol1v3rw 06-06-2006 12:14 PM

cheers, thanks alot


All times are GMT -5. The time now is 06:26 AM.