Results 1 to 7 of 7

Thread: gcc command not found

  1. #1

    Default gcc command not found

    I have a problem...In open suse 11.0 ,there is not any gcc present with distribution.And also i have not any internet connection.So i downloaded the RPM packages of gcc 4.3.1 from open suse software package website and i install it through
    command
    rpm -ivh filename.rpm
    but when i type gcc on command prompt it told that GCC command not found.I install all dependencies.
    If you know,what are the RPM packages require for installing GCC,G++(ie c and C++).please help me out.

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,729
    Blog Entries
    20

    Default Re: gcc command not found

    Why the double post?
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    822

    Default Re: gcc command not found

    On Wed, 20 Aug 2008 05:26:03 GMT
    manish2621982 <manish2621982@no-mx.forums.opensuse.org> wrote:

    >
    > I have a problem...In open suse 11.0 ,there is not any gcc present with
    > distribution.And also i have not any internet connection.So i
    > downloaded the RPM packages of gcc 4.3.1 from open suse software
    > package website and i install it through
    > command
    > rpm -ivh filename.rpm
    > but when i type gcc on command prompt it told that GCC command not
    > found.I install all dependencies.
    > If you know,what are the RPM packages require for installing GCC,G++(ie
    > c and C++).please help me out.
    >
    >


    Did you install OpenSUSE 11.0 from the installation DVD or through another
    means?

    The installation DVD contains gcc, g++ and a myriad of other software. Use
    the YAST program, then click on 'Software Management', when that finishes
    its startup checks, type 'gcc' in the search box, press enter, and then click
    on the gcc entry on the right.

    There is a better way to get all you need though. Click the little "Filter"
    dropdown above the search box, choose "Patterns"

    The scroll down the list until you find the "Development" group, and then
    click on "C/C++ Development", this will autoselect everything you need.

    Then click on "Accept", allow the program to pull the packages from the DVD
    and install them, might take a few minutes.

    When it's done, say "NO" to the "install more" prompt, and you should be all
    ready to program the next great application!

    Hope this helps.

    Loni

    --
    L R Nix
    lornix@lornix.com


  4. #4

    Default Re: gcc command not found

    I have installed through KDE CD not through DVD.

  5. #5

    Default Re: gcc command not found

    I have installed through KDE LIVE CD.which does not contain gcc.

  6. #6
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    822

    Default Re: gcc command not found

    On Wed, 20 Aug 2008 06:46:03 GMT
    manish2621982 <manish2621982@no-mx.forums.opensuse.org> wrote:

    >
    > I have installed through KDE LIVE CD.which does not contain gcc.
    >
    >


    Well, considering it's a LIVE CD, I really wouldn't expect it to have
    development tools on it.

    The INSTALL DVD *does* contain a huge amount of software, I'd really
    recommend finding a way to download that and burn it to a DVD to use with
    your machine.

    With such a small usb flash drive to sneaker-net stuff, and no internet
    connection, I'm afraid it's going to be VERY daunting to obtain ALL of the
    packages you'll need. There are more than 50, possibly more than 100
    packages needed, depending on what language or system you'll be programming
    towards.

    Here's a *PARTIAL* list...

    autoconf
    automake
    bin86
    binutils
    binutils-devel
    bison
    boost-devel
    boost-doc
    boost-jam
    cpp
    cvs
    ddd
    e2fsprogs-devel
    fdupes
    flex
    gcc
    gcc-c++
    gcc-info
    gdbm-devel
    gettext-tools
    glibc-devel
    glibc-info
    glibc-info
    gmp-devel
    gperf
    libaio-devel
    libapparmor-devel
    libdb-4_5-devel
    libgcj-devel
    libosip2-devel
    libstdc++-devel
    libtool
    ltrace
    m4
    make
    ncurses-devel
    openldap2-devel
    pam-devel
    patch
    patch
    pkg-config
    posix_cc
    rcs
    subversion
    swig
    texinfo
    texinfo
    valgrind
    zlib-devel


    It's not complete... there's MANY more.

    I still recommend downloading and burning the INSTALL DVD. It will save you
    much trouble.

    Good luck.

    Loni

    --
    L R Nix
    lornix@lornix.com


  7. #7
    Spoook NNTP User

    Default Re: gcc command not found

    Quote Originally Posted by lornix View Post
    On Wed, 20 Aug 2008 05:26:03 GMT
    manish2621982 <manish2621982@no-mx.forums.opensuse.org> wrote:

    >
    > I have a problem...In open suse 11.0 ,there is not any gcc present with
    > distribution.And also i have not any internet connection.So i
    > downloaded the RPM packages of gcc 4.3.1 from open suse software
    > package website and i install it through
    > command
    > rpm -ivh filename.rpm
    > but when i type gcc on command prompt it told that GCC command not
    > found.I install all dependencies.
    > If you know,what are the RPM packages require for installing GCC,G++(ie
    > c and C++).please help me out.
    >
    >


    Did you install OpenSUSE 11.0 from the installation DVD or through another
    means?

    The installation DVD contains gcc, g++ and a myriad of other software. Use
    the YAST program, then click on 'Software Management', when that finishes
    its startup checks, type 'gcc' in the search box, press enter, and then click
    on the gcc entry on the right.

    There is a better way to get all you need though. Click the little "Filter"
    dropdown above the search box, choose "Patterns"

    The scroll down the list until you find the "Development" group, and then
    click on "C/C++ Development", this will autoselect everything you need.

    Then click on "Accept", allow the program to pull the packages from the DVD
    and install them, might take a few minutes.

    When it's done, say "NO" to the "install more" prompt, and you should be all
    ready to program the next great application!

    Hope this helps.

    Loni

    --
    L R Nix
    lornix@lornix.com
    I did this but gcc continues to report that
    cc1 is not found.

Posting Permissions

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