Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Desktop Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th November 2005, 09:33
horus9520 horus9520 is offline
Junior Member
 
Join Date: Nov 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Fedora Core4 and HP printer file problem(hplip)

Hi here,

I am a new corn to Linux. I just installed fedora core 4. Since I have a color LaserJet printer, I want to install the driver for it. So I download 'hplip-0.9.6' from hp.com. However, when I am doing the procedure as described in http://hpinkjet.sourceforge.net/install.php#HPLIP .
At step 2: Download and install the HP printing software
When I type 'make', it comes with the following error message

*********
/bin/sh ./libtool --mode=link --tag=CXX g++ -g -O2 -o hpiod hpiod.o channel.o device.o mlc.o system.o jddevice.o jetdirect.o udevice.o uppdevice.o ppdevice.o pp.o -lnetsnmp -lcrypto -lpthread
g++ -g -O2 -o hpiod hpiod.o channel.o device.o mlc.o system.o jddevice.o jetdirect.o udevice.o uppdevice.o ppdevice.o pp.o /usr/lib64/libnetsnmp.so -lcrypto -lpthread
make[1]: *** No rule to make target `COPYING', needed by `all-am'. Stop.
make[1]: Leaving directory `/home/***/Software2005Nov/hplip-0.9.6'
make: *** [all-recursive] Error 1
*********

Could anyone give a hint on what is wrong? Thanks a lot in advance!
Reply With Quote
Sponsored Links
  #2  
Old 18th November 2005, 11:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Are you on a 64-bit system?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 18th November 2005, 23:04
horus9520 horus9520 is offline
Junior Member
 
Join Date: Nov 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Are you on a 64-bit system?
yes, the system is 'em64t'. hplip doesn't support that?
Reply With Quote
  #4  
Old 19th November 2005, 03:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Does /usr/lib exist?
If not (only then!), I'd try to create a symlink:
Code:
ln -s /usr/lib64 /usr/lib
and install the HP software again.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 19th November 2005, 22:16
horus9520 horus9520 is offline
Junior Member
 
Join Date: Nov 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you!

/usr/lib64 exists. It contains libnetsnmp.so . The error message is

/bin/sh ./libtool --mode=link --tag=CXX g++ -g -O2 -o hpiod hpiod.o channel.o device.o mlc.o system.o jddevice.o jetdirect.o udevice.o uppdevice.o ppdevice.o pp.o -lnetsnmp -lcrypto -lpthread
g++ -g -O2 -o hpiod hpiod.o channel.o device.o mlc.o system.o jddevice.o jetdirect.o udevice.o uppdevice.o ppdevice.o pp.o /usr/lib64/libnetsnmp.so -lcrypto -lpthread
make[1]: *** No rule to make target `COPYING', needed by `all-am'. Stop.
make[1]: Leaving directory `/root/Software/hplip-0.9.6'
make: *** [all-recursive] Error 1

Are there any more hints? Thanks a lot!
Reply With Quote
  #6  
Old 20th November 2005, 02:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

But does /usr/lib exist? (not /usr/lib64...)
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 20th November 2005, 03:21
horus9520 horus9520 is offline
Junior Member
 
Join Date: Nov 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
But does /usr/lib exist? (not /usr/lib64...)
Yes. It does exist.
Reply With Quote
  #8  
Old 25th December 2005, 02:04
kyuso kyuso is offline
Junior Member
 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by horus9520
Hi here,

I am a new corn to Linux. I just installed fedora core 4. Since I have a color LaserJet printer, I want to install the driver for it. So I download 'hplip-0.9.6' from hp.com. However, when I am doing the procedure as described in http://hpinkjet.sourceforge.net/install.php#HPLIP .
At step 2: Download and install the HP printing software
When I type 'make', it comes with the following error message
I finally had success with fedora core 4 and hplip 0.9.7+patched.

Be sure to get 0.9.7 and a patch (both from download site). extract and cd into the source,

patch -p0 < patchfile (or was that -p1?)
./configure --prefix=/usr
make clean; make; make install

I found make clean is a necessary step since some shared object files don't get generated.

One other thing to watch: /etc/init.d/hplip script does not start hpssd properly due to selinux.

Option 1: run hpssd manually from command line:

/usr/share/hplip/hpssd.py

Option 2: change hplip security type:

chcon -t bin_t /etc/init.d/hplip

I still can't make the script work during boot. Anyone finds a solution, please post. Something to do with selinux I guess.

Otherwise, I'm happy with network scan, print, and service info.
Reply With Quote
  #9  
Old 10th January 2006, 17:48
skog skog is offline
Junior Member
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

hpssd wasn't able to connect to hpiod.

I had to change line 140 in /etc/init.d/hplip from:

daemon ./hpssd.py

to:

daemon 'python ./hpssd.py'


no more problems.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.