I'll bet you've done what I've done in the past-
run the install using the defaults.  If you do,
then you probably need to remove/rename the original
lpr, lpd, lpq, lprm, (in usr/bin & usr/sbin) and
either copy the lprng equivalents to those dir's
or create symbolic links to them.  That's my
preference, as you won't end up with multiple
copies of executables to bite you later on...

Here's the contents of my "postup" file,
which I run after upgrading my OpenBSD distro.
Upgrades overwrite the lprng links in /usr/bin
and /usr/sbin.  This restores them.

;;;;;;;;;;;;;;;;;;;;;;;;

cd /usr/bin
mv lp lp.org
mv lpq lpq.org
mv lpr lpr.org
mv lprm lprm.org
mv lpstat lpstat.org
cd /usr/sbin
mv lp lp.org
mv lp lp.org
mv lp lp.orgrm lpc
rm lpd
rm lpracct
ln -s /usr/local/bin/lp /usr/bin/lp
ln -s /usr/local/bin/lpq /usr/bin/lpq
ln -s /usr/local/bin/lpr /usr/bin/lpr
ln -s /usr/local/bin/lprm /usr/bin/lprm
ln -s /usr/local/bin/lpstat /usr/bin/lpstat
ln -s /usr/local/sbin/lpc /usr/sbin/lpc
ln -s /usr/local/sbin/lpd /usr/sbin/lpd
ln -s /usr/local/sbin/lpraccnt /usr/sbin/lpraccnt

;;;;;;;;;;;;;;;;;;;;;;;;;

Copy the section above to a file called "postup'
in a directory that allows execution.  Then cd to
that directory, type in ./postup to run it.

NOTES:

  Be sure postup actually points to the dir's where
the lp/lprng executables are.  Correct the
lines before you run it, or it won't work...I'm not
sure where the defaults for Mandrake's lp installation
are.  Verify before you change it.

  Be sure you stop all lp-related daemons before
running ./postup

Jim

> -----Original Message-----
> From: Paul Tremblay [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, August 17, 2002 2:12 PM
> To: [EMAIL PROTECTED]
> Subject: LPRng: lprng, lpr not found on make install
> 
> 
> I downloaded the newest version of Lprng. I ran ./install, and then
> make with no problems. 
> 
> However, when I ran make insall, I got this error message:
> 
> error reading information on service lpr: No such file or directory
> error reading information on service lpr: No such file or directory
> error reading information on service lpr: No such file or directory
> error reading information on service lpr: No such file or directory
> error reading information on service lprng: No such file or directory
> error reading information on service lprng: No such file or directory
> error reading information on service lprng: No such file or directory
> error reading information on service lprng: No such file or directory
> error reading information on service lprng: No such file or directory
> 
> If I issue the command lpr, I get his error message:
> 
> Status Information:
>  sending job 'root@localhost+986' to printer@localhost
>  connecting to 'localhost', attempt 1
>  connected to 'localhost'
>  requesting printer printer@localhost
>  job 'root@localhost+986' transfer to printer@localhost failed
>   error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL'
>   sending str '^Bprinter' to printer@localhost
>  error msg: 'spool queue for 'printer' does not exist on 
> server localhost.localdomain'
>  error msg: '   non-existent printer or you need to run 'checkpc -f''
> 
> If I run checkpc -f, I get no error messages, and if I check in /var/,
> then I find the folder for my printer.
> 
> I am running Mandrake 8.1. My printer is an HP6mp, and it works if
> I send a file directly to the device. If I type cat tiger.ps >
> /dev/lp0, then I get a picture of a tiger. 
> 
> I have read the INSTALL directions several times, but could not find
> anything to help me. I have tried turning off lpd and then installing,
> but I still get the same error message.
> 
> Thank you
> 
> 
> -- 
> ************************
> *Paul Tremblay         *
> *[EMAIL PROTECTED]*
> ************************
> 
> --------------------------------------------------------------
> ---------------
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> The address you post from MUST be your subscription address
> 
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body.  
> For the impatient,
> to subscribe to a list with name LIST,  send mail to 
> [EMAIL PROTECTED]
> with:                           | example:
> subscribe LIST <mailaddr>       |  subscribe lprng-digest 
> [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]
> 
> If you have major problems,  send email to 
> [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> --------------------------------------------------------------
> ---------------
> 

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to