LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   hplip-1.7.1 won't install. (http://www.linuxquestions.org/questions/slackware-14/hplip-1-7-1-wont-install-531620/)

cwizardone 02-23-2007 05:15 AM

hplip-1.7.1 won't install.
 
Has anyone has any success installing hplip-1.7.1 on Slackware 11.
I've tried it with kernels 2.4.33.3 and 2.6.18, but no joy.
Thanks.

weibullguy 02-23-2007 06:12 AM

Are you just taking a poll or looking for help installing the package?

How are you trying to install the package, from source or *.tgz? Where in the process does it fail? What, if any, error messages do you receive?

titopoquito 02-23-2007 07:02 AM

It seems to compile without problems here. I have net-snmp installed additionally but don't think it's needed. Using the Slackbuild script from /testing it looks as hplip compiled as expected.

simcox1 02-23-2007 07:51 AM

The slackbuild script is built '--without-network-build', because slackware doesn't include netsnmp. You'd need to modify the slackbuild script to include network support.

titopoquito 02-23-2007 07:53 AM

Of course you're absolutely right. I changed it when recompiling 1.6.9 but didn't see it now. So even without net-snmp activated in the Slackbuild script it compiled well :)

simcox1 02-23-2007 08:52 AM

I've just had a look at the script and I'm slightly wrong. There is a $SNMP variable in the script which is set to 'no'. So if you've already installed net-snmp, you just need to change it to $SNMP=yes.

cwizardone 02-25-2007 12:34 AM

Quote:

Originally Posted by Arow
Are you just taking a poll or looking for help installing the package?

How are you trying to install the package, from source or *.tgz? Where in the process does it fail? What, if any, error messages do you receive?

Looking for help, Thank You. ;)
Everything goes well, including re-starting cups and hplip, but when I run hp-setup I get the following error message,

"unable to connect to to hplod.
unable to connect to hplip I/O. Please (re) start HPLIP and try again."

I'm running Slackware 11 with kernel 2.6.18.
Any help would be greatly appreciated.
Thank you.
:)

H_TeXMeX_H 02-25-2007 12:47 AM

you still got net-snmp installed ?

cwizardone 02-25-2007 04:31 AM

Quote:

Originally Posted by H_TeXMeX_H
you still got net-snmp installed ?

You guys are way beyond me. :D
I'm not sure I even know what that is, but I've looked around the system doesn't show anything installed by that name or anything close to it.
Why would I want or not want to have that installed.
Thx.
:newbie:
BTW, I don't need and have no interest in, installing network support.

simcox1 02-25-2007 04:39 AM

Which order are you restarting cups and hplip? It has to be hplip first, then cups. Have you tried installing it via the cups web interface? http://localhost:631 .

cwizardone 02-25-2007 05:26 AM

Quote:

Originally Posted by simcox1
Which order are you restarting cups and hplip? It has to be hplip first, then cups. Have you tried installing it via the cups web interface? http://localhost:631 .

Interesting as that is the reverse of what HP says in their instructions, below, but trying it your way I did get a step further.
Now I get the message,
"no devices found. Please make sure your printer is properly connected and powered up."

Well, of course I'm connected and the power is on. The system sees the printer on boot up and IDs it by model number.

Now what?
Many thanks.

"Note: Some distros use 'cups' while others use 'cupsys' if you get an error running '/etc/init.d/cupsys' restart try running '/etc/init.d/cups restart' or check your distro documentation and/or other resources for specific information.

If your distro uses 'su' follow these steps:

su /etc/init.d/cupsys restart /etc/init.d/hplip restart

If your distro uses 'sudo' follow these steps:

sudo /etc/init.d/cupsys restart sudo /etc/init.d/hplip restart

If you don't know which su/sudo to use or what the difference is--please refer to your distro documentation.
Next..."

titopoquito 02-25-2007 05:28 AM

You need net-snmp only if your HP printer is connected by network.

simcox1 02-25-2007 05:37 AM

OK. First of all, which printer are you trying to install ie model name?
Second, which version of hplip have you got installed, and is it a slackware package or built from source?

H_TeXMeX_H 02-25-2007 12:13 PM

Quote:

Originally Posted by cwizardone
You guys are way beyond me. :D
I'm not sure I even know what that is, but I've looked around the system doesn't show anything installed by that name or anything close to it.
Why would I want or not want to have that installed.
Thx.
:newbie:
BTW, I don't need and have no interest in, installing network support.

Depends on how you installed hplip. I usually use the pre-compiled package. If so, then you do need net-snmp.

When I didn't have net-snmp installed, it gave me the error you got:
Quote:

"unable to connect to to hplod.
unable to connect to hplip I/O. Please (re) start HPLIP and try again."
So, I recommend installing it, maybe from Alien Bob. Technically it would work without net-snmp if you disabled it when you compiled hplip, if you did.

simcox1 02-25-2007 01:23 PM

That's why I asked which package the OP had installed. If it's the one from linuxpackages.net, then netsnmp is required. If it's the official package from testing, it's not. If building it from source, you need to specify './configure --without-network-build'. The one from testing works great for me.


All times are GMT -5. The time now is 01:08 PM.