Installation make terminates with status code 2

Asked by jay

Hi
I'm trying to install 2.8.2 on Suse 10.3. There were some warnings as you can below. Eventually make failed with status code 2. Then I ran it a second time - result further below.

I checked the drv_dir warning. Looking at the usr/share/cups directory the likely correct path I guess should read "/usr/share/cups/drivers" which is present.
Where can I change the preset of the drv_dir directory?

Couldn't find the log files, where are they stored?

br

Juergen

##############################################

juergen@jm3-linux-1mgm:~/HPLIB> sh hplip-2.8.2.run
Creating directory hplip-2.8.2
Verifying archive integrity... All good.
Uncompressing HPLIP 2.8.2 Self Extracting Archive.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

HP Linux Imaging and Printing System (ver. 2.8.2)
HPLIP Installer ver. 3.1

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

Installer log saved in: hplip-install_Thu-20-Mar-2008_20:31:53.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 chose installation options to fit specific requirements.

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

Initializing. Please wait...
warning: Invalid drv_dir value: /usr/share/cups/drv/hp/

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

DISTRO/OS CONFIRMATION
----------------------
Distro appears to be SUSE Linux 10.3.

Is "SUSE Linux 10.3" your correct distro/OS and version (y=yes*, n=no, q=quit) ?

ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password:
Password accepted

INSTALLATION NOTES
------------------
Please be sure to disable the CD repositories in YaST.

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

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

INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
warning: There are 1 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: python-devel (python-devel - Python development files)

INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
warning: There are 3 missing OPTIONAL dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency for option 'network': libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)
warning: Missing OPTIONAL dependency for option 'fax': reportlab (Reportlab - PDF library for Python)
error: This installer cannot install this dependency for your distro/OS and/or version.
warning: Missing OPTIONAL dependency for option 'base': cups-ddk (cups-ddk - CUPS driver development kit)

CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.

RUNNING PRE-PACKAGE COMMANDS
----------------------------

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'xterm -e su -c "yast --install python-devel python-xml net-snmp-devel cupsddk"'
Please wait, this may take several minutes...

RUNNING POST-PACKAGE COMMANDS
-----------------------------

RE-CHECKING DEPENDENCIES
------------------------
warning: An optional dependency 'reportlab (Reportlab - PDF library for Python)' is still missing.
warning: Some features may not function as expected.

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

BUILD AND INSTALL
-----------------
Running './configure --enable-network-build --disable-pp-build --enable-fax-build --enable-gui-build --enable-scan-build --enable-doc-build --disable-foomatic-ppd-install --enable-foomatic-drv-install --with-drvdir=/usr/share/cups/drv/hp/ --with-hpppddir=/usr/share/cups/model/HP --disable-hpijs-only-build --prefix=/usr'
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
juergen@jm3-linux-1mgm:~/HPLIB>

########################################################

Second try

########################################################

juergen@jm3-linux-1mgm:~/HPLIB> sh hplip-2.8.2.run
Creating directory hplip-2.8.2
Verifying archive integrity... All good.
Uncompressing HPLIP 2.8.2 Self Extracting Archive.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

HP Linux Imaging and Printing System (ver. 2.8.2)
HPLIP Installer ver. 3.1

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

Installer log saved in: hplip-install_Thu-20-Mar-2008_20:49:05.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 chose installation options to fit specific requirements.

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

Initializing. Please wait...
warning: Invalid drv_dir value: /usr/share/cups/drv/hp/

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

DISTRO/OS CONFIRMATION
----------------------
Distro appears to be SUSE Linux 10.3.

Is "SUSE Linux 10.3" your correct distro/OS and version (y=yes*, n=no, q=quit) ?

ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password:
Password accepted

INSTALLATION NOTES
------------------
Please be sure to disable the CD repositories in YaST.

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

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

INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
warning: There are 1 missing OPTIONAL dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'fax': reportlab (Reportlab - PDF library for Python)
error: This installer cannot install this dependency for your distro/OS and/or version.

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

BUILD AND INSTALL
-----------------
Running './configure --enable-network-build --disable-pp-build --enable-fax-build --enable-gui-build --enable-scan-build --enable-doc-build --disable-foomatic-ppd-install --enable-foomatic-drv-install --with-drvdir=/usr/share/cups/drv/hp/ --with-hpppddir=/usr/share/cups/model/HP --disable-hpijs-only-build --prefix=/usr'
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

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
jay
Solved:
Last query:
Last reply:
Revision history for this message
jay (mailings-merkel-online) said :
#1

Found the log files (sometimes refreshing the filemanager display helps ;-)

The "culprit" was the mssing "libgphoto2-devel" installed it manually and works..

See: https://answers.launchpad.net/hplip/+question/17471

Sorry for bothering you

br

Juergen

Revision history for this message
calin (bobescalin2002) said :
#2

thanks a lot! I haved the same problem! Now it works just fine!
Cheers!