I downloaded the 'bsetbg' file in cvs to get rid of the
tempfile error message and recompiled blackbox.
This doesn't work in RedHat Linux 7.2. RH contains a package
mktemp but this mktemp does not know the option "-t" in the bsetbg
script!
I am refering to the following 'patch' in the cvs bsetbg:
create_tempfile() {
if `type tempfile 2>&1 >/dev/null`; then
THETMP=`tempfile --prefix=bsetbg`
elif `type mktemp 2>&1 >/dev/null`; then
THETMP=`mktemp -t bsetbg`
else
THETMP=/tmp/.bsetbg.$$
if [ -f $THETMP ]; then
rm -f $THETMP
fi
touch $THETMP
chmod 600 $THETMP
fi
TMPFILE=$THETMP
The only options the RH mktemp has are: -d (make a directory),
-q (fail silently) and -u (operate in "unsafe" mode).
And usage is 'mktemp [-d] [-q] [-u] template'.
The "template" probably has to be something like: '/tmp/$0.XXXXXX'
judging by the man examples.
Is the mktemp in the patch above a "Debian version"?
Alexander