PDA

View Full Version : SLES-Other Impossibel to install hplip-3.18.10



benzbikuku
18-Nov-2018, 12:05
Hello,
I am trying to run my SUSE Linux server 11 as a print server but I cannot because of a missing library.
1.I am using a HP printer Deskjet 2541
2. I have downloaded the compressed source code hplip-3.18.10.tar.gz
3.But when I try to prepare the build process with :./configure. I got this error message a the end "configure: error: cannot find libjpeg support"

[COLOR="#FFFF00"]da1:/tmp/hp/hplip-3.18.10 # ./configure
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 for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
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/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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/i586-suse-linux/bin/ld) 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 how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) 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/i586-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
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"
da1:/tmp/hp/hplip-3.18.10 #

5. When I display my library cache with ldconfig -p, I can see that libjpeg is installed in the system.
libkabc_xmlrpc.so.4 (libc6) => /usr/lib/libkabc_xmlrpc.so.4
libkabc_slox.so.4 (libc6) => /usr/lib/libkabc_slox.so.4
libkabc_groupdav.so.4 (libc6) => /usr/lib/libkabc_groupdav.so.4
libkabc_file_core.so.4 (libc6) => /usr/lib/libkabc_file_core.so.4
libkabc.so.4 (libc6) => /usr/lib/libkabc.so.4
libjpeg.so.62 (libc6) => /usr/lib/libjpeg.so.62
libjasper.so.1 (libc6) => /usr/lib/libjasper.so.1
libiw.so.30 (libc6) => /usr/lib/libiw.so.30
libiw.so (libc6) => /usr/lib/libiw.so
libisccfg.so.40 (libc6) => /usr/lib/libisccfg.so.40
libisccc.so.40 (libc6) => /usr/lib/libisccc.so.40
I need your input to help continue the installation.
Benz

malcolmlewis
18-Nov-2018, 15:48
Hi and welcome to the Forum :)
When compiling from source you need the relevant devel(opment) files which contain the headers etc, so you would need the libjpeg devel package also installed.

Since it's unsupported, you could look at asking the openSUSE Build Service (OBS) maintainers to enable a SLE 11 SP3 repository, or just branch and build for SP3?
https://build.opensuse.org/package/show/Printing/hplip

benzbikuku
18-Nov-2018, 22:44
Hi and welcome to the Forum :)
When compiling from source you need the relevant devel(opment) files which contain the headers etc, so you would need the libjpeg devel package also installed.

Since it's unsupported, you could look at asking the openSUSE Build Service (OBS) maintainers to enable a SLE 11 SP3 repository, or just branch and build for SP3?
https://build.opensuse.org/package/show/Printing/hplip

Hi malcolmlewis,
I don't know if I have given the good version of my Suse Linux system but see what I got.

da1:~ # cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (i586)
VERSION = 11
PATCHLEVEL = 0
da1:~ #

malcolmlewis
18-Nov-2018, 23:42
On Sun 18 Nov 2018 09:54:01 PM CST, benzbikuku wrote:


malcolmlewis;55326 Wrote:
> Hi and welcome to the Forum :)
> When compiling from source you need the relevant devel(opment) files
> which contain the headers etc, so you would need the libjpeg devel
> package also installed.
>
> Since it's unsupported, you could look at asking the openSUSE Build
> Service (OBS) maintainers to enable a SLE 11 SP3 repository, or just
> branch and build for SP3?
> https://build.opensuse.org/package/show/Printing/hplip

Hi malcolmlewis,
I don't know if I have given the good version of my Suse Linux system
but see what I got.

da1:~ # cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (i586)
VERSION = 11
PATCHLEVEL = 0
da1:~ #




Hi
Ahhh real old.... you might be lucky to get it to build.

Any reason you can't upgrade to SLE 11 SP4? Does your system CPU
support 64bit and get to an even newer release?

--
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.25-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!