Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I can't tell you why you don't seem to have it, but it's what it sounds like - only it has to do with compiling programs from source. You run ./configure in the directory the source is in, then make and optionally make check, and then make install ... normally.
The only thing I could tell you is make sure you're in the right directory.
Normally, it's done how they have it on their site ... you don't do anything as root or using su or sudo (as far as ./configure, make, make install) except the make install. I have lag, or something ... I didn't see XavierP's post until I wrote this one ...
You're inside your homedir already. Do 'cd hplip-3.9.6b', no need to enter full path.
PS: why you need to compile it, there's no hplip in Mepis' repos?
That is your mistake! The symbol "~" is an abbreviaton for the home directory of the current user. Since cat2007 appears to be the current user in your example, then you have tried to cd into
Code:
/home/cat2007/home/cat2007
which, of course, doesn't exist.
You need to do this:
1. Make sure you're in a console Window.
It does *not* matter if you're a regular user or "root" (so just stay "regular user")
2. Verify the file exists where you think it does:
cd /home/cat2007/hplip-3.9.6b
ls -l hplip-3.9.6b.tar.gz
<= You should be able to copy/paste these commands directly into your console Window
You should *not* get a "file not found" message when you type the "ls -l" command
3. Verify whether your OS is 32- or 64-bit:
uname -m
<= This should print something like "i686".
It should *not* print anything suggesting 64-bit (unless, of course, you *have* a 64-bit CPU)
4. Assuming 32-bit (or assuming you want to use the 32-bit driver on a 64-bit OS: which, I assume, is perfectly OK)...
... then run "configure":
./configure --with-hpppddir=/usr/share/ppd/HP --prefix=/usr --enable-qt4 --enable-doc-build --enable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --disable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build
<= You should be able to copy/paste directly from this Window
Please post back any errors you get
5. Now you can actually build your binary driver:
make
<= Please post back any errors you might get
6. If "make" succeeds, you can install your driver:
su -c "make install"
<= The quote (") marks are important
Please post back if you get any errors
Good luck .. PSM
PS:
I use SimplyMepis myself. The folks on the Mepis forum (like those on LQ) are friendly and helpful. Feel free to call out to them for help, too, if you need it.
I was just thinking that since their site says EXAMPLE: and gives that directory, that maybe the directory just had a different name and you overlooked the message saying that the directory doesn't exist ... you should autocomplete it with tab.
You're inside your homedir already. Do 'cd hplip-3.9.6b', no need to enter full path.
PS: why you need to compile it, there's no hplip in Mepis' repos?
The reason I am compiling it: The hplip included just isn't working. The MEPIS 8 repo has the proper version but I keep getting strange messages. So, I decided to compile, hoping doing so will solve the problem.
I completed steps 1-3 you listed. Step 4 has me stuck. I did the ./config as you said. Lots of stuff displayed on the console but the last line was an error message regarding libjpeg. I went into synaptic and downloaded it. Then I did the ./config a 2nd time. I received a different error message:
configure: error: cannot find net-snmp support (or --disable-network-build)
Again, I went to synaptic to download "snmp" and found a bunch of stuff:
Question #2: I have now twice done the ./config only to run into an error somewhere. Does this mean I now have an incomplete install which could cause trouble, or a bunch of duplicate packages I will need to sort through, trim, etc? In other words, did I just make more work for myself?
I would download **libnet-snmp-perl or libsnmp-dev**<-EDITED
You didn't make more work for yourself ... it happens. You have to have everything you need to configure and compile and install it, that's all.
If you install it, that means you have what you need. Unless you're looking to run make test, or something along those lines for tests ...
Someone else would know more, though ... it's possible that you wouldn't have some optional things. I've read that depending on how you configure and everything, that it will leave out some optional things, but usually what you need to install you either have or you don't and the optional things are features that aren't normally included when you download and install from a repository or anything along those lines - that is, it isn't something you'd normally have, anyways.
I just added the libnet-snmp-perl because it says no net-snmp support.
Last edited by joeBuffer; 08-04-2009 at 11:32 PM.
Reason: net-snmp, I added libnet-snmp-perl because it seems like what you'd need in this case.
I also wanted to add that the only time I've ever gotten clamav to work without spewing a bunch of messages was compiling it from source. Every time I've installed it using packages, on a few different distributions, it always threw messages at me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.