[exim] PCRE problem with 4.74

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marten Lehmann
Date:  
À: exim-users
Sujet: [exim] PCRE problem with 4.74
Hello,

I'm trying to compile exim-4.74 on RHEL4 with

pcre-4.5-4.el4_6.6
pcre-devel-4.5-4.el4_6.6

with an RPM-spec file that worked for the past releases, adapted all
changes to src/EDITME as Makefile, but I get:

gcc exim.c
exim.c: In function `show_whats_supported':
exim.c:935: error: `PCRE_PRERELEASE' undeclared (first use in this function)
exim.c:935: error: (Each undeclared identifier is reported only once
exim.c:935: error: for each function it appears in.)
exim.c:935: error: syntax error before string constant
make[1]: *** [exim.o] Error 1
make[1]: Leaving directory `/vrmd/redhat/BUILD/exim-4.74/build-Linux-i386'
make: *** [all] Error 2


PCRE_PRERELEASE is defined nowhere in /usr/include/pcre/* in release
pcre-4.5!

What shall I do? Does this exim release rely on newer PCRE releases?
pcre.h in CentOS 5 contains release

pcre-6.6-2.el5_1.7
pcre-devel-6.6-2.el5_1.7

where pcre.h contains

#define PCRE_PRERELEASE

Is it save to add this line to the pcre.h of the old release? Or does
this exim release use any features of the newer PCRE release?

Kind regards
Marten