Find the answer to your Linux question:
Results 1 to 9 of 9
Hi, I have dual booted RHEL 5.0 with Windows Xp. I am not able install GCC compiler. I have downloaded the files from GCC website. Extracted the zip file in ...
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    2

    Unable to Install GCC in RHEL 5.0

    Hi,

    I have dual booted RHEL 5.0 with Windows Xp. I am not able install GCC compiler. I have downloaded the files from GCC website. Extracted the zip file in a directory. Now when I go to that directory it is not installing GCC.

    I am doing it offline so cant use RPM. I tried installing it from the DVD but could not do it.

    Also I am not able to access Internet using wifi and ehternet. I have Compaq Presario Laptop with 1 GB of RAM. AMD Turion Processor. nVidia ethernet card and Broadcomm Wifi card.

    Please help.

  2. #2
    Just Joined!
    Join Date
    May 2008
    Posts
    42
    Post the messages here when you try to install the package from DVD

  3. #3
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    why can't you use RPM? there is no online requirement.
    mount the dvd, cd into the directory with all the packages, and
    $ rpm -ivh --aid gcc-*
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  4. #4
    Just Joined!
    Join Date
    Jan 2009
    Posts
    3
    You can download the source package of gcc and then try...building from source is generally less error prone...best of luck..

  5. #5
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    Quote Originally Posted by me_ansh View Post
    You can download the source package of gcc and then try...building from source is generally less error prone...best of luck..

    How do you compile a compiler, without a compiler ?
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  6. #6
    Just Joined!
    Join Date
    Jan 2009
    Posts
    3
    Sorry, i thought you are trying to upgrade...
    Refer to Install GCC using rpm
    Hope this helps you....

  7. #7
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    Quote Originally Posted by me_ansh View Post
    Sorry, i thought you are trying to upgrade...
    Refer to Install GCC using rpm
    Hope this helps you....
    you can actually do it all with the
    $ rpm -ivh --aid gcc-*
    command. The --aid is automatically install dependencies. RPM was created for the purpose of relieving dependency hell. Just mount the dvd, cd to the packages directory, and run the command.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  8. #8
    Just Joined!
    Join Date
    Sep 2008
    Posts
    2
    Here is What I am doing:

    I have downloaded GCC-4.3.2 version files from gcc download page. Then I have stored this folder into Windows Partions which is FAT32 and I am sharing it as RHEL is in Dual boot with XP. Now I am navigating to that directory.

    I tried modifying /etc/yum.repos.d file to manually create repository to install gcc using YUM. I have changed the path to /mnt/classroom/gcc (Actual path in my sytem where I have stored GCC directory downloaded from internet)

    But when I issue yum install gcc-* command it throws an error saying that path should be ftp,http,file or https.

    Then I tried to install using DVD:

    DVD was automaounted. So whem I tried to navigate to DVD content it is giving an errorr. Beside when I do fdisk -l DVD drives does not show up in the volume table.

    Please advise as How can install GCC in RHEL 5.0. I am not able to install other softwares like NIC Drivers, Wireless Drivers and other softwares as I dont have compiler installed.


    Please Please help.


    Thank you all for your replies.

  9. #9
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    what error are you given when trying to navigate to the dvd content??
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...