[opensuse] make fails on hplip
Hello SuSE people, Running 11.0 and KDE3.5 Just purchased a new HP Deskjet 6940 to replace my old Epson that died. Needed the driver for it so I downloaded hplip-3.9.8 and ran the script. Several times because I had dependencies. Finally, on the last run, make failed with an error 2. Don't know what to do now and need guidance. I'm not very good at compiling stuff. Here is a section from my messages log and covers the complete last run: Aug 8 16:41:40 Easystreet python: hplip-install[24078]: warning: There are 3 missing OPTIONAL dependencies. Aug 8 16:41:40 Easystreet python: hplip-install[24078]: warning: Missing OPTIONAL dependency for option 'gui_qt4': policykit (PolicyKit - Administrative policy framework) Aug 8 16:41:40 Easystreet python: hplip-install[24078]: warning: This installer cannot install 'policykit' for your distro/OS and/or version. Aug 8 16:41:40 Easystreet python: hplip-install[24078]: warning: Missing OPTIONAL dependency for option 'gui_qt4': python-notify (Python libnotify - Python bindings for the libnotify Desktop notifications) Aug 8 16:41:40 Easystreet python: hplip-install[24078]: warning: This installer cannot install 'python-notify' for your distro/OS and/or version. Aug 8 16:41:40 Easystreet python: hplip-install[24078]: warning: Missing OPTIONAL dependency for option 'fax': reportlab (Reportlab - PDF library for Python) Aug 8 16:41:40 Easystreet python: hplip-install[24078]: warning: This installer cannot install 'reportlab' for your distro/OS and/or version. Aug 8 16:42:15 Easystreet python: hplip-install[24078]: error: 'make' command failed with status code 2 Help !!! If this continues to fail I could just install the plain old driver, right? Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 8 Aug 2009 17:31:19 -0400, you wrote:
Needed the driver for it so I downloaded hplip-3.9.8 and ran the script.
The best way for most people is to search the openSUSE buildservice before attempting to build a package themselves. Just point your browser to http://software.opensuse.org/search, enter the name of the package you're searching for and choose the distribution you're using. For hplip-3.9.8 the second hit shows that there are packages available from the Printing/openSUSE_11.0 project and with a click on the "1-click install" button will install it and all packages it depends on. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 09 August 2009 06:09:42 Philipp Thomas wrote:
On Sat, 8 Aug 2009 17:31:19 -0400, you wrote:
Needed the driver for it so I downloaded hplip-3.9.8 and ran the script.
The best way for most people is to search the openSUSE buildservice before attempting to build a package themselves. Just point your browser to http://software.opensuse.org/search, enter the name of the package you're searching for and choose the distribution you're using. For hplip-3.9.8 the second hit shows that there are packages available from the Printing/openSUSE_11.0 project and with a click on the "1-click install" button will install it and all packages it depends on.
Thanks Philipp Another tip to store away. I think I got it to build by using "custom" rather than "automatic". Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 9 Aug 2009 22:42:46 -0400, you wrote:
I think I got it to build by using "custom" rather than "automatic".
On a distribution that's based on rpm it's a bad idea to use self-compiled software if you don't at least use checkinstall install it as rpm. Otherwise the system dosn't know about your software and may, for instance, overwrite it with an older package. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Philipp Thomas
On a distribution that's based on rpm it's a bad idea to use self-compiled software if you don't at least use checkinstall install it as rpm.
Checkinstall is indeed a good idea for easy removal of software.
Otherwise the system dosn't know about your software and may, for instance, overwrite it with an older package.
Huh, this is what the /usr/local and the /opt hierarchies (system wide) are for. Of course one can also compile and install software in one's home hierarchy. Charles -- I've run DOOM more in the last few days than I have the last few months. I just love debugging ;-) (Linus Torvalds)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2009-08-10 at 03:43 -0400, Charles Philip Chan wrote:
Otherwise the system dosn't know about your software and may, for instance, overwrite it with an older package.
Huh, this is what the /usr/local and the /opt hierarchies (system wide) are for. Of course one can also compile and install software in one's home hierarchy.
Even if you usr /usr/local, YaST will install its own version, not knowing about your compilation. Then, depending on your path and library search ordering, it will load one version or the other. Using checkinstall to create an rpm, and then installing that one, keeps YaST/zypper/rpm off my feet. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkqBzsMACgkQtTMYHG2NR9WL0gCffgQkMhbrqPbcepRbV5xNtSPy s44AoIFxuXwAPOTMjgsl1I7XONYSS1V+ =4dbo -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
"Carlos E. R."
Even if you usr /usr/local, YaST will install its own version, not knowing about your compilation. Then, depending on your path and library search ordering, it will load one version or the other.
True, you need to set your $PATH environmental variable and /etc/ld.so.conf correctly- this is a given. I use /usr/local and /opt extentively and some times I have multiple version of a program installed (along side the rpm) for testing. Also, most of my multimedia programs and Emacs are compiled every couple of days from their developmental trees. Charles -- Avoid the Gates of Hell. Use Linux (Unknown source)
Charles Philip Chan
True, you need to set your $PATH environmental variable and /etc/ld.so.conf correctly- this is a given.
I forgot to add, the $PKG_CONFIG_PATH variable may need to be altered too depending on what one is doing. Charles -- Linux! Guerrilla UNIX Development Venimus, Vidimus, Dolavimus. (By mah@ka4ybr.com, Mark A. Horton KA4YBR)
On Monday 10 August 2009 02:56:23 Philipp Thomas wrote:
On Sun, 9 Aug 2009 22:42:46 -0400, you wrote:
I think I got it to build by using "custom" rather than "automatic".
On a distribution that's based on rpm it's a bad idea to use self-compiled software if you don't at least use checkinstall install it as rpm. Otherwise the system dosn't know about your software and may, for instance, overwrite it with an older package.
Well....OK. I certainly agree with that. I bought a new HP printer and found I needed to install hplip from the HP Linux Imaging and Printing site. Had to specify OS, distribution, and edition etc. to get the proper software for that particular printer. It is a script, similar to the Nvidia installer. I don't think you could do a "checkinstall". The script just runs. Is there an RPM for hplip that covers my particular printer on SuSE 11.0 64 bit? If so, I would prefer to use that and uninstall (hopefully ??) the HP script. Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Bob S <911@sanctum.com> [08-10-09 22:56]:
Is there an RPM for hplip that covers my particular printer on SuSE 11.0 64 bit? If so, I would prefer to use that and uninstall (hopefully ??) the HP script.
http://software.opensuse.org/search -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, On Aug 8 17:31 Bob S wrote (shortened):
Running 11.0 ... Just purchased a new HP Deskjet 6940
http://hplipopensource.com/hplip-web/models/deskjet/deskjet_6940_series.html ----------------------------------------------------------------------------- Minimum HPLIP version 0.9.8 Support level Full (See http://hplipopensource.com/node/314) ----------------------------------------------------------------------------- openSUSE 11.0 provides HPLIP version 2.8.4 out of the box. I do not understand at all why you actually need to go the hardest way with self-compiling the newest HPLIP version on your own? Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 11 August 2009 05:16:08 Johannes Meixner wrote:
Hello,
On Aug 8 17:31 Bob S wrote (shortened):
Running 11.0 ... Just purchased a new HP Deskjet 6940
http://hplipopensource.com/hplip-web/models/deskjet/deskjet_6940_series.htm l --------------------------------------------------------------------------- -- Minimum HPLIP version 0.9.8 Support level Full (See http://hplipopensource.com/node/314) --------------------------------------------------------------------------- --
openSUSE 11.0 provides HPLIP version 2.8.4 out of the box.
I do not understand at all why you actually need to go the hardest way with self-compiling the newest HPLIP version on your own?
Johannes Just ignorance on my part. Didn't realize there was an RPM. My first experience with an HP. Always had Epson before. I will dump the compiled version and use the RPM. Thanks for straightening me out. Will Yast set it up? or does the HP-setup program get used? Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 11 August 2009 10:30:04 pm Bob S wrote:
Thanks for straightening me out. Will Yast set it up? or does the HP-setup program get used?
I got one installation today and it worked both ways. The only problem is that I had 2 printers after that :) -- Regards, Rajko http://news.opensuse.org/category/people-of-opensuse/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, On Aug 11 22:46 Rajko M. wrote (shortened):
On Tuesday 11 August 2009 10:30:04 pm Bob S wrote:
Thanks for straightening me out. Will Yast set it up? or does the HP-setup program get used?
I got one installation today and it worked both ways. The only problem is that I had 2 printers after that :)
Yes, a long known serious problem: The unexpected reproduction of printers! Perhaps you can throw one of your two printers out of the window to avoid that they may become even more and more (nobody knows for sure what printers do when nobody watches them ;-) Carefully avoid to have printers from different manufacturers together in the same room without watching them all the time! Once ago in the past there was a poor man who has had many printers (obviously a printer enthusiast) and at one dark midwinter night the creeping nameless happened... Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 12 August 2009 05:29:39 am Johannes Meixner wrote:
Hello,
On Aug 11 22:46 Rajko M. wrote (shortened):
On Tuesday 11 August 2009 10:30:04 pm Bob S wrote:
Thanks for straightening me out. Will Yast set it up? or does the HP-setup program get used?
I got one installation today and it worked both ways. The only problem is that I had 2 printers after that :)
Yes, a long known serious problem: The unexpected reproduction of printers!
Perhaps you can throw one of your two printers out of the window to avoid that they may become even more and more (nobody knows for sure what printers do when nobody watches them ;-)
Not so radical solution: I deleted twin brother of F4100 :)
Carefully avoid to have printers from different manufacturers together in the same room without watching them all the time!
Can't do it. Epson Stylus C62 is still fine, but somewhat loud comparing to HP F4100. ... BTW, the only problem was access to printer, that even root couldn't solve, but it seems that after deleting twin, all started working from HP systray. Sincerely this hp-lip package is really something that I was missing with Epson. It makes access to printer and scanner simple clickety click thing. -- Regards, Rajko http://news.opensuse.org/category/people-of-opensuse/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, On Aug 12 18:27 Rajko M. wrote (shortened):
BTW, the only problem was access to printer, that even root couldn't solve, but it seems that after deleting twin, all started working from HP systray.
Only a guess: Perhaps one queue uses HPLIP's CUPS backend "hp" while the other queue uses the generic CUPS backend "usb" which results that two kernel modules would be responsible to access the device which is not possible so that one of them gets disabled and then there is no longer any access at all via the backend where it was disabled for the matching kernel module, see https://bugzilla.novell.com/show_bug.cgi?id=184825 Therefore the new YaST printer setup since openSUSE 11.1 (see http://en.opensuse.org/YaST/Development/Printer_Enhancement) hides by default connections with the generic CUPS backend "usb" if there is also a connection with HPLIP's CUPS backend "hp" (see "hp_usb_uri_exists" in /usr/share/YaST2/modules/Printer.ycp) but via the [More Connections] button one can still get the connections with the generic CUPS backend "usb" which can sometimes be useful even for HP printers, see for example https://bugzilla.novell.com/show_bug.cgi?id=462048#c23 Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, On Aug 11 23:30 Bob S wrote (shortened):
Just ignorance on my part. Didn't realize there was an RPM. My first experience with an HP. Always had Epson before. I will dump the compiled version and use the RPM. Thanks for straightening me out. Will Yast set it up? or does the HP-setup program get used?
I recommend to run HP's own setup program /usr/bin/hp-setup directly as root. If you get totally strange messages about CUPS not running or whatever weird stuff, it is most likely a locale issue, see https://bugs.launchpad.net/debian/+source/hplip/+bug/225970 In this case the following commands enforce a plain ASCII locale which let /usr/bin/hp-setup running without locale issues: export LC_ALL="POSIX" export LANG="POSIX" /usr/bin/hp-setup Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Bob S
-
Carlos E. R.
-
Charles Philip Chan
-
Johannes Meixner
-
Patrick Shanahan
-
Philipp Thomas
-
Rajko M.