problem install hplip 3.21.2 kubuntu 18.04

Asked by Claudio Cavani

During install hplip 3.21.2 whith my kubuntu 18.04 Linux col-acer 4.15.0-91-lowlatency, g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0, Python 2.7.17 i have this problem:
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... no
configure: error: in `/home/col/tmp/hplip-3.21.2':
configure: error: C++ compiler cannot create executables
See `config.log' for more details

config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by HP Linux Imaging and Printing configure 3.21.2, which was
generated by GNU Autoconf 2.68. Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = col-acer
uname -m = x86_64
uname -r = 4.15.0-91-lowlatency
uname -s = Linux
uname -v = #92-Ubuntu SMP PREEMPT Fri Feb 28 12:15:04 UTC 2020

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
PATH: /usr/lib/jvm/java-8-oracle/bin
PATH: /usr/lib/jvm/java-8-oracle/db/bin
PATH: /usr/lib/jvm/java-8-oracle/jre/bin
PATH: /sviluppo/df31d/bin

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2665: checking for a BSD-compatible install
configure:2733: result: /usr/bin/install -c
configure:2744: checking whether build environment is sane
configure:2794: result: yes
configure:2935: checking for a thread-safe mkdir -p
configure:2974: result: /bin/mkdir -p
configure:2987: checking for gawk
configure:3003: found /usr/bin/gawk
configure:3014: result: gawk
configure:3025: checking whether make sets $(MAKE)
configure:3047: result: yes
configure:3218: checking for g++
configure:3234: found /usr/bin/g++
configure:3245: result: g++
configure:3272: checking for C++ compiler version
configure:3281: g++ --version >&5
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3292: $? = 0
configure:3281: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
configure:3292: $? = 0
configure:3281: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:3292: $? = 1
configure:3281: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
g++: fatal error: no input files
compilation terminated.
configure:3292: $? = 1
configure:3312: checking whether the C++ compiler works
configure:3334: g++ conftest.cpp >&5
total 3.1M
11920203 drwxr-xr-x 1 1000 22 Mar 6 19:48 io/
11919280 drwxr-xr-x 1 1000 28 Mar 6 19:48 ppd/
11920482 drwxr-xr-x 1 1000 28 Mar 6 19:48 common/
11919126 -rw-r--r-- 1 1000 29 Mar 6 19:48 unreleased.inc
11919177 drwxr-xr-x 1 1000 40 Mar 6 19:48 copier/
11920193 drwxr-xr-x 1 1000 54 Mar 6 19:48 apparmor/
11920412 drwxr-xr-x 1 1000 58 Mar 6 19:48 scan/
11919061 drwxr-xr-x 1 1000 70 Mar 6 19:48 protocol/
11920603 drwxr-xr-x 1 1000 92 Mar 6 19:48 data/
11919071 drwxr-xr-x 1 1000 96 Mar 6 19:48 selinux/
11920399 drwxr-xr-x 1 1000 110 Mar 6 19:48 pcard/
11920471 drwxr-xr-x 1 1000 154 Mar 6 19:48 installer/
11919176 -rw-rw-r-- 1 1000 177 Mar 6 19:48 hp-uiscan.desktop.in
11920995 drwxr-xr-x 1 1000 178 Mar 6 19:48 prnt/
11919090 drwxr-xr-x 1 1000 230 Mar 6 19:48 fax/
11921754 -rw-rw-r-- 1 1000 304 Mar 6 19:48 confdefs.h
11919086 -rw-rw-r-- 1 1000 307 Mar 6 19:48 hplip-systray.desktop.in
11920183 drwxr-xr-x 1 1000 318 Mar 6 19:48 plugins/
11919130 -rw-rw-r-- 1 1000 344 Mar 6 19:48 hplip.desktop.in
11920262 -rw-rw-r-- 1 1000 345 Mar 6 19:48 init-iptables-firewall
11921772 -rw-rw-r-- 1 1000 361 Mar 6 19:48 conftest.cpp
11920201 -rw-rw-r-- 1 1000 382 Mar 6 19:48 Makefile_dat2drv
   85274 drwxrwxr-x 1 1000 420 Mar 6 19:48 ../
