Find the answer to your Linux question:
Results 1 to 5 of 5
Does anyone know where the C compiler is in the SuSe Linux 11.4 server? I tried compiling something I recently downloaded and got the following error: configure: error: no acceptable ...
  1. #1
    Just Joined!
    Join Date
    Jul 2011
    Posts
    4

    Where is the location of the C compiler in the SuSe Linux 11.4 server?

    Does anyone know where the C compiler is in the SuSe Linux 11.4 server? I tried compiling something I recently downloaded and got the following error:

    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.

    Thanks.

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    Usually in /usr/bin.

    So either your $PATH is wrong/empty, or (more likely) you dont have a compiler installed.
    Search for and install gcc
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Jul 2011
    Posts
    4
    Man, you are a lightening fast responder! What command do I use to search for it? Sorry, I am very new to this. Do you mean search for it on my computer, or search for it on the web? When I type $PATH, I see various paths.

    Thanks for the help.

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    I believe, suse uses yast to manage rpm packages.
    Launch yast and search for gcc, then install gcc.
    After that, you should have a /usr/bin/gcc
    You must always face the curtain with a bow.

  5. #5
    Linux Newbie hans51's Avatar
    Join Date
    May 2011
    Location
    Philippines and Cambodia
    Posts
    133
    ls -la /usr/bin/gcc
    shows if there where it belongs, else install as said by Irithori

    instead of yast you also could use zypper but to get dependencies done, yast is somehow easier unless you only need a single package without dependency to be resolved, then you could use

    zypper in gcc

    whereis gcc
    would show you where it is for any other executable you search on suse

    as a general rule - since you write "SuSe Linux 11.4 server?"
    I recommend to have offline on your local machine the same install as on your servers, hence any such problem you can solve locally first then apply on server. that's my own policy since more than a decade

Posting Permissions

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