Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.
From: "David S. Chappell" <David.Chappell@mail.trincoll.edu> Date: Mon, 31 Jan 2000 10:31:50 -0500 Subject: Re: PPR: building ppr-1.40b1 At 10:04 PM 01/30/2000 +0100, you wrote: >Hi, > >some bugs I encountered when building ppr-1.40b1: > >In tools4fixup/fixup.sh one should read > su $USER_PPR -c $HOMEDIR/install/inst_cron >instead of > su $USER_PPR $HOMEDIR/install/inst_cron Oops! I thought I had fixed that. >I experienced a bug when choosing something else than /usr/ppr as >SHAREDIR (filter_lp was looking for charsets.conf in the wrong place). >I fixed this by modifying include/global_defines.h from > #define CHARSETSCONF HOMEDIR"/lib/charsets.conf" >to > #define CHARSETSCONF SHAREDIR"/lib/charsets.conf" You're right. >I wonder where the compatibility links (for lpr et al) are gone. >Inserting something like >--------- snip -------------- >#====================================================================== ># Create compatibility links so that lpr still works >#====================================================================== > >echo "Creating compatibility links in \"$BINDIR\" ..." >for i in lpr lpq lprm lpstat >do > CREATE_COMPAT_TARGET=$(which $i) > if [ $? -gt 0 ]; then > CREATE_COMPAT_TARGET=$BINDIR/$i > fi > > echo "ln -s $HOMEDIR/bin/uprint-$i $CREATE_COMPAT_TARGET" > rm -f $CREATE_COMPAT_TARGET > ln -s $HOMEDIR/bin/uprint-$i $CREATE_COMPAT_TARGET >done >echo "Done." >echo >----------- snip ------------ >in tools4fixup/fixup.sh will hopefully do this for you. >I don't know if which is in the POSIX standard. This is what ~ppr/bin/uprint-newconf does. But first you must edit /etc/ppr/uprint.conf and share "sidelined=" to "yes" in the [to lpr] section. ================================================================ David Chappell David.Chappell@Mail.Trincoll.Edu Computing Center PostMaster@Mail.Trincoll.Edu Trinity College (860) 297-2114 Hartford, Connecticut 06106