11919131 -rw-rw-r-- 1 1000 431 Mar 6 19:48 FindPPD.h
11920467 -rwxrwxr-x 1 1000 532 Mar 6 19:48 init-suse-firewall
11920228 drwxr-xr-x 1 1000 630 Mar 6 19:48 doc/
11920362 drwxr-xr-x 1 1000 634 Mar 6 19:48 ip/
11919136 drwxr-xr-x 1 1000 658 Mar 6 19:48 base/
11920199 -rw-rw-r-- 1 1000 848 Mar 6 19:48 __init__.py
11919127 -rwxrwxr-x 1 1000 917 Mar 6 19:48 hplip-install
11920481 -rw-rw-r-- 1 1000 1.3K Mar 6 19:48 hplip.conf.in
11919175 -rwxrwxr-x 1 1000 1.6K Mar 6 19:48 Common.h
11919118 -rwxrwxr-x 1 1000 1.9K Mar 6 19:48 hplip_clean.sh
11920225 -rwxrwxr-x 1 1000 1.9K Mar 6 19:48 class_rpm_build.sh
11919059 drwxr-xr-x 1 1000 2.2K Mar 6 19:48 ./
11919133 -rwxrwxr-x 1 1000 2.2K Mar 6 19:48 uiscan.py
11919083 -rwxrwxr-x 1 1000 2.5K Mar 6 19:48 pqdiag.py
11919081 -rwxrwxr-x 1 1000 2.6K Mar 6 19:48 linefeedcal.py
11919089 -rwxrwxr-x 1 1000 2.6K Mar 6 19:48 faxsetup.py
11921742 -rwxrwxr-x 1 1000 2.7K Mar 6 19:48 devicesettings.py
11919080 -rwxrwxr-x 1 1000 2.8K Mar 6 19:48 wificonfig.py
11920601 -rw-rw-r-- 1 1000 2.9K Mar 6 19:48 Normalize.h
11919123 -rwxrwxr-x 1 1000 3.0K Mar 6 19:48 printsettings.py
11919069 -rwxrwxr-x 1 1000 3.1K Mar 6 19:48 hpijs-drv
11919129 -rwxrwxr-x 1 1000 3.2K Mar 6 19:48 pkservice.py
11920200 -rwxrwxr-x 1 1000 3.3K Mar 6 19:48 uninstall.py
11919082 -rwxrwxr-x 1 1000 3.4K Mar 6 19:48 timedate.py
11919121 -rwxrwxr-x 1 1000 3.4K Mar 6 19:48 createPPD.sh
11920264 drwxr-xr-x 1 1000 3.6K Mar 6 19:48 ui4/
11920479 -rw-rw-r-- 1 1000 3.7K Mar 6 19:48 FindPPD.cpp
11919117 -rwxrwxr-x 1 1000 3.7K Mar 6 19:48 diagnose_queues.py
11919182 drwxr-xr-x 1 1000 3.7K Mar 6 19:48 ui5/
11921753 -rw-rw-r-- 1 1000 3.8K Mar 6 19:48 config.log
11920361 -rwxrwxr-x 1 1000 3.8K Mar 6 19:48 diagnose_plugin.py
11920487 drwxr-xr-x 1 1000 4.2K Mar 6 19:48 ui/
11921741 -rwxrwxr-x 1 1000 4.3K Mar 6 19:48 print.py
11920202 -rw-r--r-- 1 1000 4.4K Mar 6 19:48 class_cups_drv.inc
11920226 -rw-rw-r-- 1 1000 4.8K Mar 6 19:48 systray.py
11919119 -rwxrwxr-x 1 1000 5.0K Mar 6 19:48 query.py
11919134 -rwxrwxr-x 1 1000 5.7K Mar 6 19:48 makeuri.py
11919070 -rwxrwxr-x 1 1000 6.0K Mar 6 19:48 testpage.py
11919181 -rwxrwxr-x 1 1000 6.3K Mar 6 19:48 info.py
11920485 -rwxrwxr-x 1 1000 6.5K Mar 6 19:48 firmware.py
11919085 -rwxrwxr-x 1 1000 6.9K Mar 6 19:48 levels.py
11919128 -rwxrwxr-x 1 1000 7.0K Mar 6 19:48 config_usb_printer.py
11920480 -rwxrwxr-x 1 1000 7.1K Mar 6 19:48 hpdio.py
11919060 -rwxrwxr-x 1 1000 7.1K Mar 6 19:48 clean.py
11920468 -rw-rw-r-- 1 1000 7.3K Mar 6 19:48 hplipclassdriver.spec
11920994 -rwxrwxr-x 1 1000 7.5K Mar 6 19:48 Dat2drv.h
11919135 -rwxrwxr-x 1 1000 7.6K Mar 6 19:48 install.py
11919115 -rwxrwxr-x 1 1000 8.0K Mar 6 19:48 probe.py
11919125 -rwxrwxr-x 1 1000 8.8K Mar 6 19:48 toolbox.py
11920991 -rwxrwxr-x 1 1000 9.1K Mar 6 19:48 colorcal.py
11919078 -rwxrwxr-x 1 1000 9.2K Mar 6 19:48 align.py
11920993 -rwxrwxr-x 1 1000 9.9K Mar 6 19:48 check-plugin.py
11920470 -rwxr-xr-x 1 1000 12K Mar 6 19:48 missing
11920198 -rwxrwxr-x 1 1000 12K Mar 6 19:48 makecopies.py
11920197 -rw-rw-r-- 1 1000 12K Mar 6 19:48 Normalize.cpp
11920600 -rwxrwxr-x 1 1000 13K Mar 6 19:48 logcapture.py
11919088 -rw-rw-r-- 1 1000 13K Mar 6 19:48 doctor.py
11920486 -rwxr-xr-x 1 1000 14K Mar 6 19:48 install-sh
11920466 -rwxrwxr-x 1 1000 14K Mar 6 19:48 plugin.py
11920408 -rwxrwxr-x 1 1000 16K Mar 6 19:48 upgrade.py
11919079 -rwxrwxr-x 1 1000 18K Mar 6 19:48 copyright
11920465 -rwxr-xr-x 1 1000 19K Mar 6 19:48 depcomp
11920263 -rwxrwxr-x 1 1000 21K Mar 6 19:48 hpssd.py
11920992 -rwxrwxr-x 1 1000 22K Mar 6 19:48 sendfax.py
11919124 -rwxrwxr-x 1 1000 25K Mar 6 19:48 unload.py
11919084 -rwxrwxr-x 1 1000 25K Mar 6 19:48 fab.py
11919087 -rw-rw-r-- 1 1000 25K Mar 6 19:48 hplip.list.in
11920227 -rw-rw-r-- 1 1000 27K Mar 6 19:48 configure.in
11920598 -rwxrwxr-x 1 1000 29K Mar 6 19:48 dat2drv.py
11919122 -rwxr-xr-x 1 1000 35K Mar 6 19:48 config.sub
11919120 -rw-r--r-- 1 1000 37K Mar 6 19:48 cups_drv.inc
11919180 -rwxrwxr-x 1 1000 38K Mar 6 19:48 setup.py
11920599 -rw-rw-r-- 1 1000 39K Mar 6 19:48 Makefile.am
11919132 -rwxrwxr-x 1 1000 40K Mar 6 19:48 check.py
11920469 -rwxr-xr-x 1 1000 44K Mar 6 19:48 config.guess
11921743 -rwxrwxr-x 1 1000 44K Mar 6 19:48 Dat2drv.cpp
11920410 -rw-rw-r-- 1 1000 50K Mar 6 19:48 COPYING
11919116 -rw-r--r-- 1 1000 61K Mar 6 19:48 foomatic_drv.inc
11920360 -rwxrwxr-x 1 1000 87K Mar 6 19:48 scan.py
11920478 -rwxr--r-- 1 1000 91K Mar 6 19:48 locatedriver
11920602 -rwxr-xr-x 1 1000 277K Mar 6 19:48 ltmain.sh
11920409 -rw-r--r-- 1 1000 345K Mar 6 19:48 aclocal.m4
11920411 -rwxr--r-- 1 1000 616K Mar 6 19:48 configure
11919068 -rw-r--r-- 1 1000 683K Mar 6 19:48 Makefile.in
configure:3338: $? = 0
configure:3376: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "HP Linux Imaging and Printing"
| #define PACKAGE_TARNAME "hplip"
| #define PACKAGE_VERSION "3.21.2"
| #define PACKAGE_STRING "HP Linux Imaging and Printing 3.21.2"
| #define PACKAGE_BUGREPORT "3.21.2"
| #define PACKAGE_URL ""
| #define PACKAGE "hplip"
| #define VERSION "3.21.2"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3381: error: in `/home/col/tmp/hplip-3.21.2':
configure:3383: error: C++ compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DBUS_CFLAGS_set=
ac_cv_env_DBUS_CFLAGS_value=
ac_cv_env_DBUS_LIBS_set=
ac_cv_env_DBUS_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_PYTHONINCLUDEDIR_set=
ac_cv_env_PYTHONINCLUDEDIR_value=
ac_cv_env_PYTHON_set=
ac_cv_env_PYTHON_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/col/tmp/hplip-3.21.2/missing --run aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/col/tmp/hplip-3.21.2/missing --run tar'
APDK_AUTO_INCLUDE_FLAG=''
APDK_ENDIAN_FLAG=''
APPARMOR_BUILD_FALSE=''
APPARMOR_BUILD_TRUE=''
AR=''
AUTOCONF='${SHELL} /home/col/tmp/hplip-3.21.2/missing --run autoconf'
AUTOHEADER='${SHELL} /home/col/tmp/hplip-3.21.2/missing --run autoheader'
AUTOMAKE='${SHELL} /home/col/tmp/hplip-3.21.2/missing --run automake-1.11'
AWK='gawk'
CC=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CUPS_DRV_INSTALL_FALSE=''
CUPS_DRV_INSTALL_TRUE=''
CUPS_PPD_INSTALL_FALSE=''
CUPS_PPD_INSTALL_TRUE=''
CXX='g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DARWIN_BUILD_FALSE=''
DARWIN_BUILD_TRUE=''
DBUS_CFLAGS=''
DBUS_LIBS=''
DEFS=''
DEPDIR=''
DLLTOOL=''
DOC_BUILD_FALSE=''
DOC_BUILD_TRUE=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FAX_BUILD_FALSE=''
FAX_BUILD_TRUE=''
FGREP=''
FOOMATIC_DRV_INSTALL_FALSE=''
FOOMATIC_DRV_INSTALL_TRUE=''
FOOMATIC_PPD_INSTALL_FALSE=''
FOOMATIC_PPD_INSTALL_TRUE=''
FULL_BUILD_FALSE=''
FULL_BUILD_TRUE=''
GCC_GE_47_FALSE=''
GCC_GE_47_TRUE=''
GREP=''
GUI_BUILD_FALSE=''
GUI_BUILD_TRUE=''
HPCUPS_INSTALL_FALSE=''
HPCUPS_INSTALL_TRUE=''
HPCUPS_ONLY_BUILD_FALSE=''
HPCUPS_ONLY_BUILD_TRUE=''
HPIJS_INSTALL_FALSE=''
HPIJS_INSTALL_TRUE=''
HPIJS_ONLY_BUILD_FALSE=''
HPIJS_ONLY_BUILD_TRUE=''
HPLIP_BUILD_FALSE=''
HPLIP_BUILD_TRUE=''
HPLIP_CLASS_DRIVER_FALSE=''
HPLIP_CLASS_DRIVER_TRUE=''
HPPS_INSTALL_FALSE=''
HPPS_INSTALL_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBUSB01_BUILD_FALSE=''
LIBUSB01_BUILD_TRUE=''
LIPO=''
LITE_BUILD_FALSE=''
LITE_BUILD_TRUE=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/col/tmp/hplip-3.21.2/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NETWORK_BUILD_FALSE=''
NETWORK_BUILD_TRUE=''
NEW_HPCUPS_FALSE=''
NEW_HPCUPS_TRUE=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='hplip'
PACKAGE_BUGREPORT='3.21.2'
PACKAGE_NAME='HP Linux Imaging and Printing'
PACKAGE_STRING='HP Linux Imaging and Printing 3.21.2'
PACKAGE_TARNAME='hplip'
PACKAGE_URL=''
PACKAGE_VERSION='3.21.2'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
POLICYKIT_INSTALL_FALSE=''
POLICYKIT_INSTALL_TRUE=''
PYTHON=''
PYTHONINCLUDEDIR=''
PYTHON_EXEC_PREFIX=''
PYTHON_PLATFORM=''
PYTHON_PREFIX=''
PYTHON_VERSION=''
QT3_INSTALL_FALSE=''
QT3_INSTALL_TRUE=''
QT4_INSTALL_FALSE=''
QT4_INSTALL_TRUE=''
QT5_INSTALL_FALSE=''
QT5_INSTALL_TRUE=''
RANLIB=''
RIP_INSTALL_FALSE=''
RIP_INSTALL_TRUE=''
SCAN_BUILD_FALSE=''
SCAN_BUILD_TRUE=''
SED=''
SET_MAKE=''
SHADOW_BUILD_FALSE=''
SHADOW_BUILD_TRUE=''
SHELL='/bin/bash'
SNMPLIB=''
STRIP=''
UDEV_SYSFS_RULES_FALSE=''
UDEV_SYSFS_RULES_TRUE=''
VERSION='3.21.2'
abs_datadir=''
abs_docdir=''
abs_drvdir=''
abs_hpppddir=''
abs_htmldir=''
abs_mimedir=''
abs_ppddir=''
abs_sbindir=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX='g++'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
apparmor_build=''
apparmordir=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
class_driver=''
cups11_build=''
cups_drv_install=''
cups_ppd_install=''
cupsbackenddir=''
cupsfilterdir=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
dbus_build=''
doc_build=''
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
drvdir=''
dvidir='${docdir}'
epm_class_driver=''
epm_class_install=''
epm_cups_drv_install=''
epm_cups_ppd_install=''
epm_foomatic_drv_install=''
epm_foomatic_ppd_install=''
epm_foomatic_rip_hplip_install=''
epm_full=''
epm_hpcups_install=''
epm_hpcups_only=''
epm_hpijs_install=''
epm_hpijs_only=''
epm_hpps_install=''
epm_lite=''
epm_print_only_exclude=''
epm_qt3=''
epm_qt4=''
epm_qt5=''
epm_scan=''
exec_prefix='NONE'
fax_build=''
foomatic_drv_install=''
foomatic_filter=''
foomatic_ppd_install=''
foomatic_rip_hplip_install=''
gui_build=''
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
hpcups_install=''
hpcups_only_build=''
hpdocdir=''
hphtmldir=''
hpijs_install=''
hpijs_only_build=''
hpppddir=''
hpps_install=''
htmldir='${docdir}'
icondir=''
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/col/tmp/hplip-3.21.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libusb01_build=''
lite_build=''
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mimedir=''
mkdir_p='/bin/mkdir -p'
network_build=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgpyexecdir=''
pkgpythondir=''
platform=''
policykit=''
policykit_dir=''
pp_build=''
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir=''
pythondir=''
qt3=''
qt4=''
qt5=''
sbindir='${exec_prefix}/sbin'
scan_build=''
shadow_build=''
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
systraydir=''
target_alias=''
udev_sysfs_rules=''
ui_toolkit=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "HP Linux Imaging and Printing"
#define PACKAGE_TARNAME "hplip"
#define PACKAGE_VERSION "3.21.2"
#define PACKAGE_STRING "HP Linux Imaging and Printing 3.21.2"
#define PACKAGE_BUGREPORT "3.21.2"
#define PACKAGE_URL ""
#define PACKAGE "hplip"
#define VERSION "3.21.2"

