On Tue, 16 Sep 2003 14:20:47 +1200, Jason Haar wrote: > On Mon, Sep 15, 2003 at 08:58:46PM -0500, [EMAIL PROTECTED] wrote: > > The problem was that qmail-scanner was using the Solaris 8 version of > > find, which has neither -path or -mmin. I installed the GNU version > > of find, changed qmail-scanner-queue.pl to use that, and now it is > > working fine. > > Aha! Well spotted. > > > > > Perhaps configure could check to see if these options are supported? > > ..and perhaps you could figure out for me how to do that? I don't have > access to a Solaris box myself...
Here is a diff: diff -l configure configure.find 1035a1036,1055 > # Find out if find supports -mmin and -path > ${FIND} /tmp -mmin +500 > /dev/null 2>&1 > FIND_TEST=$? > > if [ ${FIND_TEST} -ne 0 ] ; then > echo "ERROR: ${FIND} does not support -mmin, please install GNU find." > else > echo "${FIND} supports -mmin, good." > fi > > ${FIND} /tmp -path /tmp > /dev/null 2>&1 > FIND_TEST=$? > > if [ ${FIND_TEST} -ne 0 ] ; then > echo "ERROR: ${FIND} does not support -path, please install GNU find." > else > echo "${FIND} supports -path, good." > fi That detected the problem on my system. -- Jason ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general