Public bug reported: Hello.
I have downloaded and i have tried to install hplip 3.21.2 on Ubuntu 20.04 but this show this error: READY TO BUILD AND INSTALL -------------------------- Ready to perform build and install. Press <enter> to continue or 'q' to quit: PRE-BUILD COMMANDS ------------------ OK BUILD AND INSTALL ----------------- Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib --prefix=/usr --disable-qt4 --disable-qt5 --disable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-libusb01_build --disable-foomatic-ppd-install --disable-hpijs-install --disable-class-driver --disable-udev_sysfs_rules --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --disable-dbus-build --enable-scan-build --disable-fax-build --enable-apparmor_build' Please wait, this may take several minutes... Command completed successfully. Running 'make clean' Please wait, this may take several minutes... Command completed successfully. Running 'make' Please wait, this may take several minutes... error: 'make' command failed with status code 2 And then exit of installation. If i execute make in console, i see this: # make /bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.21.2\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.21.2\" -DPACKAGE_BUGREPORT=\"3.21.2\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.21.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -DCONFDIR=\"/etc/hp\" -I/usr/include/avahi-client -I/usr/include/avahi-core -I/usr/include/avahi-common -DCONFDIR=\"/etc/hp\" -MT libhpdiscovery_la-avahiDiscovery.lo -MD -MP -MF .deps/libhpdiscovery_la-avahiDiscovery.Tpo -c -o libhpdiscovery_la-avahiDiscovery.lo `test -f 'protocol/discovery/avahiDiscovery.c' || echo './'`protocol/discovery/avahiDiscovery.c libtool: compile: gcc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.21.2\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.21.2\"" -DPACKAGE_BUGREPORT=\"3.21.2\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.21.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -DCONFDIR=\"/etc/hp\" -I/usr/include/avahi-client -I/usr/include/avahi-core -I/usr/include/avahi-common -DCONFDIR=\"/etc/hp\" -MT libhpdiscovery_la-avahiDiscovery.lo -MD -MP -MF .deps/libhpdiscovery_la-avahiDiscovery.Tpo -c protocol/discovery/avahiDiscovery.c -fPIC -DPIC -o .libs/libhpdiscovery_la-avahiDiscovery.o protocol/discovery/avahiDiscovery.c:22:10: fatal error: dbus/dbus.h: No such file or directory 22 | #include <dbus/dbus.h> | ^~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:6163: libhpdiscovery_la-avahiDiscovery.lo] Error 1 How can i fix it? Thanks! ** Affects: hplip (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to hplip in Ubuntu. https://bugs.launchpad.net/bugs/1917499 Title: hplip Status in hplip package in Ubuntu: New Bug description: Hello. I have downloaded and i have tried to install hplip 3.21.2 on Ubuntu 20.04 but this show this error: READY TO BUILD AND INSTALL -------------------------- Ready to perform build and install. Press <enter> to continue or 'q' to quit: PRE-BUILD COMMANDS ------------------ OK BUILD AND INSTALL ----------------- Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib --prefix=/usr --disable-qt4 --disable-qt5 --disable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-libusb01_build --disable-foomatic-ppd-install --disable-hpijs-install --disable-class-driver --disable-udev_sysfs_rules --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --disable-dbus-build --enable-scan-build --disable-fax-build --enable-apparmor_build' Please wait, this may take several minutes... Command completed successfully. Running 'make clean' Please wait, this may take several minutes... Command completed successfully. Running 'make' Please wait, this may take several minutes... error: 'make' command failed with status code 2 And then exit of installation. If i execute make in console, i see this: # make /bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.21.2\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.21.2\" -DPACKAGE_BUGREPORT=\"3.21.2\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.21.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -DCONFDIR=\"/etc/hp\" -I/usr/include/avahi-client -I/usr/include/avahi-core -I/usr/include/avahi-common -DCONFDIR=\"/etc/hp\" -MT libhpdiscovery_la-avahiDiscovery.lo -MD -MP -MF .deps/libhpdiscovery_la-avahiDiscovery.Tpo -c -o libhpdiscovery_la-avahiDiscovery.lo `test -f 'protocol/discovery/avahiDiscovery.c' || echo './'`protocol/discovery/avahiDiscovery.c libtool: compile: gcc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.21.2\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.21.2\"" -DPACKAGE_BUGREPORT=\"3.21.2\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.21.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -DCONFDIR=\"/etc/hp\" -I/usr/include/avahi-client -I/usr/include/avahi-core -I/usr/include/avahi-common -DCONFDIR=\"/etc/hp\" -MT libhpdiscovery_la-avahiDiscovery.lo -MD -MP -MF .deps/libhpdiscovery_la-avahiDiscovery.Tpo -c protocol/discovery/avahiDiscovery.c -fPIC -DPIC -o .libs/libhpdiscovery_la-avahiDiscovery.o protocol/discovery/avahiDiscovery.c:22:10: fatal error: dbus/dbus.h: No such file or directory 22 | #include <dbus/dbus.h> | ^~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:6163: libhpdiscovery_la-avahiDiscovery.lo] Error 1 How can i fix it? Thanks! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1917499/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp