LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2014, 08:31 AM   #1
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Rep: Reputation: Disabled
error while installing printer driver for hp printer .. M1213nf mfp


I am using centos 6.5 64bit. when i am tryin to install hplip driver for printer then it is throwing some error.
Code:
[root@SYS-1582 hplip-3.14.3]# ./configure --with-hpppddir=/usr/share/cups/model/HP --libdir=/usr/lib64 --prefix=/usr --enable-qt4 --disable-libusb01_build --enable-doc-build --enable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-udev_sysfs_rules --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 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... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/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... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/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... no
checking if : 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... no
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/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 how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/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... no
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/bin/ld -m elf_x86_64) 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... yes
checking for dlopen in -ldl... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking whether byte ordering is bigendian... no
checking for uint32_t... yes
checking "for platform-dependencies"... "using Default platform.h"
checking for documentation build... yes
checking for hpijs only build... no
checking for lite build... no
checking for hpcups only build... no
checking for hpijs install... no
checking for hpcups install... yes
checking for new hpcups install... no
checking for network build... yes
checking for parallel port build... no
checking for scanner build... yes
checking for gui build... yes
checking for fax build... yes
checking for dbus build... yes
checking for cups 1.1.x build... no
checking for udev sysfs enable rules... no
checking for shadow build... no
checking for libusb-0.1 build... no
checking for foomatic ppd install... no
checking for foomatic drv install... no
checking for cups drv install... no
checking for cups ppd install... yes
checking for foomatic-rip-hplip install... no
checking for qt4... yes
checking for qt3... no
checking for policykit... no
checking for host machine platform... x86_64
checking for CRYPTO_free in -lcrypto... yes
checking for snmp_timeout in -lnetsnmp... yes
checking net-snmp/net-snmp-config.h usability... yes
checking net-snmp/net-snmp-config.h presence... yes
checking for net-snmp/net-snmp-config.h... yes
checking for cupsDoFileRequest in -lcups... yes
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking for libusb_init in -lusb-1.0... no
configure: error: cannot find libusb 1.0 support
when i checked libusb-devel package it is availble
Code:
[root@SYS-1582 hplip-3.14.3]# rpm -qa libusb-devel
libusb-devel-0.1.12-23.el6.x86_64
[root@SYS-1582 hplip-3.14.3]#
Can anyone please help me to troubleshoot this issue. i am following below given URL for installing driver.

 
Old 04-04-2014, 08:39 AM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
have you considered installing it via yum ?:
Code:
[schneidz@hyper ebay]$ yum search hplip
Loaded plugins: refresh-packagekit
http://bluebubble.k3rnel.net/repo/repodata/repomd.xml: [Errno 12] Timeout on http://bluebubble.k3rnel.net/repo/repodata/repomd.xml: (28, '')
Trying other mirror.
======================================================= N/S Matched: hplip =======================================================
hplip-common.x86_64 : Files needed by the HPLIP printer and scanner drivers
hplip-gui.x86_64 : HPLIP graphical tools
hplip-libs.i686 : HPLIP libraries
hplip-libs.x86_64 : HPLIP libraries
hplip.x86_64 : HP Linux Imaging and Printing Project
 
Old 04-07-2014, 01:26 AM   #3
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by schneidz View Post
have you considered installing it via yum ?:
Code:
[schneidz@hyper ebay]$ yum search hplip
Loaded plugins: refresh-packagekit
http://bluebubble.k3rnel.net/repo/repodata/repomd.xml: [Errno 12] Timeout on http://bluebubble.k3rnel.net/repo/repodata/repomd.xml: (28, '')
Trying other mirror.
======================================================= N/S Matched: hplip =======================================================
hplip-common.x86_64 : Files needed by the HPLIP printer and scanner drivers
hplip-gui.x86_64 : HPLIP graphical tools
hplip-libs.i686 : HPLIP libraries
hplip-libs.x86_64 : HPLIP libraries
hplip.x86_64 : HP Linux Imaging and Printing Project


Yes i tried it but the results are.

Code:
[root@SYS-1582 hplip-3.14.3]# yum search hplip*
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
epel/metalink                                                                                                                                   | 5.4 kB     00:00     
 * base: mirror.nbrc.ac.in
 * epel: mirrors.ispros.com.bd
 * extras: mirror.nbrc.ac.in
 * updates: mirror.nbrc.ac.in
base                                                                                                                                            | 3.7 kB     00:00     
epel                                                                                                                                            | 4.4 kB     00:00     
epel/primary_db                                                                                                                                 | 6.0 MB     00:06     
http://repos.fedorapeople.org/repos/peter/erlang/epel-6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
extras                                                                                                                                          | 3.4 kB     00:00     
puppetlabs-deps                                                                                                                                 | 2.5 kB     00:00     
puppetlabs-products                                                                                                                             | 2.5 kB     00:00     
puppetlabs-products/primary_db                                                                                                                  | 114 kB     00:01     
updates                                                                                                                                         | 3.4 kB     00:00     
epel/pkgtags                                                                                                                                    | 1.0 MB     00:01     
Warning: No matches found for: hplip_clean.sh
Warning: No matches found for: hplip.conf.in
Warning: No matches found for: hplip.desktop.in
Warning: No matches found for: hplip-install
Warning: No matches found for: hplip-install_Fri-04-Apr-2014_18:04:36.log
Warning: No matches found for: hplip.list.in
Warning: No matches found for: hplip-systray.desktop.in
No Matches found
[root@SYS-1582 hplip-3.14.3]#
Any other thing which i can apply?
 
Old 04-07-2014, 01:35 AM   #4
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Hi,

I just insalled libusb via yum that's it it resolved my problem. Thanks for your time sir.
 
  


Reply



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
HP printer successful driver install but no printer detected dwhb Linux - Hardware 14 11-01-2012 11:40 AM
need help installing a printer driver Najeira1969 Linux - Newbie 1 01-04-2009 03:32 PM
Installing Canon LBP USB Printer as network printer on a Fedora Core without XWindow boy3dfx2 Linux - Newbie 5 06-03-2006 01:23 PM
help installing printer driver comprookie2000 Linux - Hardware 9 02-27-2004 06:29 PM
how do i make redhat recognize my printer new printer driver Kilahchris Linux - General 2 03-04-2003 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:38 PM.

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
Open Source Consulting | Domain Registration