LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-23-2006, 11:22 PM   #1
Spearhead40
Member
 
Registered: Aug 2006
Location: Baltimore, MD
Distribution: Fedora 20
Posts: 51

Rep: Reputation: 15
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.
 
Old 08-24-2006, 08:16 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
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
 
  


Reply

Tags
fc4, hplip, install, officejet


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
tried installing FC4 kernel to my RHEL4 box & wanted to make FC4 kernel as default visitashu Red Hat 3 04-06-2006 03:20 PM
Trouble Installing FC4 on Dell PowerEdge 6450 PJB3589 Fedora - Installation 3 02-18-2006 12:50 PM
Having trouble getting to the internet in FC4 DoubleR7 Linux - Networking 4 02-14-2006 08:40 PM
trouble installing fc4 brandon252 Fedora 3 09-25-2005 09:11 PM
Trouble installing FC4 thorney Linux - Newbie 2 09-19-2005 01:27 AM


All times are GMT -5. The time now is 06:42 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration