HP LaserJet 4Plus - hplip-3.9.8.run error: 'make' command failed with status code 2
I have HP LaserJet 4Plus printing on UBUNTU 9.04
Installing hplip-3.9.8.run, I selected C=custom and then Network/JetDirect I/O' (y=yes*, n=no, q=quit) ? y
Still got an error running make:
Running 'make'
Please wait, this may take several minutes...
error: 'make' command failed with status code 2
tsp0001@
#######
Here is more detail on install:
HP Linux Imaging and Printing System (ver. 3.9.8)
HPLIP Installer ver. 5.1
Copyright (c) 2001-9 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_
/
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) : c
Initializing. Please wait...
INTRODUCTION
------------
This installer will install HPLIP version 3.9.8 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).
DISTRO/OS CONFIRMATION
-------
Distro appears to be Ubuntu 9.04.
Is "Ubuntu 9.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y
SELECT HPLIP OPTIONS
-------
You can select which HPLIP options to enable. Some options require extra dependencies.
Do you wish to enable 'Network/JetDirect I/O' (y=yes*, n=no, q=quit) ? y
Do you wish to enable 'Graphical User Interfaces (Qt4)' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'PC Send Fax support' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'Scanning support' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'HPLIP documentation (HTML)' (y=yes*, n=no, q=quit) ? n
ENTER ROOT/SUPERUSER PASSWORD
-------
Please enter the root/superuser password:
Password accepted
INSTALLATION NOTES
------------------
Enable the universe/multiverse repositories. Also be sure you are using the Ubuntu "Main" Repositories. See: https:/
Please read the installation notes. Press <enter> to continue or 'q' to quit:
RUNNING PRE-INSTALL COMMANDS
-------
OK
CHECKING FOR NETWORK CONNECTION
-------
Network connection present.
RUNNING PRE-PACKAGE COMMANDS
-------
sudo dpkg --configure -a (Pre-depend step 1)
sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
sudo aptitude update (Pre-depend step 3)
OK
DEPENDENCY AND CONFLICT RESOLUTION
-------
warning: A previous install of HPLIP is installed and/or running.
Would you like to have this installer attempt to uninstall the previously installed HPLIP (y=yes*, n=no, q=quit) ? y
sudo apt-get remove --assume-yes hplip hpijs foomatic-db-hpijs (Removing old HPLIP version)
warning: HPLIP removal failed. The previous install may have been installed using a tarball or this installer.
warning: Continuing to run installer - this installation should overwrite the previous one.
RUNNING POST-PACKAGE COMMANDS
-------
OK
RE-CHECKING DEPENDENCIES
-------
OK
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-
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
tsp0001@
#######
Then, I tried to run make manually, did not see any error there:
libtool: link: gcc -g -O2 -o .libs/ptest ptest.o fat.o ./.libs/libhpmud.so /usr/lib/libusb.so -lpthread /usr/lib/
g++ -DPACKAGE_
mv -f .deps/hppgsz-
/bin/bash ./libtool --tag=CXX --mode=link g++ -DAPDK_DJ660 -DAPDK_DJ6xx -DAPDK_DJ6xxPhoto -DAPDK_DJ8xx -DAPDK_DJ9xx -DAPDK_DJ9xxVIP -DAPDK_DJ630 -DAPDK_APOLLO2XXX -DAPDK_APOLLO21XX -DAPDK_APOLLO2560 -DAPDK_DJ600 -DAPDK_DJ350 -DAPDK_DJ8x5 -DAPDK_PSP100 -DAPDK_AUTODUPLEX -DAPDK_
libtool: link: g++ -DAPDK_DJ660 -DAPDK_DJ6xx -DAPDK_DJ6xxPhoto -DAPDK_DJ8xx -DAPDK_DJ9xx -DAPDK_DJ9xxVIP -DAPDK_DJ630 -DAPDK_APOLLO2XXX -DAPDK_APOLLO21XX -DAPDK_APOLLO2560 -DAPDK_DJ600 -DAPDK_DJ350 -DAPDK_DJ8x5 -DAPDK_PSP100 -DAPDK_AUTODUPLEX -DAPDK_
tsp0001@
#######
Then ran "make install"
tsp0001@
make[1]: Entering directory `/media/Second Disk/LINUX-
test -z "/usr/lib64" || /bin/mkdir -p "/usr/lib64"
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libhpmud.la' '/usr/lib64/
libtool: install: /usr/bin/install -c .libs/libhpmud.
/usr/bin/install: cannot remove `/usr/lib64/
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libhpip.la' '/usr/lib64/
libtool: install: /usr/bin/install -c .libs/libhpip.
/usr/bin/install: cannot remove `/usr/lib64/
make[1]: *** [install-
make[1]: Leaving directory `/media/Second Disk/LINUX-
make: *** [install-am] Error 2
tsp0001@
Well, then tried to run it as root:
tsp0001@
[sudo] password for tsp0001:
make[1]: Entering directory `/media/Second Disk/LINUX-
test -z "/usr/lib64" || /bin/mkdir -p "/usr/lib64"
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libhpmud.la' '/usr/lib64/
libtool: install: /usr/bin/install -c .libs/libhpmud.
libtool: install: (cd /usr/lib64 && { ln -s -f libhpmud.so.0.0.6 libhpmud.so.0 || { rm -f libhpmud.so.0 && ln -s libhpmud.so.0.0.6 libhpmud.so.0; }; })
libtool: install: (cd /usr/lib64 && { ln -s -f libhpmud.so.0.0.6 libhpmud.so || { rm -f libhpmud.so && ln -s libhpmud.so.0.0.6 libhpmud.so; }; })
libtool: install: /usr/bin/install -c .libs/libhpmud.lai /usr/lib64/
/bin/bash: /media/Second: No such file or directory
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libhpip.la' '/usr/lib64/
libtool: install: /usr/bin/install -c .libs/libhpip.
libtool: install: (cd /usr/lib64 && { ln -s -f libhpip.so.0.0.1 libhpip.so.0 || { rm -f libhpip.so.0 && ln -s libhpip.so.0.0.1 libhpip.so.0; }; })
libtool: install: (cd /usr/lib64 && { ln -s -f libhpip.so.0.0.1 libhpip.so || { rm -f libhpip.so && ln -s libhpip.so.0.0.1 libhpip.so; }; })
libtool: install: /usr/bin/install -c .libs/libhpip.lai /usr/lib64/
/bin/bash: /media/Second: No such file or directory
make[1]: *** [install-
make[1]: Leaving directory `/media/Second Disk/LINUX-
make: *** [install-am] Error 2
tsp0001@
#######
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- sprilutsky
- Solved:
- Last query:
- Last reply: