configure: error: no acceptable C compiler found in $PATH
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
configure: error: no acceptable C compiler found in $PATH
Hi all,
not sure whether to post this here or in the newbie section, but here is my problem: i am trying to install the hpijs-1.6 printer driver for the HP 5850 printer I bought. I am following the instruction on the HP website and downloaded the tar file, untarred it. When i got to the hpijs-1.6 directory and do ./ configure here is what i get:
[root@localhost hpijs-1.6]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
I am pretty sure gcc has been installed as i did the standard fedora core 1 installation. How can i solve this ? By the way, i am very much a newbie at linux :-).
not sure what distro you are using, but you should have developmentel programs on one of your disks. When I used redhat it was under add/rome programs in the menu.
Im using Fedora Core 1 ... just standard installation. I tried the add/remove programs thing, but there is mentioned that gcc is part of the standard packages which are installed by default. My feeling is that gcc is installed, but somehow got left out of the $path. So then my question becomes 'how to i get gcc to be included in the path?'. Or is this a wrong thought pattern ?
i checked and i indeed did not seem to have gcc installed. I remedied that and now i definately have it, because it seems that my problem is now shifting to a gcc problem. When i run ./configure it finds gcc but still gives an error. Anyone knows what this is about ?
My output:
[root@localhost hpijs-1.6]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
No sure if I should now post this as a separate (specific gcc) issue ?
I would probably start a new thread. Did you install it from your cd? If that is how you did it, I would reccomend installing all of your developmental packages. It would probably be prefered to install gcc from your disk, I think that gcc and a package called glibc need to be compatible(the disk will have the correct version).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.