Install HPLIP error on SuSE ENT 10.2

Asked by adamkuo

Dear Sirs,
I have a HP LJ P1505n and I want to install it on my SuSE ENT 10.2
Printer : HP P1505N
OS :
# cat /etc/SuSE-release
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 2

uname -a
Linux HATYUCRSVRDBS01 2.6.16.60-0.21-smp #1 SMP Tue May 6 12:41:02 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux

Error Mssage
I got the following error message, please help.

:~/bin/tmp/hplip-3.9.8 # ./configure --with-hpppddir=/usr/share/cups/model/HP --libdir=/usr/lib64 --prefix=/usr --enable-qt4 --enable-doc-build --enable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --disable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for pthread_create in -lpthread... yes
checking for pow in -lm... yes
checking for jpeg_set_defaults in -ljpeg... no
configure: error: "cannot find libjpeg support"

But the libjpeg should be installed, would you please advise me how to check or reinstall the libjpeg needed for HPLIP.

Best Regards

Adam KUO
<email address hidden>

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
dwelch91 (dwelch91) said :
#1

http://hplipopensource.com/hplip-web/install/manual/distros/novell.html

On Thu, Aug 6, 2009 at 9:27 PM, adamkuo <<email address hidden>
> wrote:

> New question #79364 on HPLIP:
> https://answers.launchpad.net/hplip/+question/79364
>
> Dear Sirs,
> I have a HP LJ P1505n and I want to install it on my SuSE ENT 10.2
> Printer : HP P1505N
> OS :
> # cat /etc/SuSE-release
> SUSE Linux Enterprise Server 10 (x86_64)
> VERSION = 10
> PATCHLEVEL = 2
>
> uname -a
> Linux HATYUCRSVRDBS01 2.6.16.60-0.21-smp #1 SMP Tue May 6 12:41:02 UTC 2008
> x86_64 x86_64 x86_64 GNU/Linux
>
> Error Mssage
> I got the following error message, please help.
>
> :~/bin/tmp/hplip-3.9.8 # ./configure
> --with-hpppddir=/usr/share/cups/model/HP --libdir=/usr/lib64 --prefix=/usr
> --enable-qt4 --enable-doc-build --enable-cups-ppd-install
> --disable-foomatic-drv-install --disable-foomatic-ppd-install
> --disable-hpijs-install --disable-policykit --disable-cups-drv-install
> --enable-hpcups-install --enable-network-build --enable-dbus-build
> --enable-scan-build --enable-fax-build
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking dependency style of gcc... gcc3
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for fgrep... /usr/bin/grep -F
> checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
> checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
> checking the name lister (/usr/bin/nm -B) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 98304
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking for /usr/x86_64-suse-linux/bin/ld option to reload object files...
> -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for ar... ar
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC -DPIC
> checking if gcc PIC flag -fPIC -DPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m
> elf_x86_64) supports shared libraries... yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking whether we are using the GNU C++ compiler... (cached) yes
> checking whether g++ accepts -g... (cached) yes
> checking dependency style of g++... (cached) gcc3
> checking how to run the C++ preprocessor... g++ -E
> checking for ld used by g++... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64
> checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU
> ld... yes
> checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m
> elf_x86_64) supports shared libraries... yes
> checking for g++ option to produce PIC... -fPIC -DPIC
> checking if g++ PIC flag -fPIC -DPIC works... yes
> checking if g++ static flag -static works... yes
> checking if g++ supports -c -o file.o... yes
> checking if g++ supports -c -o file.o... (cached) yes
> checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m
> elf_x86_64) supports shared libraries... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking dependency style of gcc... (cached) gcc3
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for pthread_create in -lpthread... yes
> checking for pow in -lm... yes
> checking for jpeg_set_defaults in -ljpeg... no
> configure: error: "cannot find libjpeg support"
>
> But the libjpeg should be installed, would you please advise me how to
> check or reinstall the libjpeg needed for HPLIP.
>
> Best Regards
>
> Adam KUO
> <email address hidden>
>
>
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
adamkuo (asykgsm) said :
#2

Dear Sirs,
The link of installation sources in your page is no longer exist.
When I try to use some other alternative address, it shows the following error.
If this caused by my OS is SUSE Linux Enterprise Server 10 SP2? or the installation sources is worn?

