Find the answer to your Linux question:
Results 1 to 8 of 8
I'm back on Mandrake 10.1. 4 distro's later and I'm still a newb. configure: error: no acceptable C compiler found in $PATH If I ever see that again, I'm done ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Location
    Los Angeles, CA
    Posts
    66

    I hate this error message....C compiler


    I'm back on Mandrake 10.1. 4 distro's later and I'm still a newb.

    configure: error: no acceptable C compiler found in $PATH

    If I ever see that again, I'm done with trying to install crap in Linux. How do I fix it? A response like "you need GTK+" is great, but I need to know where to get it and how to install it as well as any dependencies it itself has.

    Note to Linux programmers: Make stuff install with a double click!

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    You need to indstall a C compiler like gcc, serch the web for a gcc rpm and install it, this should stop the problem;

    Hope this helps;
    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #3
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    At the command prompt, install the C compiler (called gcc) using the command:

    Code:
    urpmi gcc
    You may also want to install gcc-devel (urpmi gcc-devel).
    If you haven't set up urpmi yet, go here: easyurpmi.zarb.org/

    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  4. #4
    Just Joined!
    Join Date
    Jul 2004
    Location
    Los Angeles, CA
    Posts
    66
    urpmi's pretty elite, I like it. Since I had nothing on this parition anyway, I went and reinstalled 10.1 with all the goodies. Me like. I don't however understand what this means:

    configure: error: C++ preprocessor "/lib/cpp" fails sanity check

    Trying to install ksmoothdock. Thanks guys.

  5. #5
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    Do you have the glibc and gcc-c++ packages installed?
    Code:
    urpmi glibc
    and
    Code:
    urpmi gcc-c++
    Can you compile a simple c++ program?
    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  6. #6
    Just Joined!
    Join Date
    Jul 2004
    Location
    Los Angeles, CA
    Posts
    66
    Code:
    [root@localhost marcus]# urpmi gcc-c++
    no package named gcc-c++
    [root@localhost marcus]# urpmi glibc
    Everything already installed
    No idea if I can compile any C++. Any code I could try it out with?

  7. #7
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    Do you have the Community Edition? This was a bug:

    http://archives.mandrakelinux.com/co...0/msg00167.php

    Upgrade to 10.1 Official if not.

    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  8. #8
    Just Joined!
    Join Date
    Jul 2004
    Location
    Los Angeles, CA
    Posts
    66
    Yeah, I've got Community. Where can I get the ISO's for Official?

Posting Permissions

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