How to install printer drivers for HP LaserJet Professional P1102 in Ubuntu 15.04 32-bit without needing access to openprinting.org website and without using buggy hplip drivers

Asked by heinrich du plooy

hplip-3.15.7 error: configure: error: cannot find python-devel support

Refer to the procedure at http://hplipopensource.com/hplip-web/install/manual/distros/ubuntu.html to install the new version.

In Step 4: Configure HPLIP for installation I used the ./config fot the distros ubove 11.04:

./configure --with-hpppddir=/usr/share/ppd/HP --prefix=/usr --enable-qt4 --disable-libusb01_build --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-udev_sysfs_rules --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build

The process stops with error:

jacolene@Spelterapie:~/hplip-3.15.7$ ./configure --with-hpppddir=/usr/share/ppd/HP --prefix=/usr --enable-qt4 --disable-libusb01_build --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-udev_sysfs_rules --disable-policykit --enable-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... no
checking for mawk... mawk
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... /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... 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/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/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/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/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/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... 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... yes
checking for cups ppd install... no
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_32
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... yes
checking libusb-1.0/libusb.h usability... yes
checking libusb-1.0/libusb.h presence... yes
checking for libusb-1.0/libusb.h... yes
checking for a Python interpreter with version >= 2.2... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/dist-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/dist-packages
checking for path to Python.h... "using /usr/include/python2.7 .... python2.7/Python.h"
checking python2.7/Python.h usability... no
checking python2.7/Python.h presence... no
checking for python2.7/Python.h... no
checking python2.7mu/Python.h usability... no
checking python2.7mu/Python.h presence... no
checking for python2.7mu/Python.h... no
checking python2.7m/Python.h usability... no
checking python2.7m/Python.h presence... no
checking for python2.7m/Python.h... no
configure: error: cannot find python-devel support
jacolene@Spelterapie:~/hplip-3.15.7$ ./configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib --prefix=/usr --enable-qt4 --disable-libusb01_build --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-udev_sysfs_rules --disable-policykit --enable-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... no
checking for mawk... mawk
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... /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... 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/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/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/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/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/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... 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... yes
checking for cups ppd install... no
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_32
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... yes
checking libusb-1.0/libusb.h usability... yes
checking libusb-1.0/libusb.h presence... yes
checking for libusb-1.0/libusb.h... yes
checking for a Python interpreter with version >= 2.2... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/dist-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/dist-packages
checking for path to Python.h... "using /usr/include/python2.7 .... python2.7/Python.h"
checking python2.7/Python.h usability... no
checking python2.7/Python.h presence... no
checking for python2.7/Python.h... no
checking python2.7mu/Python.h usability... no
checking python2.7mu/Python.h presence... no
checking for python2.7mu/Python.h... no
checking python2.7m/Python.h usability... no
checking python2.7m/Python.h presence... no
checking for python2.7m/Python.h... no
configure: error: cannot find python-devel support

I did install Python2.7 with the Software Centre, what should I do next?

Heinrich

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu foo2zjs Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

What is the full Terminal output of the following 3 Terminal commands?

sudo apt-get update

sudo apt-get install avahi-utils libcups2 cups libcups2-dev cups-bsd cups-client libcupsimage2-dev libdbus-1-dev build-essential ghostscript openssl libjpeg-dev libsnmp-dev snmp-mibs-downloader libtool libusb-1.0.0-dev wget policykit-1 policykit-1-gnome python3-dbus python3-gi python3-dev python3-notify2 python3-imaging python3-pyqt4 gtk2-engines-pixbuf python3-dbus.mainloop.qt python3-reportlab python3-lxml libsane libsane-dev sane-utils xsane libpython2.7-dev libpython-dev

