LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-20-2009, 03:43 AM   #1
brave heart
Member
 
Registered: Mar 2007
Distribution: Fedora-14
Posts: 155
Blog Entries: 8

Rep: Reputation: 15
Error in installation of gcc on SUSE 10.


I used SUSE Linux Enterprise Desktop 10 SP1 (i586) - Kernel \r (\l).

Download gcc tar file(gcc-core-4.1.2.tar.bz2) from http://sourceforge.net/project/showf...ease_id=534522.

After untar, cd into the archive. And I got following:
Quote:
linux-ztd3:~/Desktop/gcc-4.1.2 # ./configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build 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
configure: error: no acceptable cc found in $PATH
 
Old 05-20-2009, 03:50 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You can't install the source because you've got no C compiler with which to build it. Use pre-built packages for your distribution. If you don't know how to use your distribution's package management system, read the documentation. I don't use SUSE, so I'm not sure how the package management system works.
 
Old 05-20-2009, 06:30 AM   #3
brave heart
Member
 
Registered: Mar 2007
Distribution: Fedora-14
Posts: 155
Blog Entries: 8

Original Poster
Rep: Reputation: 15
Thanks, Nylex.

Looked the YaST(SUSE package management tool) docu for several hours and tried, I really can't figure it out.

Can anybody help?
 
Old 05-20-2009, 07:57 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
This makes it look very easy. Can you be a bit more specific with regards to what you don't understand?
 
Old 05-25-2009, 04:59 AM   #5
brave heart
Member
 
Registered: Mar 2007
Distribution: Fedora-14
Posts: 155
Blog Entries: 8

Original Poster
Rep: Reputation: 15
Thanks, Nylex and sorry for late reply.

I tried according to the docu you provided. It seems to need a distribution disc(and sorry for I have no one available currently). So, may I use the online source from internet? If yes, could you please teach me the address?

Maybe it should be more helpful to download rpm packages and install step by step for our newbies to learn.

Thank you once again.

Last edited by brave heart; 05-25-2009 at 05:01 AM.
 
Old 05-25-2009, 05:24 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
The problem with downloading the RPMs by yourself is that you're likely to run into dependency problems. Package management systems are supposed to take take of such issues for you.

What I would do is look to see if you can change where it looks for packages from. You want to make sure that it's using some kind of online repository. Unfortunately, I can't be too specific, as I don't use SUSE. Also, see if there are any other tools you can use to install software (i.e. by looking through the menus in the desktop environment).
 
Old 05-27-2009, 02:50 AM   #7
brave heart
Member
 
Registered: Mar 2007
Distribution: Fedora-14
Posts: 155
Blog Entries: 8

Original Poster
Rep: Reputation: 15
Yes, I do want to use some kind of online repository.

I tried "Install Software", "Update Software", etc., all failed. It seems no software can access on line repository in SUSE.

Hope I am wrong.

Last edited by brave heart; 05-27-2009 at 02:52 AM.
 
Old 05-27-2009, 08:06 AM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Does this help you at all? Look at the "Installing non-distribution software" section.
 
Old 06-09-2009, 05:59 AM   #9
brave heart
Member
 
Registered: Mar 2007
Distribution: Fedora-14
Posts: 155
Blog Entries: 8

Original Poster
Rep: Reputation: 15
Hey, Nylex. Sorry for so late reply(really busy this several days).

I tried the instruction you provide, firstly it works well, and then after input

"mirrors.kernel.org" into "Server Name" and

"/opensuse/distribution/SL-10.1/inst-source" into "Directory on Server",

I got following error popup:

"Unable to create installation source from URL "http://mirrors.kernel.org/opensuse/distribution/SL-10.1/inst-source" .
Details: Unknown source type for http://mirrors.kernel.org/opensuse/d....1/inst-source
Try again?"

And I looked the URL, it seems non-effect one. However, I can't find the right one yet.

Last edited by brave heart; 06-12-2009 at 04:30 AM.
 
Old 06-25-2009, 01:33 PM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Unfortunately, I can't help you further as I don't use SUSE. Sorry .
 
Old 06-26-2009, 04:26 AM   #11
brave heart
Member
 
Registered: Mar 2007
Distribution: Fedora-14
Posts: 155
Blog Entries: 8

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Nylex View Post
Unfortunately, I can't help you further as I don't use SUSE. Sorry .
You've really helped me a lot. Thank you very much.

Is there anybody can help? Thanks in advance.
 
  


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 installation problem on Suse mazter Linux - Software 2 07-17-2008 04:51 AM
GCC installation error SpecHackers Red Hat 3 04-10-2008 06:17 PM
GCC doesn't work Binutils configuration or installation error fadelhomsi Linux From Scratch 2 09-20-2007 09:00 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


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