configure: exit 77

Question information

Language:
Italian Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Claudio Cavani
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1
Revision history for this message
Claudio Cavani (clacav) said :
#2

https://developers.hp.com/hp-linux-imaging-and-printing/gethplip

It's the same?

I have tried whith version tar, run, old version 3.20, 3.19, trying with ./configure --prefix=/usr --enable-qt5 --disable-qt4, but the error is the same

whith apt install hplip hplip-gui, the version install ed is 3.17, but my HP laserjet pro mfp m148dw wifi connected i can't connect it as a scanner

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

What output do you receive when you try installing with the command

sh hplip-3.21.2.run

(cd into the right directory first)?

If your printer is connected via WLAN, then you do not necessarily need HPLIP, but you could also use "driverless" printing.

Revision history for this message
Claudio Cavani (clacav) said :
#4

The problem is the scanner, not the printer

HP Linux Imaging and Printing System (ver. 3.21.2)
HPLIP Installer ver. 5.1

Copyright (c) 2001-18 HP 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.

Installer log saved in: hplip-install_Sun-07-Mar-2021_19:47:31.log

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

INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) :

INTRODUCTION
------------
This installer will install HPLIP version 3.21.2 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).

DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 18.04.

Is "Ubuntu 18.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ?
Initializing. Please wait...

ENTER USER PASSWORD
-------------------
Please enter the sudoer (col)'s password:

INSTALLATION NOTES
------------------
Enable the universe/multiverse repositories. Also be sure you are using the Ubuntu "Main" Repositories. See: https://help.ubuntu.com/community/Repositories/Ubuntu for more information. Disable the CD-ROM/DVD source if you do not have the Ubuntu installation media inserted in the drive.

Please read the installation notes. Press <enter> to continue or 'q' to quit:

SECURITY PACKAGES
-----------------
AppArmor is installed.
AppArmor protects the application from external intrusion attempts making the application secure

Would you like to have this installer install the hplip specific policy/profile (y=yes*, n=no, q=quit) ?

RUNNING PRE-INSTALL COMMANDS
----------------------------
OK

RUNNING HPLIP LIBS REMOVE COMMANDS
----------------------------------
sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp
sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp ( hp_libs_remove step 1)
OK

RUNNING SCANJET DEPENDENCY COMMANDS
-----------------------------------
sudo apt-get install --assume-yes python-pip (Scanjet-depend step 1)
sudo pip2 install --upgrade pip (Scanjet-depend step 2)
sudo apt-get install --assume-yes libleptonica-dev (Scanjet-depend step 3)
sudo apt-get install --assume-yes tesseract-ocr (Scanjet-depend step 4)
sudo apt-get install --assume-yes libtesseract-dev (Scanjet-depend step 5)
sudo -H pip2 install tesserocr (Scanjet-depend step 6)
sudo apt-get install --assume-yes tesseract-ocr-all (Scanjet-depend step 7)
sudo apt-get install --assume-yes libzbar-dev (Scanjet-depend step 8)
sudo apt-get install --assume-yes python-zbar (Scanjet-depend step 9)
sudo -H pip2 install opencv-python (Scanjet-depend step 10)
sudo -H pip2 install PyPDF2 (Scanjet-depend step 11)
sudo -H pip2 install imutils (Scanjet-depend step 12)
sudo -H pip2 install pypdfocr (Scanjet-depend step 13)
sudo -H pip2 install scikit-image (Scanjet-depend step 14)
sudo -H pip2 install scipy (Scanjet-depend step 15)
OK

PRE-BUILD COMMANDS
------------------
OK

BUILD AND INSTALL
-----------------
Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib --prefix=/usr --enable-qt4 --disable-qt5 --enable-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 --enable-dbus-build --enable-scan-build --enable-fax-build --enable-apparmor_build'
Please wait, this may take several minutes...
error: Configure failed with error: General/unknown error
error: output = checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... 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... no
configure: error: in `/home/col/tmp/hplip-3.21.2':
configure: error: C++ compiler cannot create executables
See `config.log' for more details

Revision history for this message
Claudio Cavani (clacav) said :
#5

Fixed "ld" command search