apt-cache show libpython2.7-dev ; cat /etc/lsb-release;uname -a;tail -n 10 /var/log/syslog ; lsmod | grep usb ; lsusb ; ls -l /dev/usb/lp* /dev/bus/usb/*/* ; hp-info -i; lpinfo -v; hp-doctor ; sudo usb_printerid /dev/usb/lp0

Please also mention the exact model and make of your printer.

Revision history for this message
heinrich du plooy (heinrichduplooy) said :
#2

Mark

printer HP Laser Jet P1102

Answer:

jacolene@Spelterapie:~$ sudo apt-get update
[sudo] password for jacolene:
Ign http://za.archive.ubuntu.com vivid
InRelease
Ign http://za.archive.ubuntu.com vivid-updates InRelease
Ign http://security.ubuntu.com vivid-security InRelease
Ign http://za.archive.ubuntu.com vivid-backports InRelease
Hit http://za.archive.ubuntu.com vivid Release.gpg
Hit http://za.archive.ubuntu.com vivid-updates Release.gpg
Get:1 http://security.ubuntu.com vivid-security Release.gpg [933 B]
Hit http://za.archive.ubuntu.com vivid-backports Release.gpg
Hit http://za.archive.ubuntu.com vivid Release
Get:2 http://security.ubuntu.com vivid-security Release [63.5 kB]
Hit http://za.archive.ubuntu.com vivid-updates Release
Hit http://za.archive.ubuntu.com vivid-backports
Release
Hit http://za.archive.ubuntu.com vivid/main
Sources
Hit http://za.archive.ubuntu.com vivid/restricted Sources
Hit http://za.archive.ubuntu.com vivid/universe Sources
Hit http://za.archive.ubuntu.com vivid/multiverse Sources
Hit http://za.archive.ubuntu.com vivid/main i386 Packages
Hit http://za.archive.ubuntu.com vivid/restricted i386 Packages
Hit http://za.archive.ubuntu.com vivid/universe i386
Packages
Hit http://za.archive.ubuntu.com vivid/multiverse i386
Packages
Hit http://za.archive.ubuntu.com vivid/main Translation-en
Hit http://za.archive.ubuntu.com vivid/multiverse Translation-en
Hit http://za.archive.ubuntu.com vivid/restricted Translation-en
Get:3 http://security.ubuntu.com vivid-security/main Sources [29.9 kB]
Hit http://za.archive.ubuntu.com vivid/universe Translation-en
Hit http://za.archive.ubuntu.com vivid-updates/main
Sources
Hit http://za.archive.ubuntu.com vivid-updates/restricted Sources
Get:4 http://security.ubuntu.com vivid-security/restricted Sources [28 B]
Hit http://za.archive.ubuntu.com vivid-updates/universe Sources
Hit http://za.archive.ubuntu.com vivid-updates/multiverse Sources
Get:5 http://security.ubuntu.com vivid-security/universe Sources [13.2 kB]
Hit http://za.archive.ubuntu.com vivid-updates/main i386
Packages
Hit http://za.archive.ubuntu.com vivid-updates/restricted i386 Packages
Hit http://za.archive.ubuntu.com vivid-updates/universe i386 Packages
Get:6 http://security.ubuntu.com vivid-security/multiverse Sources [1,957 B]
Hit http://za.archive.ubuntu.com vivid-updates/multiverse i386 Packages
Hit http://za.archive.ubuntu.com vivid-updates/main Translation-en
Get:7 http://security.ubuntu.com vivid-security/main i386 Packages [86.8 kB]
Hit http://za.archive.ubuntu.com vivid-updates/multiverse
Translation-en
Hit http://za.archive.ubuntu.com vivid-updates/restricted
Translation-en
Hit http://za.archive.ubuntu.com vivid-updates/universe
Translation-en
Hit http://za.archive.ubuntu.com vivid-backports/main
Sources
Hit http://za.archive.ubuntu.com vivid-backports/restricted
Sources
Get:8 http://security.ubuntu.com vivid-security/restricted i386 Packages
[28 B]
Hit http://za.archive.ubuntu.com vivid-backports/universe Sources
Get:9 http://security.ubuntu.com vivid-security/universe i386 Packages
[43.0 kB]
Hit http://za.archive.ubuntu.com vivid-backports/multiverse
Sources
Hit http://za.archive.ubuntu.com vivid-backports/main i386
Packages
Hit http://za.archive.ubuntu.com vivid-backports/restricted i386
Packages
Get:10 http://security.ubuntu.com vivid-security/multiverse i386 Packages
[3,675 B]
Hit http://za.archive.ubuntu.com vivid-backports/universe i386 Packages
Hit http://za.archive.ubuntu.com vivid-backports/multiverse i386 Packages
Hit http://za.archive.ubuntu.com vivid-backports/main Translation-en
Hit http://security.ubuntu.com vivid-security/main Translation-en
Hit http://za.archive.ubuntu.com vivid-backports/multiverse Translation-en
Hit http://za.archive.ubuntu.com vivid-backports/restricted Translation-en
Hit http://security.ubuntu.com vivid-security/multiverse Translation-en
Hit http://za.archive.ubuntu.com vivid-backports/universe Translation-en
Hit http://security.ubuntu.com vivid-security/restricted
Translation-en
Hit http://security.ubuntu.com vivid-security/universe
Translation-en
Fetched 243 kB in 21s (11.2
kB/s)
Reading package lists... Done
jacolene@Spelterapie:~$ sudo apt-get install avahi-utils libcups2 cups
libcups2-dev cups-bsd
Reading package lists... Done
Building dependency tree
Reading state information... Done
avahi-utils is already the newest version.
cups is already the newest version.
cups-bsd is already the newest version.
libcups2 is already the newest version.
libcups2-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jacolene@Spelterapie:~$ cups-client libcupsimage2-dev libdbus-1-dev
build-essential ghostscript
cups-client: command not found
jacolene@Spelterapie:~$ openssl libjpeg-dev libsnmp-dev
snmp-mibs-downloader libtool
openssl:Error: 'libjpeg-dev' is an invalid command.

Standard commands
asn1parse ca ciphers cms
crl crl2pkcs7 dgst dh
dhparam dsa dsaparam ec
ecparam enc engine errstr
gendh gendsa genpkey genrsa
nseq ocsp passwd pkcs12
pkcs7 pkcs8 pkey pkeyparam
pkeyutl prime rand req
rsa rsautl s_client s_server
s_time sess_id smime speed
spkac srp ts verify
version x509

Message Digest commands (see the `dgst' command for more details)
md4 md5 rmd160 sha
sha1

Cipher commands (see the `enc' command for more details)
aes-128-cbc aes-128-ecb aes-192-cbc aes-192-ecb
aes-256-cbc aes-256-ecb base64 bf
bf-cbc bf-cfb bf-ecb bf-ofb
camellia-128-cbc camellia-128-ecb camellia-192-cbc camellia-192-ecb
camellia-256-cbc camellia-256-ecb cast cast-cbc
cast5-cbc cast5-cfb cast5-ecb cast5-ofb
des des-cbc des-cfb des-ecb
des-ede des-ede-cbc des-ede-cfb des-ede-ofb
des-ede3 des-ede3-cbc des-ede3-cfb des-ede3-ofb
des-ofb des3 desx rc2
rc2-40-cbc rc2-64-cbc rc2-cbc rc2-cfb
rc2-ecb rc2-ofb rc4 rc4-40
seed seed-cbc seed-cfb seed-ecb
seed-ofb

jacolene@Spelterapie:~$ libusb-1.0.0-dev wget policykit-1 policykit-1-gnome
python3-dbus
libusb-1.0.0-dev: command not found
jacolene@Spelterapie:~$ python3-gi python3-dev python3-notify2
python3-imaging python3-pyqt4
python3-gi: command not found
jacolene@Spelterapie:~$ gtk2-engines-pixbuf python3-dbus.mainloop.qt
python3-reportlab
gtk2-engines-pixbuf: command not found
jacolene@Spelterapie:~$ python3-lxml libsane libsane-dev sane-utils xsane
libpython2.7-dev
python3-lxml: command not found
jacolene@Spelterapie:~$ libpython-dev
libpython-dev: command not found
jacolene@Spelterapie:~$ apt-cache show libpython2.7-dev ; cat
/etc/lsb-release;uname -a;tail -n
Package: libpython2.7-dev
Priority: optional
Section: libdevel
Installed-Size: 26603
Maintainer: Ubuntu Core Developers <email address hidden>
Original-Maintainer: Matthias Klose <email address hidden>
Architecture: i386
Source: python2.7
Version: 2.7.9-2ubuntu3
Replaces: python2.7 (<< 2.7-3), python2.7-dev (<< 2.7.3-10),
python2.7-minimal (<< 2.7.3-10)
Depends: libpython2.7-stdlib (= 2.7.9-2ubuntu3), libpython2.7 (=
2.7.9-2ubuntu3), libexpat1-dev
Pre-Depends: multiarch-support
Recommends: libc6-dev | libc-dev
Filename: pool/main/p/python2.7/libpython2.7-dev_2.7.9-2ubuntu3_i386.deb
Size: 18409398
MD5sum: 3b1c3885cef8aadf9424e3bad886211b
SHA1: 4af3f9baa4e6d9993c093766e5d878843b3d40ab
SHA256: f4903d8d8cd4521795d5df66a399d4b9cfdacfb689f529766669a8bbee414e67
Description-en: Header files and a static library for Python (v2.7)
 Header files, a static library and development tools for building
 Python (v2.7) modules, extending the Python interpreter or embedding
 Python (v2.7) in applications.
 .
 Maintainers of Python packages should read README.maintainers.
 .
 This package contains development files. It is normally not
 used on it's own, but as a dependency of python2.7-dev.
Description-md5: 2ef5e0390998d9ab1872bc0f6b694ff7
Multi-Arch: same
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.04
DISTRIB_CODENAME=vivid
DISTRIB_DESCRIPTION="Ubuntu 15.04"
Linux Spelterapie 3.19.0-23-generic #24-Ubuntu SMP Tue Jul 7 18:52:29 UTC
2015 i686 i686 i686 GNU/Linux
tail: option requires an argument -- 'n'
Try 'tail --help' for more information.
jacolene@Spelterapie:~$ 10 /var/log/syslog ; lsmod | grep usb ; lsusb ; ls
-l /dev/usb/lp*
10: command not found
usbnet 40960 2 rndis_host,cdc_ether
usblp 20480 0
usb_wwan 20480 1 option
usbserial 40960 2 option,usb_wwan
usbhid 49152 0
hid 98304 2 hid_generic,usbhid
usb_storage 57344 1 uas
mii 16384 2 r8169,usbnet
Bus 001 Device 009: ID 04e8:6863 Samsung Electronics Co., Ltd
Bus 001 Device 005: ID 03f0:002a Hewlett-Packard LaserJet P1102
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 04d9:1702 Holtek Semiconductor, Inc.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 15d9:0a4c Trust International B.V. USB+PS/2 Optical
Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
crw-rw---- 1 root lp 180, 0 Jul 25 14:33 /dev/usb/lp0
jacolene@Spelterapie:~$ /dev/bus/usb/*/* ; hp-info -i; lpinfo -v; hp-doctor
; sudo usb_printerid
bash: /dev/bus/usb/001/001: Permission denied

