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: Heiko Rommel <rommel@suse.de>
Date: Sun, 30 Jan 2000 22:04:09 +0100 (MET)
Subject: PPR: building ppr-1.40b1
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
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"
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.
Heiko