LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   gcc not installed in Suse 10.3 (https://www.linuxquestions.org/questions/suse-opensuse-60/gcc-not-installed-in-suse-10-3-a-610845/)

SlacUser 01-03-2008 10:12 AM

gcc not installed in Suse 10.3
 
I have recently installed OpenSuse 10.3 in a computer, but I can't compile anything because gcc is not installed within the distribution. I searched the package in the installation CD and the Add-on CD, but it is not included.

The Gcc project Site does not work, you know where can I download the sources?

Thanks in advance.

paulsm4 01-03-2008 10:27 AM

Hi -

You should definitely be able to install GCC in SuSE 10.3.

Plan A:
Yast, Add/Remove software, Search, gcc
<= Select "gcc development", [Install]

Plan B:
Yast, Add installation source
<= Configure SuSE to download media from the Internet (and not
just from your CD or DVD)
Add/Remove software, Search, gcc, ...
<= Same as "A" above...

'Hope that helps .. PSM

PS:
Here are some other links:
http://www.linuxquestions.org/questi...n-suse-609237/

http://fixunix.com/suse/247366-gcc-c...se-10-3-a.html

auxsvr 01-03-2008 10:31 AM

You need to install the gcc-4.2-24 RPM package from the main repository.

SlacUser 01-03-2008 01:01 PM

I search the gcc package and I got the following packages installed:

cpp42 --> gcc preprocessor
gcc-gij --> systemn gnu java bytecode interpreter
gcc42-gij -->java bytecode interpreter for gcc
libgcc42 --> C compiler runtime library
libgcj42 --> Java runtime library for GCC

That's all I got
With the following command I got that gcc is not installed:
rpm -q gcc


Thanks for your replies.

Dox Systems - Brian 01-04-2008 01:34 PM

Quote:

Originally Posted by SlacUser (Post 3010073)
I search the gcc package and I got the following packages installed:

cpp42 --> gcc preprocessor
gcc-gij --> systemn gnu java bytecode interpreter
gcc42-gij -->java bytecode interpreter for gcc
libgcc42 --> C compiler runtime library
libgcj42 --> Java runtime library for GCC

That's all I got
With the following command I got that gcc is not installed:
rpm -q gcc

You've managed to get the gcc Java stuff, but not the "real" gcc. Keep looking, you're on the right track, just haven't quite arrived at the station yet. :-)

reddazz 01-04-2008 02:38 PM

Hi. If you installed from the KDE, GNOME or the live cd discs, then gcc and most development tools will not be available. You need to go to YAST -> Software -> Community Repositories and setup the main, updates and other repositories you wish. Once thats done, search for gcc in YAST and you should be able to find all the gcc related packages shipped in openSUSE.


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