LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   hplip source make error (https://www.linuxquestions.org/questions/linux-newbie-8/hplip-source-make-error-882033/)

Adol 05-21-2011 10:02 PM

hplip source make error
 
Anyone know how I can resolve this?

Code:

libtool: install: error: cannot install `hpmudext.la' to a directory not ending in /usr/local/lib64/python2.7/site-packages
make[1]: *** [install-hpmudextLTLIBRARIES] Error 1
make[1]: Leaving directory `/bigdrive/working/Source/hplip-3.11.5'
make: *** [install-am] Error 2

Quote:

./configure
and
make
have no problems.

Adol 05-21-2011 11:23 PM

Ok

I got hplip to compile and install by changing pointing it to the location of python.

Now I have another problem with it:(

I was able to start the hp-setup with
Code:

hp-setup
Then I realized I don't have the drivers installed(which are given by cups).

I install cups with no problems and try hp-setup again only to get this error now:

Code:

Traceback (most recent call last):
  File "/usr/bin/hp-setup", line 45, in <module>
    from base import device, utils, tui, models, module
  File "/usr/share/hplip/base/device.py", line 39, in <module>
    import status
  File "/usr/share/hplip/base/status.py", line 45, in <module>
    import hpmudext
ImportError: /usr/lib64/python2.7/site-packages/hpmudext.so: undefined symbol: hpmud_make_mdns_uri

Any ideas?

talpa 08-13-2011 06:04 AM

I had the same problem.
It was caused by an old libhpmud.so from a previous "make install" in a different location
(probably compiled without libsnmp-dev installed, as that would cause the missing symbol)

Any way I found the offending library using "strace" on hp-setup

I removed it and few other guilty leftovers, the printer now works as it should on my ARM based NAS...

Unfortunately I still have some issues with the scanner support as seems to be using a closed source plug-in
(Intel i386 binary code gives my poor ARM based NAS a headache)

lqv 11-18-2011 03:07 PM

I have Ubuntu 10.04 and was having the same problem with hp-setup after installing the hplip downloaded from the hp website. I was installing hplip because Simple Scan and `lsusb` were not detecting my hp officejet printer/scanner. All was fixed by the following steps:

1. Uninstall the hplip installed from the hp website by entering `sudo make uninstall` and then `make clean` in the hp directory.
2. Install hplip and hplip-cups using System>Administration>Synaptic Package Manager. In my case, before clicking 'Apply' in the package manager, I had to go to Settings>Repositories and uncheck 'Cdrom with Ubuntu 10.04' in the 'Installable from CD-ROM/DVD' box at the bottom in order for the necessary packages to be downloaded.
3. Run `hp-check -r`
4. In my case, the output said that the user 'root' needed to be in the 'lp' and 'lp-admin' groups so I used `usermod -G group-name user-name` to add 'root' to those groups.

SaintDanBert 02-02-2014 04:06 PM

I had these and similar trouble during an install of Linux Mint-16 KDE.

All sorts of troubles and struggles cleared when I added my login username to both groups lp and lpadmin.

I did complete removal of all things 'hplip' and dependencies.
Then, having the two groups assigned, repeated the build and install.

No more troubles,
~~~ 0;-Dan


All times are GMT -5. The time now is 06:02 PM.