LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   offline installing gcc to fedora 10 (https://www.linuxquestions.org/questions/linux-newbie-8/offline-installing-gcc-to-fedora-10-a-700094/)

amira77e 01-26-2009 10:17 PM

offline installing gcc to fedora 10
 
Hi!
I'm totally a newbie.
I'm trying to setup speedtouch 330 modem on my fedora 10 system
I get this error message:

Error: Cannot find gcc.
./speedtouchconf.sh: line 158: [: gcc: integer expression expected
Some required files are not installed:
gcc
Please install these (from your Linux install media,
or the internet) before you can configure and install
the speedtouch software.
Please check the PATH environment variable, and that you are running
as root. Your PATH variable is currently:
/usr/kerberos/sbin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/amira/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/kerberos/sbin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/amira/bin:/usr/local/bin:/usr/local/sbin

I work offline because I didn't setup the modem yet.
So, I try to install gcc by the command:

yum install gcc

I get the error:

Loaded plugins: refresh-packagekit
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...a-10&arch=i386 error was
[Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

I think this is because I'm offline.
I checked the site and found that I have the latest version of the libgcc on my fedora 10 dvd.
So, I tried installing it by using the rpm
but I get an error saying it's already installed.

Please help.
I've been working on this for weeks.
Thanks.

agrestic 01-27-2009 03:00 PM

Did you burn fedora? If so, was it at 4x speed or higher? I found, in burning distros to ISO's, that sometimes not all files are burned right if you burn the iso at a speed greater than 2x. Maybe overwriting gcc will work; there may be a file or 2 missing. From your internet-ready PC, download the correct gcc from here, put it on your fedora 10 box, & install it. HTH.


All times are GMT -5. The time now is 10:35 AM.