Results 1 to 10 of 13
Dear All,
I am using Suse 10.0. But I couldn't get the C++ Compiler work. (I type cc, gcc, g++, ... in the terminal with no luck). I also tried ...
- 11-10-2006 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 46
C++ Compiler in SuSe 10.0
Dear All,
I am using Suse 10.0. But I couldn't get the C++ Compiler work. (I type cc, gcc, g++, ... in the terminal with no luck). I also tried the suggestion from some on this site by typing:
rpm -qa | grep gcc
Still couldn't get it work.
Can anyone help me out?
- 11-10-2006 #2
Is the compiler itself installed and erroring out or is it saying command not found, thus it is not installed?
If it is not installed, go to Yast and Software Management. Search for g++ and install it.
BryanLooking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- 11-10-2006 #3Just Joined!
- Join Date
- Nov 2006
- Posts
- 46
Re: C++ compiler in Suse 10.0
Thanks. I found the gcc in YAST. But when I try to install it, the computer seems take forever to do this (Sorry I am a linux newbie). Do I have to inser the CD to do this?
- 11-10-2006 #4
Yes unless you do one of two things: copy all the rpms to your hard drive and make a yast directory of where you copied them or you find a source online that has all the rpms. A list of online Yast repos can be found at the wiki but I can't seem to find it. If I do, I will post back.
BryanLooking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- 11-10-2006 #5Just Joined!
- Join Date
- Nov 2006
- Posts
- 46
Thank you so much! I will use the CD and see if it work.
BTW, I always worry about my linux system, i.e., if it works properly. Because once I try to do online update, but it took the computer so long and finally it went dead (I can not even turn off the computer, and finally I have to press the power button to turn it off, I am using Suse 10.0, not 10.1)
Can you suggest me a method that could find out if the linux is working properly ( I usually work under the user, not root). I greatly appreciate your help.
- 11-10-2006 #6Linux Newbie
- Join Date
- Nov 2006
- Posts
- 125
The only thing I can think of is do an md5 check sum on your installation disk/s to see if they were corrupted when installed. If that goes fine, go to Yast and check EVERYTHING to see if you've stuffed up a setting or if yast autodetected the wrong setting.
A check feature would be really nice! I don't think it is even in 10.1. Suse feels really incomplete when you get it, but after a bit of teaking it ROCKS.
- 11-10-2006 #7Just Joined!
- Join Date
- Nov 2006
- Posts
- 1
Here is the link to the place in the wiki about package repositories.
http://en.opensuse.org/Package_Repositories
Another one I have bookmarked and use is...
http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/
- 11-10-2006 #8Just Joined!
- Join Date
- Nov 2006
- Posts
- 46
thanks for all your generous help.
Two more stupid questions fro a newbie like me:
1. How to do the md5 check?
2. For the package repositories, how to use ?
- 11-11-2006 #9Just Joined!
- Join Date
- Nov 2006
- Posts
- 46
I got the gcc installed from my disk. Thank you so much!
To use gcc, do I need to do anything else? like set the path?
- 11-11-2006 #10
For your package repo question: http://en.opensuse.org/Additional_Ya...T_Repositories
For your md5 check question, type md5sum <iso name>. This will spit out an md5sum for the iso. Compare this to the md5sum file on the ftp directory with the iso images. If they match, you are good to go. If not, something is wrong with the image.
For your gcc question, once it is installed, everything is good to go!
BryanLast edited by bryansmith; 11-11-2006 at 08:54 PM.
Looking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.


Reply With Quote