LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2008, 09:57 PM   #1
mazter
LQ Newbie
 
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
GCC installation problem on Suse


Hi Everybody,

I've been having this problem with gcc installation. I followed almost everything I could find online but none helped.

Here is the situation, on my system:
$ gcc
-bash: gcc: command not found

When I go into yast -> Software Management and search for gcc, I have these:
i|cpp||4.1.0|The GCC Preprocessor|4.6M
i|libgcc|4.1.2_20070115|4.1.0|C compiler runtime library|44.2 K

I can use cpp but there is no gcc on the system. I tried downloading rpm:

/gcc $ rpm -ivh gcc-4.1.2_20070115-0.14.src.rpm
1:gcc ########################################### [100%]

but nothing happens. I downloaded gcc binary and when I tried to configure:

/gcc/gcc-4.3.1 $ ./configure
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 whether ln works... yes
checking whether ln -s works... yes
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.

when I try locate gcc, only stuff I find below. So, is there anyway to install GCC on this system? Any feedback is much appreciated.

/usr/lib/gcc
/usr/lib/gcc/i586-suse-linux
/usr/lib/gcc/i586-suse-linux/4.1.0
/usr/lib/gcc/i586-suse-linux/4.1.0/cc1
/usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi/linux/compiler-gcc.ph
/usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi/linux/compiler-gcc3.ph
/usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi/linux/compiler-gcc4.ph
/usr/src/packages/SOURCES/gcc-4.1.0-power6.diff
/usr/src/packages/SOURCES/gcc-4.1.2-20070115.tar.bz2
/usr/src/packages/SOURCES/gcc-amdfam10-suse-1.patch
/usr/src/packages/SOURCES/gcc-amdfam10-suse-10.patch
/usr/src/packages/SOURCES/gcc-amdfam10-suse-11.patch
/usr/src/packages/SOURCES/gcc-amdfam10-suse-12.patch
/usr/src/packages/SOURCES/gcc-amdfam10-suse-2.patch
/usr/src/packages/SOURCES/gcc-amdfam10-suse-20.patch
/usr/src/packages/SOURCES/gcc-amdfam10-suse-3.patch
/usr/src/packages/SOURCES/gcc-amdfam10-suse-4.patch
/usr/src/packages/SOURCES/gcc-amdfam10-suse-5.patch
/usr/src/packages/SOURCES/gcc-amdfam10-suse-6.patch
/usr/src/packages/SOURCES/gcc-amdfam10-suse-7.patch
/usr/src/packages/SOURCES/gcc-amdfam10-suse-8.patch
/usr/src/packages/SOURCES/gcc-amdfam10-suse-9.patch
/usr/src/packages/SOURCES/gcc-noalias-warn.diff
/usr/src/packages/SOURCES/gcc4-ppc64-m32-m64-multilib-only.patch
/usr/src/packages/SOURCES/gcc41-fortran-where-opt.patch
/usr/src/packages/SOURCES/gcc41-ia64-stack-protector.patch
/usr/src/packages/SOURCES/gcc41-java-slow_pthread_self.patch
/usr/src/packages/SOURCES/gcc41-ldbl-default-libstdc++.patch
/usr/src/packages/SOURCES/gcc41-ldbl-default.patch
/usr/src/packages/SOURCES/gcc41-ppc32-retaddr.patch
/usr/src/packages/SOURCES/gcc41-ssse3.patch
/usr/src/packages/SOURCES/gcc41-strncat-chk.patch
/usr/src/packages/SOURCES/large-gcc.diff
/usr/src/packages/SPECS/gcc.spec
/var/lib/zypp/cache/Source.pqYy1Z/repodata/patch-libgcc-4599.xml
/var/lib/zypp/cache/Source.XRnbub/repodata/patch-libgcc-4599.xml
 
Old 07-17-2008, 04:36 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.0, MX-18
Posts: 4,260

Rep: Reputation: Disabled
That's very commendable that you try it by hand , but...

Open YAST2 and click on install software. Search for GCC. Click on the checkbox and install, yast will tell you what else you need (e.g. kernel headers and sources...). Much easier that way.
 
Old 07-17-2008, 04:51 AM   #3
matthalliday
Member
 
Registered: Jan 2006
Location: Brisbane, Australia
Distribution: Suse, Mandrake, IPCop, Debian, Slackware
Posts: 34

Rep: Reputation: 15
Quote:
Originally Posted by JZL240I-U View Post
That's very commendable that you try it by hand , but...

Open YAST2 and click on install software. Search for GCC. Click on the checkbox and install, yast will tell you what else you need (e.g. kernel headers and sources...). Much easier that way.
Lol. I agree.
 
  


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
Problem with new installation of SUSE, gcc & make not found abefroman SUSE / openSUSE 5 01-18-2008 01:36 PM
GCC installation problem nicky43 Linux - Software 3 07-22-2006 06:59 AM
Suse 9.3 gcc-g++ Installation Problem limneos Linux - Newbie 4 09-30-2005 07:27 PM
gcc -2.95 installation in Suse 9.1 Personal help needed. cutesneakers Linux - Software 2 04-04-2005 11:23 AM
Gcc installation problem Agileuk Linux - Newbie 2 09-28-2003 07:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:57 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