DBS01:~ # su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses cups cups-client cupsddk cups-devel dbus-1-devel python-gobject2 gcc-c++ ghostscript-library openssl libjpeg-devel net-snmp-devel glibc libtool libgphoto2-devel libexif-devel libusb libusb-devel make python-imaging python-qt4 dbus-1-python python-devel python-xml python sane sane-devel xsane"
Entering non-interactive mode.
Entering 'no-gpg-checks' mode.
Restoring system sources...
Parsing metadata for SUSE Linux Enterprise Server 10 SP2...
Parsing metadata for openSUSE 10.2...
Parsing metadata for openSUSE 10.2-20090807-145754...
Parsing metadata for openSUSE 10.2-20090807-145819...
Parsing RPM database...
skipping package 'ghostscript-library' (already installed)
package 'libexif-devel' not found
package 'libusb-devel' not found
package 'python-qt4' not found
package 'sane-devel' not found
12 Problems:
Problem: Can't satisfy requirement libdbus-1.so.2()(64bit) for libzypp-zmd-backend-7.1.1.0_2.15-0.3.x86_64
Problem: Can't satisfy requirement libdbus-1.so.2()(64bit) for libzypp-2.31.334-0.3.x86_64
Problem: Can't satisfy requirement libdbus-1.so.2()(64bit) for gnome-main-menu-0.9.8-0.27.x86_64
Problem: Can't satisfy requirement libnetsnmp.so.10()(64bit) for OpenIPMI-2.0.13-17.4.x86_64
Problem: Can't satisfy requirement libdbus-1.so.2()(64bit) for zypper-0.6.104-0.3.x86_64
Problem: Can't satisfy requirement libdbus-1.so.2()(64bit) for libssui-0.5.6-0.21.x86_64
Problem: Can't satisfy requirement python < 2.5 for libbeagle-0.2.18-55.9.x86_64
Problem: Can't satisfy requirement libdbus-1.so.2()(64bit) for dbus-1-qt-4.3.4-0.3.x86_64
Problem: Can't satisfy requirement libdbus-1.so.2()(64bit) for qt-x11-4.3.4-0.3.x86_64
Problem: Can't satisfy requirement libdbus-1.so.2()(64bit) for gnome-panel-nld-2.12.3-0.47.x86_64
Problem: Can't satisfy requirement libdbus-1.so.2()(64bit) for yast2-control-center-gnome-2.13.2-0.14.x86_64
Problem: Can't satisfy requirement python < 2.5 for gnome-menus-2.16.1-38.11.x86_64

Problem: Can't satisfy requirement libdbus-1.so.2()(64bit) for libzypp-zmd-backend-7.1.1.0_2.15-0.3.x86_64
 Solution 1: delete libzypp-zmd-backend
  delete libzypp-zmd-backend-7.1.1.0_2.15-0.3.x86_64
 Solution 2: Ignore this requirement just here
 Solution 3: Ignore this requirement generally

Revision history for this message
Johannes Meixner (jsmeix) said :
#3

I didn't read all the details above, nevertheless FYI:

The latest possible HPLIP version for SLES10/SLED10
is HPLIP 2.8.2 because newer versions do no longer build
and/or work on SLES10/SLED10 because dbus is too old there
so that I cannot provide a newer HPLIP for SLES10/SLED10.

The HPLIP version after 2.8.2 (i.e. since 2.8.4) does all
interprocess communication via dbus and therefore dbus-1-python
version 0.80 or greater is required since version 2.8.4.
For example SLED10-SP1 has only dbus-1-python-0.60.

I provide for testing HPLIP version 2.8.2
(packages hplip-2.8.2 and hplip-hpijs-2.8.2)
for SLES10/SLED10 for 32-bit Intel compatible (i586)
and 64-bit AMD (x86_64) via the openSUSE build service at
http://download.opensuse.org/repositories/home:/jsmeix/SLE_10/

These packages are
* only for testing
* without any guarantee or warranty
* without any support
As an extreme example, this means that if your complete computer
center crashes because of these packages, it is only your problem.

On the other hand this does not mean that these packages are
known to be terrible broken but they are not thoroughly
tested so that any unexpected issue can happen.

In case of problems the RPM changelog via

rpm -q --changelog hplip

might provide hints which change might cause
issues in particular on older systems.

The version number 2.8.2 is higher than the version
of the original packages in SLES10/SLED10
so that you may have to remove installed hplip-2.8.2
and hplip-hpijs-2.8.2 packages manually using (as root)

rpm -e --nodeps hplip hplip-hpijs

before you could re-install the original packages
for SLES10/SLED10 .

Revision history for this message
adamkuo (asykgsm) said :
#4

Dear Johannes Meixner,
Thanks for your reply.
Would you please provide me more detail how to install the file you provide?
I am not a expert on it and there are so many files and I did not know how to start with it.

Best Regards

Revision history for this message
Johannes Meixner (jsmeix) said :
#5

Run the following comands (each command must be typed
in one single line):

Download it:

wget http://download.opensuse.org/repositories/home:/jsmeix/SLE_10/x86_64/hplip-2.8.2-11.1.x86_64.rpm

wget http://download.opensuse.org/repositories/home:/jsmeix/SLE_10/x86_64/hplip-hpijs-2.8.2-11.1.x86_64.rpm

Now you have two RPM package files hplip-2.8.2-11.1.x86_64.rpm
and hplip-hpijs-2.8.2-11.1.x86_64.rpm

Become root, i.e. enter

su -

and type in the root password.

Install the RPM packages with one single RPM call:

rpm -Uhv hplip-hpijs-2.8.2-11.1.x86_64.rpm hplip-2.8.2-11.1.x86_64.rpm

I recommend to run as root HP's own printer setup tool

hp-setup

to set up your printer, see

http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_p1505n.html

