LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-03-2008, 10:12 AM   #1
SlacUser
Member
 
Registered: Apr 2007
Location: México
Distribution: Slackware, Fedora
Posts: 61

Rep: Reputation: 15
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.
 
Old 01-03-2008, 10:27 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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

Last edited by paulsm4; 01-03-2008 at 10:32 AM.
 
Old 01-03-2008, 10:31 AM   #3
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Rep: Reputation: 30
You need to install the gcc-4.2-24 RPM package from the main repository.
 
Old 01-03-2008, 01:01 PM   #4
SlacUser
Member
 
Registered: Apr 2007
Location: México
Distribution: Slackware, Fedora
Posts: 61

Original Poster
Rep: Reputation: 15
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.
 
Old 01-04-2008, 01:34 PM   #5
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
Quote:
Originally Posted by SlacUser View Post
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. :-)
 
Old 01-04-2008, 02:38 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC not installed by default in SUSE 10.1? *Xenny* SUSE / openSUSE 3 08-07-2006 09:02 AM
Compiling gcc without any gcc installed my_kappa Linux - Software 5 01-30-2006 12:15 AM
can't get GCC installed Skaan Linux - Newbie 2 05-26-2005 10:21 AM
What gcc do I have installed? Thaidog Linux - Newbie 2 09-27-2004 08:11 PM
SuSE Linux 9.1, YaST says GCC installed, but Installers Say No Compiler Available Desert Linux - Software 1 07-24-2004 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 07:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration