This is about issues treated in this archived message: <http://www.mail-archive.com/hplip-help@lists.sourceforge.net/msg03559.html>
¨Re: [Hplip-help] error: 'make' command failed with status code 2 Chuck Hast Tue, 10 Jul 2007 05:08:58 -0700 On 7/10/07, Johannes Meixner <[EMAIL PROTECTED]> wrote: > > Hello, > > On Jul 7 15:50 Chuck Hast wrote (shortened): > > I too got this error. I am running SuSE Linux 10.2 > ... > > /usr/bin/sed: can't read /usr/lib/libgphoto2.la: No such file or directory > > If /usr/lib/libgphoto2.la does not exist, you simply need to install > the package which contains it. > > If you don't know how to compile software on your own, you could > try my readymade packages (see my announcement on this list). > > > For documentation, this are the required packages to build HPLIP > (except the usual packages to build C/C++ stuff in general): > > cups cups-devel libdrm-devel libjpeg-devel libusb net-snmp-devel > pkgconfig python-devel python-openssl python-qt python-tk python-xml > qt3-devel readline-devel sane-backends > > and additionally libusb-devel for openSUSE "factory" > > and additionally libgphoto2 for up to Suse Linux 10.1 > but libgphoto2-devel for openSUSE 10.2 and openSUSE "factory" > > Johannes, Thank you for your good reply. I was missing libgphoto2-dev, that was all. When I installed the HP package it downloaded a lot of packages (I watched it) that I did not have but I guess that it did not check for that particular one. I kept on going to the libgphoto2 package, but the missing file is not in that one, then I saw something in a google that looked like the package was in the -dev package, downloaded it and installed it and sure enough there it was. Many thanks to you and others who have replied to me on this one. -- Chuck Hast -- KP4DJT --¨ I couldn´t figure out how to revive that message, so I´ve started this thread. I have had my HP Color Laserjet 2605dn running under hplip 1.7.1 in SuSE Linux 10.2 for a few months now and, quite frankly, I´ve just yesterday botched the upgrade to hplip 2.7.7. The first two times I tried it, I got the error message: ¨error: 'make' command failed with status code 2¨ The third time I tried this, it failed again, but I checked the log and the end read: ¨usr/bin/sed: can't read /usr/lib/libgphoto2.la: No such file or directory libtool: link: `/usr/lib/libgphoto2.la' is not a valid libtool archive make: *** [cupsext.la] Error 1¨ Deliberately (if unfortunately), I´ve already zapped the ¨untarred¨(?) hplip-2.7.7 directory from which I tried to install this version of the software, and I assume that all the information in all three logs from the first three attempts went with it. So, there´s not much more I can report on their contents (unless it´s somehow recoverable from ¨console logs¨?). Like an unthinking moron I thought that the missing dependencies (libtool, PIL, net-smp-devel, libgphoto2-devel) were being added from the SuSE repositories on the first two attempts, yet I still got sudden, messageless(!) halts in each install. Before the third attempt, I manually compiled and installed this libtool and the PIL (sources obtained from the sponsoring projects´ download sites) which, it became obvious, weren´t being grabbed during the x-term process on each prior occasion. It was only when I looked at the text of log 3 that I saw that the system had already done the configuration and the ´make clean´-process, as well as had installed some other dependency software. The third attempt also failed. The text of the log, however, ended as I indicate above. I ¨untarred¨ again the zipfile that hplip-2.7.7 comes in for a fourth attempt. Now, however, when I do ./configure process, I get the consistent error message: ¨tar: hplip-2.7.7/[e.g.,data/images/scan_icon_]disabled.png: Cannot open: No such file or directory¨ on EVERY SINGLE file in the directory. And not only in this tarball, but, seemingly, with other software that I have since tried to ¨untar¨ (e.g., the libgphoto-source package that I grabbed, again, from the project Web page). So, I have two problems. I´m now left without a printer functioning under SuSE Linux 10.2. (Linux says it´s printing, but the printer doesn´t.) How can I fix it? Two, what´s with the problem compiling software from source now??? Someone will no doubt reply to tell me I should have done the ¨upgrade¨ using the YAST/console combo technique given at <http://hplip.sourceforge.net/install/manual/distros/novell.html>, and I´ll save them the trouble by saying I WOULD have done that from the beginning if I had known about it. I only later stumbled upon it, and, in fact, I did try to use the dependency-installation parts before I made the fourth attempt from the directory of the ¨untarred¨ hplip-2.7.7 source. (Both PIL and libtool had already been successfully installed from source at that point.) Well, that was a whole lot of toil over 2 days or so for a now disastrous result. Why can´t I successfully compile (ANYTHING) from source any more? What could I have done wrong there? I need a rather speedy solution, ´cause in a few days I may, for complicated local reasons, find myself cut from home Internet connexion and I´d like to get the printer back up and running before then. Thanks alot. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ HPLIP-Help mailing list HPLIP-Help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hplip-help