HP Linux Imaging and Printing System (ver. 3.15.2)
Device Information Utility ver. 5.2

Copyright (c) 2001-15 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

error: No device found that support this feature.
serial serial:/dev/ttyS0?baud=115200
serial serial:/dev/ttyS1?baud=115200
serial serial:/dev/ttyUSB0?baud=230400
network lpd
network ipp14
network ipp
network http
network ipps
network https
network socket
direct parallel:/dev/lp0
direct usb://HP/LaserJet%20Professional%20P1102?serial=000000000Q81CD6PSI1c
direct hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81CD6PSI1c
direct hpfax

HP Linux Imaging and Printing System (ver. 3.15.2)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-15 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Checking for Deprecated items....
error: This distro (i.e ubuntu 15.04) is either deprecated or not yet
supported.
The diagnosis is limited on unsupported platforms. Do you want to
continue?(y=yes*, n=no):y
error: Please enter 'y', 'n', 'q' or press <enter> for the default of 'y'.
The diagnosis is limited on unsupported platforms. Do you want to
continue?(y=yes*, n=no):y

Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility

Checking for Dependencies....
warning: ubuntu-15.04 version is not supported. Using ubuntu-14.10 versions
dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 3.19.0-23-generic #24-Ubuntu SMP Tue Jul 7 18:52:29 UTC 2015
GNU/Linux
 Host: Spelterapie
 Proc: 3.19.0-23-generic #24-Ubuntu SMP Tue Jul 7 18:52:29 UTC 2015
