LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-21-2011, 09:02 PM   #1
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 271

Rep: Reputation: 6
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.

Last edited by Adol; 05-21-2011 at 09:04 PM.
 
Old 05-21-2011, 10:23 PM   #2
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 271

Original Poster
Rep: Reputation: 6
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?
 
Old 08-13-2011, 05:04 AM   #3
talpa
LQ Newbie
 
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
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)
 
1 members found this post helpful.
Old 11-18-2011, 02:07 PM   #4
lqv
LQ Newbie
 
Registered: Jan 2009
Posts: 8

Rep: Reputation: 1
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.

Last edited by lqv; 11-18-2011 at 04:04 PM.
 
1 members found this post helpful.
Old 02-02-2014, 03:06 PM   #5
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HPlip woes on --current ; Sharing printer gets broken if the hplip gui is launched Old_Fogie Slackware 2 10-28-2010 10:23 AM
odd error with make, and its a source i have compiled many times with no error bensington butters Programming 1 07-01-2008 10:19 AM
Compiling hplip source code. hscast Linux - Software 4 06-16-2006 07:36 PM
make: [all-recursive] Error 1 HPLIP kevinens Linux - Software 1 05-11-2006 01:39 PM
Compile Tk from source: make error diego_cn Linux - Software 5 04-11-2006 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration