LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error in installation of gcc on SUSE 10. (https://www.linuxquestions.org/questions/linux-software-2/error-in-installation-of-gcc-on-suse-10-a-727214/)

brave heart 05-20-2009 02:43 AM

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

Nylex 05-20-2009 02:50 AM

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.

brave heart 05-20-2009 05:30 AM

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?

Nylex 05-20-2009 06:57 AM

This makes it look very easy. Can you be a bit more specific with regards to what you don't understand?

brave heart 05-25-2009 03:59 AM

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.

Nylex 05-25-2009 04:24 AM

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).

brave heart 05-27-2009 01:50 AM

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.

Nylex 05-27-2009 07:06 AM

Does this help you at all? Look at the "Installing non-distribution software" section.

brave heart 06-09-2009 04:59 AM

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.

Nylex 06-25-2009 12:33 PM

Unfortunately, I can't help you further as I don't use SUSE. Sorry :(.

brave heart 06-26-2009 03:26 AM

Quote:

Originally Posted by Nylex (Post 3586216)
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.


All times are GMT -5. The time now is 09:07 AM.