GNU/Linux
 Distribution: ubuntu 15.04
 Bitness: 32 bit

-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.15.2
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu
distro 15.04 version

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.15.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
html=/usr/share/doc/hplip-3.15.2
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.15.2
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no

Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri =
hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81CD6PSI1c
printer_name = HP-LaserJet-Professional-P1102
working_dir = .

[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[upgrade]
notify_upgrade = false
last_upgraded_time = 1437800906
pending_upgrade_time = 0

[installation]
date_time = 07/25/15 16:15:33
version = 3.15.2

 <Package-name> <Package-Desc> <Required/Optional>
<Min-Version> <Installed-Version> <Status> <Comment>

--------------------------
| External Dependencies |
--------------------------

 xsane xsane - Graphical scanner frontend for
SANE OPTIONAL 0.9 0.998
OK -
 scanimage scanimage - Shell scanning
program OPTIONAL 1.0
1.0.24 OK -
 policykit PolicyKit - Administrative policy
framework OPTIONAL - 0.105
OK -
 network network
-wget OPTIONAL
- 1.16.1 OK -
 dbus DBus - Message bus
system REQUIRED -
1.8.12 OK -
 cups CUPS - Common Unix Printing
System REQUIRED 1.1
2.0.2 OK 'CUPS Scheduler is running'
 avahi-utils
avahi-utils
OPTIONAL - 0.6.31 OK -
 gs GhostScript - PostScript and PDF language interpreter
and previewer REQUIRED 7.05 9.15 OK -

-------------------------
| General Dependencies |
-------------------------

 python3-xml Python XML
libraries REQUIRED
- 2.1.0 OK -
 python3-notify2 Python libnotify - Python bindings for the libnotify
Desktop notifications OPTIONAL - -
OK -
 python3-devel Python devel - Python development
files REQUIRED 2.2 2.7.9
OK -
 python3-pil PIL - Python Imaging Library (required for
commandline scanning with hp-scan) OPTIONAL -
1.1.7 OK -
 python3-dbus Python DBus - Python bindings for
DBus REQUIRED 0.80.0 1.2.0
OK -
 libcrypto libcrypto - OpenSSL cryptographic
library REQUIRED - 1.0.1
OK -
 cups-devel CUPS devel- Common Unix Printing System development
files REQUIRED - 2.0.2 OK -
 sane SANE - Scanning
library REQUIRED
- 1.0.24 OK -
 python3X Python 2.2 or greater - Python programming
language REQUIRED 2.2 2.7.9
OK -
 error: python3-reportlab Reportlab - PDF library for
Python OPTIONAL 2.0
3.1.44 MISSING 'python3-reportlab needs to be installed'
 python3-pyqt4-dbus PyQt 4 DBus - DBus Support for
PyQt4 OPTIONAL 4.0
4.11.3 OK -
 libusb libusb - USB
library REQUIRED
- 1.0 OK -
 libpthread libpthread - POSIX threads
library REQUIRED -
b'2.21' OK -
 sane-devel SANE - Scanning library development
files REQUIRED - 1.0.24
OK -
 libnetsnmp-devel libnetsnmp-devel - SNMP networking library
development files REQUIRED 5.0.9 5.7.2
OK -
 libjpeg libjpeg - JPEG
library REQUIRED
- - OK -
 python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version
4.x) REQUIRED 4.0 4.11.3 OK -
 cups-image CUPS image - CUPS image development
files REQUIRED - 2.0.2
OK -

---------------
| COMPILEDEP |
---------------

 libtool libtool - Library building support
services REQUIRED - 2.4.2
OK -
 gcc gcc - GNU Project C and C++
Compiler REQUIRED -
4.9.2 OK -
 make make - GNU make utility to maintain groups of
programs REQUIRED 3.0 4.0 OK -

----------------------
| Python Extentions |
----------------------

 cupsext
CUPS-Extension
REQUIRED - 3.15.2 OK -
 hpmudext
IO-Extension
REQUIRED - 3.15.2 OK -

-----------------------
| Scan Configuration |
-----------------------

 scanext
Scan-SANE-Extension
REQUIRED - 3.15.2 OK -
 hpaio
HPLIP-SANE-Backend
REQUIRED - 3.15.2 OK 'hpaio found in
/etc/sane.d/dll.conf'

-----------------------
| Other Dependencies |
-----------------------

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI Model
  -------------------------------- ------------------------------
  hp:/usb/HP_LaserJet_Professional HP LaserJet Professional P1102
  _P1102?serial=000000000Q81CD6PSI
  1c

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

Hewlett-Packard-HP-LaserJet-Professional-P1102-2
------------------------------------------------
Type: Unknown
Device URI:
usb://HP/LaserJet%20Professional%20P1102?serial=000000000Q81CD6PSI1c
PPD: /etc/cups/ppd/Hewlett-Packard-HP-LaserJet-Professional-P1102-2.ppd
PPD Description: Generic text-only printer
Printer status: printer Hewlett-Packard-HP-LaserJet-Professional-P1102-2 is
idle. enabled since Sat 25 Jul 2015 13:56:28 SAST
warning: Printer is not HPLIP installed. Printers must use the hp: or
hpfax: CUPS backend for HP-Devices.