The HP LaserJet p1505n supports the generic LJMono device class
which indicates that it supports the generic PCL5e printer language
so that there should be several other drivers which may also work
if HPLIP does not work for you because of whatever reason, see

http://en.opensuse.org/SDB:Purchasing_a_Printer_and_Compatibility

Revision history for this message
Nagesh (nagu-s-hindu) said :
#6

Install libjpeg

Revision history for this message
Naga Samrat Chowdary, Narla (samrat-hplip) said :
#7

Please follow the following configuration string to install

./configure --prefix=/usr --enable-qt3 --disable-qt4
Install / Resolve if any dependencies, shown at configuration time.

Please post the configuration string output, if you need help while resolving / installing dependencies.

Hope this Helps!
Naga Samrat.

Revision history for this message
Naga Samrat Chowdary, Narla (samrat-hplip) said :
#8

Configuration of a package will stop when the dependency packages/software are not installed on system.

Your question description is showing that you system is not installed libjpeg-devel package.

For HPLIP Instructions and configuration settings please refer the following page.
http://hplipopensource.com/hplip-web/install/manual/distros/novell.html

If you feel that your problem is solved, kindly change the status of question to solved. Looking forward to help you if you have any problem with HPLIP.

Hope this Helps,
Naga Samrat.

Revision history for this message
adamkuo (asykgsm) said :
#9

Dear All,
Thanks all of kindly help.
However when I try to Install Dependency Packages

su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses cups cups-client cups-devel gcc-c++ ghostscript-library openssl libjpeg-devel net-snmp-devel glibc libtool libusb libusb-devel make python-imaging python-devel python-xml python sane sane-devel xsane"
Entering non-interactive mode.
Entering 'no-gpg-checks' mode.
Restoring system sources...
Parsing metadata for SUSE Linux Enterprise Server 10 SP2...
Parsing RPM database...
skipping package 'cups' (already installed)
skipping package 'cups-client' (already installed)
skipping package 'cups-devel' (already installed)
skipping package 'gcc-c++' (already installed)
skipping package 'ghostscript-library' (already installed)
skipping package 'openssl' (already installed)
skipping package 'libjpeg-devel' (already installed)
skipping package 'net-snmp-devel' (already installed)
skipping package 'glibc' (already installed)
skipping package 'libtool' (already installed)
skipping package 'libusb' (already installed)
package 'libusb-devel' not found
skipping package 'make' (already installed)
skipping package 'python-imaging' (already installed)
skipping package 'python-devel' (already installed)
skipping package 'python-xml' (already installed)
skipping package 'python' (already installed)
package 'sane' not found
package 'sane-devel' not found
package 'xsane' not found
Summary:
Nothing to do.

But When I try to install the 2.8.2

rpm -Uhv hplip-hpijs-2.8.2-11.1.x86_64.rpm hplip-2.8.2-11.1.x86_64.rpm
warning: hplip-hpijs-2.8.2-11.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 250f3907
error: Failed dependencies:
        libgphoto2.so.2()(64bit) is needed by hplip-hpijs-2.8.2-11.1.x86_64
        libgphoto2_port.so.0()(64bit) is needed by hplip-hpijs-2.8.2-11.1.x86_64 libieee1284.so.3()(64bit) is needed by hplip-hpijs-2.8.2-11.1.x86_64
        libsane.so.1()(64bit) is needed by hplip-hpijs-2.8.2-11.1.x86_64
        python-qt is needed by hplip-2.8.2-11.1.x86_64
        libgphoto2.so.2()(64bit) is needed by hplip-2.8.2-11.1.x86_64
        libgphoto2_port.so.0()(64bit) is needed by hplip-2.8.2-11.1.x86_64
        libieee1284.so.3()(64bit) is needed by hplip-2.8.2-11.1.x86_64
        libsane.so.1()(64bit) is needed by hplip-2.8.2-11.1.x86_64

Which packages should I install and how to install it?

Best Regards

Revision history for this message
Johannes Meixner (jsmeix) said :
#10

/usr/lib64/libgphoto2.so.2 and /usr/lib64/libgphoto2_port.so.0
are provided by the package libgphoto2
but only for SLED10 (Suse Linux Enterprise Desktop)
and not for SLES10 (Suse Linux Enterprise Server).

/usr/lib64/libieee1284.so.3 is provided by the package libieee1284
but only for SLED10 and not for SLES10

/usr/lib64/libsane.so.1 is provided by the package sane
but only for SLED10 and not for SLES10

python-qt is provided by the package python-qt
both for SLED10 and for SLES10

As far as I know /usr/lib64/libgphoto2.so.2, /usr/lib64/libgphoto2_port.so.0,
/usr/lib64/libieee1284.so.3, and /usr/lib64/libsane.so.1 are only needed
for scanning but not for plain printing so that for plain printing it may work
to ignore those dependencies and install the packages with

rpm -Uhv --nodeps --force hplip-hpijs-2.8.2-11.1.x86_64.rpm hplip-2.8.2-11.1.x86_64.rpm

Can you help with this problem?

Provide an answer of your own, or ask adamkuo for more information if necessary.

To post a message you must log in.