Re: procmail-3.22 compiling error

Santiago Vila <[email protected]> Mon, 30 Apr 2012 23:38:39 +0200 (CEST)
Newsgroups gmane.mail.procmail.devel
Message-ID <[email protected]>
On Mon, 23 Apr 2012, [email protected] wrote:

> Hi,
>=20
> I've just downloaded procmail-3.22, but it failed to be compiled on
> CentOS 6.2. Please see following error. The GCC version is 4.4.6. Pleas=
e
> verify if I missed something or not.
>=20
> [procmail-3.22]$ make
>=20
> ......
>=20
> cc -c -O   formail.c
> In file included from formail.c:25:
> formisc.h:20: error: conflicting types for =E2=80=98getline=E2=80=99
> /usr/include/stdio.h:673: note: previous declaration of =E2=80=98getlin=
e=E2=80=99 was
> here
> make[1]: *** [formail.o] Error 1
> make[1]: Leaving directory
> `/home/project/procmail-3.22/src'

Try this, which is the patch Ubuntu people sent me to fix this in Debian:

http://patch-tracker.debian.org/patch/series/view/procmail/3.22-19/24
http://patch-tracker.debian.org/patch/series/dl/procmail/3.22-19/24

I'm curious: Does not CentOS provide a procmail package?