--------------
| PERMISSION |
--------------

USB None Required -
- OK Node:'/dev/bus/usb/001/005' Perm:' root lp rw- rw- rw-
rw- r--'

Checking Permissions....
Permissions are correct.

Checking for Configured Queues....
warning: Device Hewlett-Packard-HP-LaserJet-Professional-P1102-2 is not
HPLIP installed. Device must use the hp: or hpfax: to function in HPLIP.

error: 'Hewlett-Packard-HP-LaserJet-Professional-P1102-2' is not configured
using HPLIP. Need to remove and re-cofigure using hp-setup.
Do you want to remove and re-configure? (y=yes*, n=no, q=quit) ? y
' Hewlett-Packard-HP-LaserJet-Professional-P1102-2' removed successfully.
Re-configuring this printer by hp-setup...

HP Linux Imaging and Printing System (ver. 3.15.2)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

(Note: Defaults for each question are maked with a '*'. Press <enter> to
accept the default.)

--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

  Num Connection
Description

Type
  -------- ----------
----------------------------------------------------------
  0* usb Universal Serial Bus
(USB)
  1 net Network/Ethernet/Wireless (direct connection or
JetDirect)
  2 par Parallel Port
(LPT:)

Enter number 0...2 for connection type (q=quit, enter=usb*) ? 0

Using connection type: usb

Using device:
hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81CD6PSI1c

Setting up device:
hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81CD6PSI1c

------------------------
| PLUG-IN INSTALLATION |
------------------------

Enter Password to install the plugin

HP Linux Imaging and Printing System (ver. 3.15.2)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-15 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

(Note: Defaults for each question are maked with a '*'. Press <enter> to
accept the default.)

-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.15.2 |
-----------------------------------------

  Option Description
  ---------- --------------------------------------------------
  d Download plug-in from HP (recomended)
  p Specify a path to the plug-in (advanced)
  q Quit hp-plugin (skip installation)

Enter option (d=download*, p=specify path, q=quit) ? d

-------------------
| DOWNLOAD PLUGIN |
-------------------

Checking for network connection...
Downloading plug-in from:
Downloading plug-in: [\ ] 0%
error: /home/jacolene/.hplip/hplip-3.15.2-plugin.run file does not match
its checksum. File may have been corrupted or altered
error: Failed to install Plugin.

Checking for HP Properitery Plugin's....
No plug-in printers are configured.

Diagnose completed...

More information on Troubleshooting,How-To's and Support is available on
http://hplipopensource.com/hplip-web/index.html
sudo: usb_printerid: command not found
jacolene@Spelterapie:~$

On Sat, Jul 25, 2015 at 3:36 PM, Mark Rijckenberg <
<email address hidden>> wrote:

> Your question #269634 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/269634
>
> Status: Open => Needs information
>
> Mark Rijckenberg requested more information:
> What is the full Terminal output of the following 3 Terminal commands?
>
> sudo apt-get update
>
> sudo apt-get install avahi-utils libcups2 cups libcups2-dev cups-bsd
> cups-client libcupsimage2-dev libdbus-1-dev build-essential ghostscript
> openssl libjpeg-dev libsnmp-dev snmp-mibs-downloader libtool
> libusb-1.0.0-dev wget policykit-1 policykit-1-gnome python3-dbus
> python3-gi python3-dev python3-notify2 python3-imaging python3-pyqt4
> gtk2-engines-pixbuf python3-dbus.mainloop.qt python3-reportlab
> python3-lxml libsane libsane-dev sane-utils xsane libpython2.7-dev
> libpython-dev
>
> apt-cache show libpython2.7-dev ; cat /etc/lsb-release;uname -a;tail -n
> 10 /var/log/syslog ; lsmod | grep usb ; lsusb ; ls -l /dev/usb/lp*
> /dev/bus/usb/*/* ; hp-info -i; lpinfo -v; hp-doctor ; sudo usb_printerid
> /dev/usb/lp0
>
> Please also mention the exact model and make of your printer.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/269634
>
> You received this question notification because you asked the question.
>

--
What did YOU do today to praise the LORD!

*1 Corinthians 10:31*
"So whether *you* eat or drink or *whatever* *you* *do*, *do it* all for
the *glory of God."*

Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#3

FIRST visit the following website using a web browser (do NOT use your Email client !!!) to get a good look at the right list of commands that are not chopped up.....

https://answers.launchpad.net/ubuntu/+question/269634

Copy paste each command below from the web browser into the Linux Terminal and do NOT allow your Email client to chop up the commands into invalid pieces, like you did with my previous Terminal commands. If you chop up the Terminal commands, you will of course get junk as a result....

# How to install printer drivers for HP Laserjet P1102 in Ubuntu 14.04 LTS 64-bit without needing access to openprinting.org website and without using buggy hplip drivers

#List of printers supported by foo2zjs printer driver: http://foo2zjs.rkkda.com/
# Copy-paste following Terminal commands one by one into the Terminal:

 sudo apt-get update
 sudo apt-get remove hplip cups-filters cups hplip-data system-config-printer-udev
 sudo apt-get install build-essential tix groff dc axel cups
 sudo apt-get install cups-filters unp system-config-printer-gnome
 sudo rm -rf /usr/share/hplip
 cd /tmp
 rm foo*
 axel http://foo2zjs.rkkda.com/foo2zjs.tar.gz
 unp foo2zjs.tar.gz
 cd foo2zjs/
 make
 sudo make install
 sudo make install-hotplug
wget http://hplipopensource.com/hplip-web/smartinstall/SmartInstallDisable-Tool.run
sh SmartInstallDisable-Tool.run
 # Unplug and re-plug the USB printer into the PC
 # add new HP Laserjet P1102 printer via system-config-printer tool
 # and choose to use foo2zjs foomatic printer driver :
 system-config-printer
 # check /var/log/syslog for any errors related to foo2zjs driver:
 tail /var/log/syslog
# Then power cycle both your PC and your HP printer Then retest printing using the newly installed foo2zjs driver This procedure should solve the hplip driver error "Device Communication Error,
# code 5012" Source: https://answers.launchpad.net/hplip/+question/249391

# Based on https://mark911.wordpress.com/2014/10/31/how-to-install-printer-drivers-for-hp-laserjet-1020-in-ubuntu-14-04-lts-without-needing-access-to-openprinting-org-website/

Revision history for this message
heinrich du plooy (heinrichduplooy) said :
#4

Thanks Mark Rijckenberg, that solved my question.

Revision history for this message
heinrich du plooy (heinrichduplooy) said :
#5

100% the printer prints, Thanks Mark.

On Sat, Jul 25, 2015 at 5:36 PM, heinrich du plooy <
<email address hidden>> wrote:

> Your question #269634 on foo2zjs in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/foo2zjs/+question/269634
>
> Status: Answered => Solved
>
> You confirmed that the question is solved:
> Thanks Mark Rijckenberg, that solved my question.
>
> --
> You received this question notification because you asked the question.
>

--
What did YOU do today to praise the LORD!

*1 Corinthians 10:31*
"So whether *you* eat or drink or *whatever* *you* *do*, *do it* all for
the *glory of God."*