LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-23-2006, 04:37 PM   #1
linx444
LQ Newbie
 
Registered: Mar 2006
Posts: 21

Rep: Reputation: 1
Question suse 10.0 GCC


Hi Guys,

I have installed open suseslick(v10) however I am trying to install a plugin for the KDE. However when coming to complile or configure the program it says I dont have a GCC installed. Please see error below. Any help or recommendations in installing a GCC rpm will greatly be appriciated.

Linx444

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /opt/kde3/bin/kde-config
checking where to install... /opt/kde3 (as returned by kde-config)
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
 
Old 03-23-2006, 04:52 PM   #2
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 718
Blog Entries: 1

Rep: Reputation: 33
Smile

Its already available in Yast install menu.get it installed if possible g++ also...if you have installed gcc already then check for environment variables properly set..especially $PATH and ld.

Last edited by deepclutch; 03-23-2006 at 04:54 PM.
 
Old 03-23-2006, 05:02 PM   #3
linx444
LQ Newbie
 
Registered: Mar 2006
Posts: 21

Original Poster
Rep: Reputation: 1
I have tried to looking in YAST cant see the package. Could only see a GCC pre proccessor in it.

YAST>Packcage Groups> Development> Languages> CPP_4.0.2

any other ideas were it should be in YAST???
 
Old 03-23-2006, 05:30 PM   #4
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 718
Blog Entries: 1

Rep: Reputation: 33
Smile

I dont use Suse.I tried Open SUse 10 with 5 cd's and it definitely have gcc and g++ etc available in Yats menu.if u missed any cd source check for that,also from suse sites u can get the rpms I believe

http://lenz.homelinux.org/RPMs/

http://susewiki.org/index.php?title=Finding_RPMs

http://www.novell.com/products/linux...index_all.html
 
Old 03-23-2006, 06:00 PM   #5
linx444
LQ Newbie
 
Registered: Mar 2006
Posts: 21

Original Poster
Rep: Reputation: 1
Sorry I am a complete n00b, have found a gcc within linux, what do I do from here is it correct GCC.

Do I even need GCC to complete the complile. Can I use anything else.

Sorry I am completely confused on how to proceed next.

Linx444

==========================

linux:/usr/lib/gcc # ls -l
total 24
drwxr-xr-x 3 root root 80 Mar 23 19:39 .
drwxr-xr-x 71 root root 25024 Mar 23 19:39 ..
drwxr-xr-x 3 root root 72 Mar 23 19:39 i586-suse-linux

linux:/usr/lib/gcc/i586-suse-linux/4.0.2 # ls -l
total 4084
drwxr-xr-x 2 root root 72 Mar 23 19:44 .
drwxr-xr-x 3 root root 72 Mar 23 19:39 ..
-rwxr-xr-x 1 root root 4176364 Sep 3 2005 cc1
 
Old 03-25-2006, 03:46 AM   #6
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 718
Blog Entries: 1

Rep: Reputation: 33
Post

if gcc is there.try geetting version
Code:
root@dapper:~# gcc --version
see if it is displayed.
 
Old 03-25-2006, 10:17 AM   #7
linx444
LQ Newbie
 
Registered: Mar 2006
Posts: 21

Original Poster
Rep: Reputation: 1
no doesnt seem to be there

linux:/ # gcc --version
-bash: gcc: command not found
 
Old 03-25-2006, 01:32 PM   #8
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
It looks like what you found is the gcc libraries, which are installed. You need the actual compiler binary. Try rpmfind.net if you can't locate it anywhere else. If you downloaded a full set of install CDs it should be somewhere on them, too.
 
Old 03-26-2006, 10:00 AM   #9
linx444
LQ Newbie
 
Registered: Mar 2006
Posts: 21

Original Poster
Rep: Reputation: 1
The distro I got was from Linux format magazine. Can find any GCC rpms on it. When looking on novell website the distro should have it so bit confusing. when I go to download and install gcc rpms it either errors on yast for install or has multiple conflicts saying needs glib, glibc-devel, cpp-3.3,5-5. Any suggestions ??? Very confused!!
 
Old 03-27-2006, 05:10 PM   #10
linx444
LQ Newbie
 
Registered: Mar 2006
Posts: 21

Original Poster
Rep: Reputation: 1
OK, I have now managed to install the following programs successfully:

binutils-2.16.91.0.2-8.4.src.rpm
glibc.2.3.4-23.4.src.rpm
glibc-devel-2.3.4-23.4.i586.rpm

However when I go to install gcc-3.3.5-5.src.rpm or a lower version.
It errors within YAST with the following message :

Error - following packages havent been found on the medium :GCC

Catch 22 or what???? Any GURUS - Please help???
 
Old 03-27-2006, 09:23 PM   #11
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 718
Blog Entries: 1

Rep: Reputation: 33
get gcc rpm,not .src.rpm-this is source rpm..
 
Old 03-28-2006, 07:03 AM   #12
onjoo
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Suse 10, Suse-factory , RHEL4, SLES9, SLED10
Posts: 380

Rep: Reputation: 30
Ok the biggest problem is that you are using SLICK not suse10.0 . Super(and slick) are experimental projects. Its just a 1 cd distro with kde, not really a true suse release.

READ THIS INFO : http://en.opensuse.org/1_CD_install

The thing is that SLICK is mainly updated with APT/synaptic, not with YAST or YOU.
So update sources.list and use apt to get gcc, it will download dependencies automatically.
 
Old 03-28-2006, 07:17 AM   #13
onjoo
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Suse 10, Suse-factory , RHEL4, SLES9, SLED10
Posts: 380

Rep: Reputation: 30
Quote:
Originally Posted by linx444
The distro I got was from Linux format magazine. Can find any GCC rpms on it. When looking on novell website the distro should have it so bit confusing.
Linux format magazine has made a stupid decision to spread this thingy.

SLICK isn't Novells linux product nor is it really supported by Suse.

"SUPER is a testbed for anything that makes your SUSE Linux OS perform in a different manner than intended in the more stable and enterprise oriented SUSE Linux tree. This can be a speed improvement geared towards the specialised desktop user or an additional feature that is considered too experimental or dangerous by the main SUSE Linux tree."

"SLICK is a single-CD distribution of openSUSE featuring all of SUPER's enhancements, but containing only the base KDE/GNOME desktop and dependent packages."

MORE INFO HERE: http://www.linux.com/article.pl?sid=05/10/19/2026240
 
  


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
Suse 9.1 and gcc kirtimaan_bkn SUSE / openSUSE 7 01-08-2006 11:36 PM
No gcc on Suse 10? dr_zayus69 SUSE / openSUSE 3 12-22-2005 12:54 PM
no gcc in suse?? wLancer Linux - Software 14 11-29-2004 06:30 PM
GCC 3.4.2 on SuSE 9.1 escordeiro Linux - Newbie 10 11-12-2004 05:16 PM
help with gcc install on suse 9.1 Daz_Man2803 Linux - Software 5 08-01-2004 05:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration