[SOLVED] No acceptable C compiler found in $PATH
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 11 of 11
  1. #1
    Join Date
    Jun 2018
    Location
    St. Thomas, US Virgin Islands
    Posts
    15

    No acceptable C compiler found in $PATH

    Good Day,

    I'm a newbie to Linux, so I'm not as experienced as some of you are. I'm trying to get experienced and one of the things that I was trying to do is download Emacs. I'm using Fedora12, so I'm sure I might here to upgrade my version. I tried downloading it from the mirror sites: (yum install emacs), but it never worked, so I downloaded the FTP version. Then, I extracted it to my desktop (tar xyvz filename), and it did extract it to my desktop.

    The issue that I'm having is, it creates a folder with a configure script, and when I try to run in (./configure), I get this error message: No acceptable C compiler found in $PATH

    Any help would be greatly appreciated.
    Thanks,

  2. #2
    Join Date
    Jun 2018
    Location
    St. Thomas, US Virgin Islands
    Posts
    15

    Re: No acceptable C compiler found in $PATH

    I did try yum install gcc, and that didn't work as well. It try numerous mirror sites. Then, it finally gives up.

  3. #3
    Join Date
    Apr 2009
    Location
    central NY, USA
    Posts
    1,105

    Re: No acceptable C compiler found in $PATH

    I'm using Fedora12, so I'm sure I might here to upgrade my version
    You've answered your own question. The reason is that virtually no one supplies packages for Fedora 12 - only for the current versions.
    Change - the only constant.

  4. #4
    Join Date
    Feb 2005
    Location
    London, UK
    Posts
    657

    Re: No acceptable C compiler found in $PATH

    You should have a file called config.log in the same path as the configure script which will give you more info, I'll bet is has a pkg-config command or similar looking for gcc greater than a certain version which fedora 12 can't provide.

    You could download an old emacs to suit the old Fedora (and therefore gcc) version - but you're better off upgrading Fedora for all the security fixes. From 12 -> 28 you probably want to do a fresh install as well, doing incrementals would be a pain.

  5. #5
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,225

    Re: No acceptable C compiler found in $PATH

    The current version of Fedora is 28. about 6+ years ago support for Fedora 12 was terminated. The recommendation is to install a more current version of Fedora.
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  6. #6
    Join Date
    Jun 2018
    Location
    St. Thomas, US Virgin Islands
    Posts
    15

    Re: No acceptable C compiler found in $PATH

    All, thanks for the replies. I will download the latest version. I use all of my operating systems in VMware, so I will work on this and reply, but I will also experiment with the pkg-config file you were talking about, Haydn, and I will look into the pkg-config command, for experience.

    Thanks

  7. #7
    Join Date
    Jun 2018
    Location
    St. Thomas, US Virgin Islands
    Posts
    15
    Windows NT 10.0 Mozilla OS-Browser Compatible

    Re: No acceptable C compiler found in $PATH

    Sorry for the late reply. I have successfully downloaded Fedora28, and I was able to also download EMACS. LIGHTMAN, you was correct. The version just isn't supported anymore. Thanks for all suggestions.

  8. #8
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,225
    Linux (Android 6.0) Chrome 67.0.3396.87

    Re: No acceptable C compiler found in $PATH

    Dnf group list. Would show C development group. Follow up with Sudo dnf group install ......

    It will install. Compiler, libraries, make utility and then, you can write, compile all the C code you are interested to use.
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  9. #9
    Join Date
    Jun 2018
    Location
    St. Thomas, US Virgin Islands
    Posts
    15
    iOS  11.4 (iPhone) Safari 11.0

    Re: No acceptable C compiler found in $PATH

    Isatenstein, thanks for the reply. I will note your advice, and play with the command.

    I have all my OS in vmware, and once I upgraded to the latest version, it ran with no problems, regards.

  10. #10
    Join Date
    Jun 2018
    Location
    St. Thomas, US Virgin Islands
    Posts
    15
    iOS  11.4 (iPhone) Safari 11.0

    Re: No acceptable C compiler found in $PATH

    I hope to get on your level, one day.

  11. #11
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,225
    Linux (Android 8.1.0) Chrome 67.0.3396.87

    Re: No acceptable C compiler found in $PATH

    Follow the activities on this forum and gradually become an expert.
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

Similar Threads

  1. no acceptable C compiler found in $PATH
    By Drkonafa in forum Using Fedora
    Replies: 2
    Last Post: 17th March 2013, 06:01 AM
  2. No acceptable compiler question?
    By kuade in forum Using Fedora
    Replies: 9
    Last Post: 25th September 2010, 09:43 PM
  3. Search Path for compiler executable
    By rohith88 in forum Using Fedora
    Replies: 3
    Last Post: 15th January 2010, 03:54 AM
  4. no acceptable C compiler found
    By ant1her0 in forum Using Fedora
    Replies: 7
    Last Post: 4th August 2006, 02:42 AM
  5. no acceptable c compiler
    By fronty in forum Using Fedora
    Replies: 5
    Last Post: 1st July 2006, 10:58 AM

Posting Permissions

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