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:
|
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.
|
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? |
This makes it look very easy. Can you be a bit more specific with regards to what you don't understand?
|
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. |
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). |
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. |
Does this help you at all? Look at the "Installing non-distribution software" section.
|
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. |
Unfortunately, I can't help you further as I don't use SUSE. Sorry :(.
|
Quote:
Is there anybody can help? Thanks in advance. |
All times are GMT -5. The time now is 09:07 AM. |