LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 05-14-2004, 01:07 PM   #1
pdemaers
Member
 
Registered: Apr 2004
Location: Belgium
Distribution: Fedora Core 2
Posts: 42

Rep: Reputation: 15
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 :-).

Thanks,

Patrick
 
Old 05-14-2004, 01:52 PM   #2
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
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.
 
Old 05-14-2004, 04:06 PM   #3
pdemaers
Member
 
Registered: Apr 2004
Location: Belgium
Distribution: Fedora Core 2
Posts: 42

Original Poster
Rep: Reputation: 15
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 ?
 
Old 05-14-2004, 04:16 PM   #4
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
open up a terminel and type
gcc --version
if it tells you a verion number it is installed, If it says gcc command not found then it probably is not.

edit/added
their is one space after gcc(it is hard to read)
 
Old 05-15-2004, 04:00 AM   #5
pdemaers
Member
 
Registered: Apr 2004
Location: Belgium
Distribution: Fedora Core 2
Posts: 42

Original Poster
Rep: Reputation: 15
Thanks Shanenin,

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 ?

Regards,

Patrick
 
Old 05-15-2004, 12:55 PM   #6
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
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).
 
Old 05-15-2004, 01:11 PM   #7
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
you've got to have the various development packages installed, like the glibc header files and all kinds of crap.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: no acceptable C compiler found in $PATH mfeyzifar Fedora 10 08-15-2014 03:13 AM
error: no acceptable C compiler found in $PATH Tracianddwayne Linux - Newbie 1 12-23-2004 03:18 PM
configure: error: no acceptable C compiler found in $PATH Free-Blade Linux - Newbie 15 09-13-2004 11:33 AM
GAIM configure: error: no acceptable C compiler found in $PATH, newb bryak Linux - Software 2 08-18-2004 08:02 AM
configure: error: no acceptable C compiler found in $PATH habitue Red Hat 0 10-14-2003 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration