fetchmail-friends
[Top] [All Lists]

[fetchmail] Cannot find sendmail with autoconf AC_PATH_PROG() problem

2002-12-28 10:15:45
Dear Raymond (and all),

    I just downloaded Fetchmail 6.2.0 and tried to build it.  But the
autoconf script "configure" cannot find my sendmail.

imacat(_at_)rinse src/fetchmail-6.2.0 % ./configure
...
checking for procmail... /usr/bin/procmail
checking for sendmail... no
checking for maildrop... no
Will not use a fallback MDA
...
imacat(_at_)rinse src/fetchmail-6.2.0 %

    I tried to trace it.  This problem seems to be related to autoconf
itself.  I regenerated a new "configure" with my autoconf 2.57.  This
problem was then gone.

imacat(_at_)rinse src/fetchmail-6.2.0 % autoconf --version
autoconf (GNU Autoconf) 2.57
Written by David J. MacKenzie and Akim Demaille.

Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
imacat(_at_)rinse src/fetchmail-6.2.0 % autoconf
imacat(_at_)rinse src/fetchmail-6.2.0 % ./configure
...
checking for procmail... /usr/bin/procmail
checking for sendmail... /usr/sbin/sendmail
checking for maildrop... no
Will not use a fallback MDA
...
imacat(_at_)rinse src/fetchmail-6.2.0 %

    I looked into autoconf's change log.  Autoconf 2.54 fixed a bug on
the AC_PATH_PROG() macro, which is used when by Fetchmail's configure.in
to find sendmail.  This fix is detailed in autoconf's NEWS:

imacat(_at_)rinse src/autoconf-2.57 % cat NEWS
...
* Major changes in Autoconf 2.54

  Released September 13th, 2002.
...
- AC_PATH_PROG
  Now colon in the optional path arguments are properly handled.
...
imacat(_at_)rinse src/autoconf-2.57 % 

    I would like to suggest you to upgrade your autoconf and regenerate
the "configure" script here.

    Sorry I did not obey the bug-reporting rules at FAQ G3.  I haven't
built Fetchmail myself.  There's no POP or IMAP server's greeting line,
.fetchmailrc, command-line options, output of fetchmail -V... etc.
infomation available yet.

    I have searched the list archive, and have not found anything
duplicated yet.  Forgive me if this is indeed duplicated.

--
Best regards,
imacat ^_*'
imacat(_at_)mail(_dot_)imacat(_dot_)idv(_dot_)tw
PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt

<<Woman's Voice>> News: http://www.wov.idv.tw/
Tavern IMACAT's: http://www.imacat.idv.tw/
TLUG List Manager: http://www.linux.org.tw/mailman/listinfo/tlug

Attachment: pgpTMcDGftm1P.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail] Cannot find sendmail with autoconf AC_PATH_PROG() problem, imacat <=