Find the answer to your Linux question:
Page 1 of 4 1 2 3 4 LastLast
Results 1 to 10 of 31
hello.. i got suse9.2 how do i install gcc? i dont got my suse cd any more so where can i download gcc and how to install it? linux:/usr/local/src/lmule-1.2.1 # ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    20

    How to - install gcc????


    hello.. i got suse9.2
    how do i install gcc? i dont got my suse cd any more so where can i download gcc and how to install it?

    linux:/usr/local/src/lmule-1.2.1 # ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets ${MAKE}... yes
    checking for g++... no
    checking for c++... no
    checking for gpp... no
    checking for aCC... no
    checking for CC... no
    checking for cxx... no
    checking for cc++... no
    checking for cl... no
    checking for FCC... no
    checking for KCC... no
    checking for RCC... no
    checking for xlC_r... no
    checking for xlC... no
    checking for C++ compiler default output... configure: error: C++ compiler cannot create executables
    linux:/usr/local/src/lmule-1.2.1 #

  2. #2
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    a search on rpmfind reveals:
    http://rpmfind.net/linux/rpm2html/se...submit=Search+...

    basicially download it and install with yast. or see the gcc site for non rpm versions: http://gcc.gnu.org/
    Life is complex, it has a real part and an imaginary part.

  3. #3
    Linux Newbie
    Join Date
    Aug 2005
    Posts
    214
    If you have SuSE cds run "Install and Remove Software" from YaST, give a search for "gcc", check and install.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    You would be best with the rpm as that can be installed with Yast and it will be more hassle free than from source. Plus, since you don't have the CD's, you should consider adding ftp/http sources for Yast if you have a fast internet connection.

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  6. #5
    Linux Newbie
    Join Date
    Aug 2005
    Posts
    214

    Re: How to - install gcc????

    Quote Originally Posted by nos86
    i dont got my suse cd any more...
    oops I missed this part.

  7. #6
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    Howto here: http://forums.suselinuxsupport.de/in...howtopic=13275

    Make sure in the ftp path you use 9.2 instead of 9.1 so that you get the correct binaries.

    Also, if you don't like using the SuSE ftp server (which is pretty swamped), you may check out the international mirrors: http://www.novell.com/products/linux...t_mirrors.html

    You can install the rpms through YaST or from CLI:
    Code:
    rpm -Uvh rpm_name_here.rpm
    (as root)

  8. #7
    Just Joined!
    Join Date
    Sep 2005
    Posts
    20
    ok.. so i got gcc installed.. its asked for many other packages like glib, glibc-devel and blablabla.. but i did it.. and i still cant install my lmule..

    linux:/usr/local/src/lmule-1.2.1 # ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets ${MAKE}... yes
    checking for g++... no
    checking for c++... no
    checking for gpp... no
    checking for aCC... no
    checking for CC... no
    checking for cxx... no
    checking for cc++... no
    checking for cl... no
    checking for FCC... no
    checking for KCC... no
    checking for RCC... no
    checking for xlC_r... no
    checking for xlC... no
    checking for C++ compiler default output... configure: error: C++ compiler cannot create executables

  9. #8
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    you probably will have to add gcc to your path:

    first find where gcc is installed with:
    Code:
    which gcc
    then add this line to your ./.bashrc file:
    Code:
    export PATH=$PATH:/path_to_gcc
    replace path_to_gcc with the actual path e.g. usr/local/bin.
    Life is complex, it has a real part and an imaginary part.

  10. #9
    Just Joined!
    Join Date
    Sep 2005
    Posts
    20
    linux:/usr/local/src/miranda # which gcc
    /usr/bin/gcc

    linux:/usr/local/src/miranda # export PATH=$PATH:/usr/bin/gcc

    linux:/usr/local/src/lmule-1.2.1 # ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets ${MAKE}... yes
    checking for g++... no
    checking for c++... no
    checking for gpp... no
    checking for aCC... no
    checking for CC... no
    checking for cxx... no
    checking for cc++... no
    checking for cl... no
    checking for FCC... no
    checking for KCC... no
    checking for RCC... no
    checking for xlC_r... no
    checking for xlC... no
    checking for C++ compiler default output... configure: error: C++ compiler cannot create executables
    linux:/usr/local/src/lmule-1.2.1 #

  11. #10
    Linux User eugrus's Avatar
    Join Date
    Dec 2004
    Location
    Russia
    Posts
    391
    Quote Originally Posted by nos86
    linux:/usr/local/src/miranda # which gcc
    /usr/bin/gcc

    linux:/usr/local/src/miranda # export PATH=$PATH:/usr/bin/gcc
    In $PATH var. directory should be set, not binary.
    And /usr/bin is already in your $PATH, I think.


    Try
    Code:
    export CC=/usr/bin/gcc
    before configure

Page 1 of 4 1 2 3 4 LastLast

Posting Permissions

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