Here's what I've been using to compile LPRng source code. Beware that you need the 
LPRng source as well as LPRng-tools to achieve max utility.

The current source code tree is up to 3.8.5...

I'd appreicate any feedback on my compile script... beware word wrap/warp...

#!/bin/bash
./configure --prefix=/usr --sysconfdir=/etc --with-lockfile='/var/spool/lpd' 
--with-filter_path="/bin:/usr/bin:/usr/sbin:/usr/shhare/printfilter:/etc/config.d/print/filters:/usr/libexec/LPRng-3.8.5"
 --with-groupid=lp --with-lpddir='/usr/sbin' --with-admindir='/usr/sbin' 
--enable-setuid

make
#make install
checkinstall 

ln -s /etc/rc.d/init.d/lpd /etc/rc.d/rc0.d/K60lpd
ln -s /etc/rc.d/init.d/lpd /etc/rc.d/rc1.d/K60lpd
ln -s /etc/rc.d/init.d/lpd /etc/rc.d/rc2.d/S60lpd
ln -s /etc/rc.d/init.d/lpd /etc/rc.d/rc3.d/S60lpd
ln -s /etc/rc.d/init.d/lpd /etc/rc.d/rc4.d/S60lpd
ln -s /etc/rc.d/init.d/lpd /etc/rc.d/rc5.d/S60lpd
ln -s /etc/rc.d/init.d/lpd /etc/rc.d/rc6.d/K60lpd

The above script closely duplicates the Caldera way of compiling LPRng and then 
creates the needed symlinks for the various init levels. 

As a side note... I've had all sorts of weird problems with cups in the workstation 
3.1 distribution. Sometimes cups works, most times it fails. It seems to me that this 
is more beta code than user code... but then that's my personal opinion.

LPRng on the other hand always worked well and that's what I'm going to use on my 
personal lan and the production lan at work. However... upgrading ws 3.1 to LPRng is 
not as clean as Caldera thinks. An LPRng rpm is provided in the 3.1 distro, but 
atempts to install it result in dependencies being reported. It appears there are a 
few file names that LPRng and cups use. This sucks. What I've been doing is this... I 
remove all cups related rpm's using the -nodpes option then go about building LPRng 
and LPRngTool from sources. If upon executing lpd you see the "can't bind to port 515" 
error... reboot your machine, there's cups stuff still in memory...

Going into the various LPRng config files (printcap, etc) is beyond this simple 
message, but it's all covered in the lprng how-to and faq. 

Cheers all, there's light at the end of this cups tunnel!

_______________________________________________
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.

Reply via email to