LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Trouble installing HPLIP on FC4 (https://www.linuxquestions.org/questions/linux-hardware-18/trouble-installing-hplip-on-fc4-476813/)

Spearhead40 08-23-2006 10:22 PM

Trouble installing HPLIP on FC4
 
Hi folks,

I am running FC4 and have recently used yum to update my entire system (I think it was sucessful). Now I'm trying to make my HP PSC work. ... I can print but the scan and fax functions don't work, did some poking around found out about HPLIP....then the fun begins.

I have a HP Officejet 5510, from another post I got to the hplip.sourceforge.net site. I have downloaded the lastest and put the tar.gz file in /home/user directory. Everything seem to be going well until I attempted to run configure. I got this......

$ ./configure --prefix=/usr
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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
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
See `config.log' for more details.

Question 1: how do you view the config.log file?
Question 2: I decompressed this guy in my home directory, should I have done this as root in root's / directory?

Any thoughts would be greatly appreciated.

Lenard 08-24-2006 07:16 AM

Any text editor (vi, gedit, nedit, kwrite and so on) can open/view the config.log file.

You need to have the path to where gcc is in you $PATH, it seems your user path does not. So yes it would be better to do this as root (or equivalent) in this case.

FYI: you should build the package as an rpm file so it can be maintained in the database, download the src.rpm file;

http://download.fedora.redhat.com/pu....6.7-3.src.rpm

As root type; rpmbuild --rebuild --recompile hplip-1.6.7-3.src.rpm

After abit you will see something like (if you have all of the required packages installed);

Wrote: /usr/src/redhat/RPMS/x86_64/hplip-1.6.7-3.x86_64.rpm
Wrote: /usr/src/redhat/RPMS/x86_64/hpijs-1.6.7-3.x86_64.rpm
Wrote: /usr/src/redhat/RPMS/x86_64/libsane-hpaio-1.6.7-3.x86_64.rpm
Wrote: /usr/src/redhat/RPMS/x86_64/hplip-debuginfo-1.6.7-3.x86_64.rpm

You do not need to install the debuginfo rpm and it is OK to delete. To install the three other packages all at once as root type something like;

cd /usr/src/redhat/RPMS/x86_64 ;(your location may be different please adjust)

rpm -Uvh hpijs*.rpm libsane*.rpm hplip*.rpm


All times are GMT -5. The time now is 02:58 AM.