Re: procmail-3.22 compiling error

[email protected] Tue, 1 May 2012 08:32:54 +1000
Newsgroups gmane.mail.procmail.devel
Message-ID <[email protected]>
On 2012-04-30 23:38+0200, Santiago Vila wrote:
>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. Plea=
se
>> 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=98getli=
ne=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'll try it.

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

It does, is it fun to build it :-)?=20

Cheers.