Find the answer to your Linux question:
Results 1 to 10 of 10
i have been having trouble since ages to download gcc i type ./configure i get the following error linux:/home/abubakr/Documents/gcc-3.0.4 # ./configure Configuring for a i686-pc-linux-gnu host. Created "Makefile" in /home/abubakr/Documents/gcc-3.0.4 ...
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    49

    Need help installing GCC

    i have been having trouble since ages to download gcc

    i type ./configure

    i get the following error

    linux:/home/abubakr/Documents/gcc-3.0.4 # ./configure
    Configuring for a i686-pc-linux-gnu host.
    Created "Makefile" in /home/abubakr/Documents/gcc-3.0.4 using "mt-frag"
    /tmp/cNf17998/cNf17998.pos: line 7: cc: command not found
    *** The command 'cc -o conftest -g conftest.c' failed.
    *** You must set the environment variable CC to a working compiler.

    i can't install anything until i get a fully working c compiler

    i don't have build-essential package does anyone know where i can get this it is not in the synaptic manager or in yast.

    thanks

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    You need to specify which SuSE you're using.

    I can tell you that in SLES 9/10 and openSuSE 10.X/11, under YaST => Search "gcc" - there is a package called gcc.

    If your SuSE supports it, you can also use:

    Code:
    zypper in gcc
    Searching for packages named gcc:

    zypper se gcc
    Refreshing 'X11:XGL'
    * Cleaning repository 'X11:XGL' cache
    * Building repository 'X11:XGL' cache
    * Reading installed packages [100%]

    S | Repository | Type | Name | Version | Arch
    --+------------------------+---------+---------------+-------------------+-----
    | openSUSE-10.3-DVD 10.3 | package | cross-spu-gcc | 4.3.0-36 | i586
    i | openSUSE-10.3-DVD 10.3 | package | gcc | 4.2-24 | i586
    | openSUSE-10.3-DVD 10.3 | package | gcc-c++ | 4.2-24 | i586
    | openSUSE-10.3-DVD 10.3 | package | gcc-fortran | 4.2-24 | i586
    | openSUSE-10.3-DVD 10.3 | package | gcc-gij | 4.2-24 | i586
    | openSUSE-10.3-DVD 10.3 | package | gcc-info | 4.2-24 | i586
    | openSUSE-10.3-DVD 10.3 | package | gcc-java | 4.2-24 | i586
    i | openSUSE-10.3-DVD 10.3 | package | gcc42 | 4.2.1_20070724-17 | i586
    | openSUSE-10.3-DVD 10.3 | package | gcc42-c++ | 4.2.1_20070724-17 | i586
    | openSUSE-10.3-DVD 10.3 | package | gcc42-fortran | 4.2.1_20070724-17 | i586
    | openSUSE-10.3-DVD 10.3 | package | gcc42-gij | 4.2.1_20070724-26 | i586
    | openSUSE-10.3-DVD 10.3 | package | gcc42-info | 4.2.1_20070724-17 | i586
    | openSUSE-10.3-DVD 10.3 | package | gcc42-java | 4.2.1_20070724-17 | i586
    i | openSUSE-10.3-DVD 10.3 | package | libgcc42 | 4.2.1_20070724-17 | i586

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    It is available in your installation Media. Open Yast, search gcc in Software Manager and Install it.


    Edit :
    HROAdmin26 is very fast !
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Just Joined!
    Join Date
    Jun 2008
    Posts
    49
    I have OpenSuse 10.0 as there was a problem upgrading it to 10.3

    so any ideas i
    i searched yast and already installed it and still same error
    i ticked it as update and finished and still c compiler error.

    zypper doesn't work

  5. #5
    Linux Engineer scrarfussi's Avatar
    Join Date
    Aug 2006
    Posts
    1,029
    there was a problem with zypper in 10.0 and 10.1 have you tried may be installing 10.2 as its gonna be hard to get updates for 10.0

  6. #6
    Just Joined!
    Join Date
    Jun 2008
    Posts
    49
    thanks, ill try that

  7. #7
    Just Joined!
    Join Date
    Jun 2008
    Posts
    49
    is there any other way of solving this problem instead of going to update it to 10.2 because of the error from 10.3 i fear for the same problem.

    any other ideas.
    ill keep at it.

  8. #8
    Just Joined!
    Join Date
    Jun 2008
    Posts
    49
    I went to a website to help installing a c compiler but thats where my problem comes downloading packages 1 packages causes a conflict of a file it needs like i need to download glibc-devel i download it and it says need glibc i download that it says unresolved requirements /usr/sbin/glibc_post_upgrade and conflicts with
    glibc-locale requires glibc = 2.3.5*
    glibc-locale requires glibc = 2.3.5-

    when i want to download c compiler i get to many last time i downloaded gcc++ and it came up with about 438 conflicts.

  9. #9
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    in order to install a c compiler from source you must first have a c compiler. It is called boot strapping.

    If you installed the OS from DVD or full CD set the DVD/CDs should have the gcc compiler on it/them.

    In order to straighten out your installer problem. If you can not get zypper or Yast to work why not tryout Smart

    http://susewiki.org/index.php?title=...ackage_Manager

  10. #10
    Just Joined!
    Join Date
    Jun 2008
    Posts
    49
    i just was able to download and install glibc-devel, gcc and make i found out that the latest version of these worked only for the latest opensuse version so i had to get an earlier version which worked for opensuse 10.0.

    i need gtk and i have gtk 2.8 and i need to install gtk 2.10 and i think i need to have a newer version of opensuse for this as i can't find anything.

    as when there is some errors of conflict that require libc_so.6(GLIBC-3.4) or something this shows that a latest version of suse is required which do have that file.

    so i will keep trying

Posting Permissions

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