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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.