Results 1 to 5 of 5

Thread: GCC not found

  1. #1

    Default GCC 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,733
    Blog Entries
    20

    Default Re: GCC not found

    You must have installed from a live CD. Which maybe doesn't have that package.

    rpm -ivh *filename*
    you ran as root?

    Alwyas better to use the dvd for install
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: GCC not found

    DVD size is more than 4 GB so it is not possible to take it in pen drive from my download place.You have any method so that I break the size and finally i joined it before writing it on DVD

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

    Default Re: GCC not found

    rpm -ivh *filename*
    you ran as root?
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5
    Tilman Schmidt NNTP User

    Default Re: GCC not found

    manish2621982 schrieb:
    > I have a problem...In open suse 11.0 ,there is not any gcc present with
    > distribution.


    Can't confirm. On my openSUSE 11.0 Retail DVD I find:

    ts@xenon:/media/SU1100.001/suse> find . -name "*gcc*"
    ../i586/cross-spu-gcc-4.3.1_20080507-7.1.i586.rpm
    ../i586/gcc43-4.3.1_20080507-6.1.i586.rpm
    ../i586/gcc43-c++-4.3.1_20080507-6.1.i586.rpm
    ../i586/gcc43-fortran-4.3.1_20080507-6.1.i586.rpm
    ../i586/gcc43-gij-4.3.1_20080507-9.1.i586.rpm
    ../i586/gcc43-info-4.3.1_20080507-6.1.i586.rpm
    ../i586/gcc43-java-4.3.1_20080507-9.1.i586.rpm
    ../i586/gcc43-objc-4.3.1_20080507-6.1.i586.rpm
    ../i586/gcc-4.3-39.1.i586.rpm
    ../i586/gcc-c++-4.3-39.1.i586.rpm
    ../i586/gcc-fortran-4.3-39.1.i586.rpm
    ../i586/gcc-gij-4.3-39.1.i586.rpm
    ../i586/gcc-info-4.3-39.1.i586.rpm
    ../i586/gcc-java-4.3-39.1.i586.rpm
    ../i586/gcc-objc-4.3-39.1.i586.rpm
    ../i586/libgcc43-4.3.1_20080507-6.1.i586.rpm
    ../x86_64/cross-spu-gcc-4.3.1_20080507-7.1.x86_64.rpm
    ../x86_64/gcc43-objc-32bit-4.3.1_20080507-6.1.x86_64.rpm
    ../x86_64/gcc43-fortran-32bit-4.3.1_20080507-6.1.x86_64.rpm
    ../x86_64/gcc43-32bit-4.3.1_20080507-6.1.x86_64.rpm
    ../x86_64/gcc43-4.3.1_20080507-6.1.x86_64.rpm
    ../x86_64/gcc43-c++-4.3.1_20080507-6.1.x86_64.rpm
    ../x86_64/gcc43-fortran-4.3.1_20080507-6.1.x86_64.rpm
    ../x86_64/gcc43-gij-4.3.1_20080507-9.1.x86_64.rpm
    ../x86_64/gcc43-info-4.3.1_20080507-6.1.x86_64.rpm
    ../x86_64/gcc43-java-4.3.1_20080507-9.1.x86_64.rpm
    ../x86_64/gcc43-objc-4.3.1_20080507-6.1.x86_64.rpm
    ../x86_64/gcc-32bit-4.3-39.1.x86_64.rpm
    ../x86_64/gcc-4.3-39.1.x86_64.rpm
    ../x86_64/gcc-c++-4.3-39.1.x86_64.rpm
    ../x86_64/gcc-fortran-4.3-39.1.x86_64.rpm
    ../x86_64/gcc-fortran-32bit-4.3-39.1.x86_64.rpm
    ../x86_64/gcc-gij-4.3-39.1.x86_64.rpm
    ../x86_64/gcc-info-4.3-39.1.x86_64.rpm
    ../x86_64/gcc-java-4.3-39.1.x86_64.rpm
    ../x86_64/gcc-objc-32bit-4.3-39.1.x86_64.rpm
    ../x86_64/gcc-objc-4.3-39.1.x86_64.rpm
    ../x86_64/libgcc43-4.3.1_20080507-6.1.x86_64.rpm
    ../x86_64/libgcc43-32bit-4.3.1_20080507-6.1.x86_64.rpm
    ts@xenon:/media/SU1100.001/suse>

    So it's all there.

    > 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.


    Then something must have gone wrong with the installation of the gcc
    package. Did the rpm command output anything? What does the command

    rpm -qa "*gcc*"

    say? What *exactly* is the result if you type gcc at a command prompt?


    >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.


    Dependencies don't come into play at that stage. It should at least
    find the gcc command. Later, for actually compiling and linking C
    programs, you'll need packages binutils, make, libc-devel, and
    depending on what you'll actually want to compile, probably a number
    of other -devel packages, too.

    HTH
    T.

Tags for this Thread

Posting Permissions

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