Hello,
Thanks for you response.
>Wow. If that really means PCRE 4.5, that's a *really* >old version;
>the current version is 7.9:
This is the version which came with the machine, which is Red Hat
Enterprise Linux ES release 4 (Nahant).
There should be a 7 years period for RHEL distros.
Moreover, trying :
rpm -e pcre
gives to much dependencies. So it is a problem to upgrade.
answers:
1) pkg-config --list-all | egrep pcre"
returns nothing.
2) man pcreapi first screen is:
PCRE(3)
PCRE(3)
NAME
PCRE - Perl-compatible regular expressions
SYNOPSIS OF PCRE API
#include <pcre.h>
pcre *pcre_compile(const char *pattern, int options,
const char **errptr, int *erroffset,
const unsigned char *tableptr);
pcre_extra *pcre_study(const pcre *code, int options,
const char **errptr);
int pcre_exec(const pcre *code, const pcre_extra *extra,
const char *subject, int length, int startoffset,
int options, int *ovector, int ovecsize);
int pcre_copy_named_substring(const pcre *code,
const char *subject, int *ovector,
int stringcount, const char *stringname,
char *buffer, int buffersize);
int pcre_copy_substring(const char *subject, int *ovector,
int
rgs,
Mark
On Thu, Jul 16, 2009 at 12:02 AM, Guy Harris<guy@xxxxxxxxxxxx> wrote:
>
> On Jul 15, 2009, at 4:40 AM, Mark Ryden wrote:
>
>> There is a pcre-devel-4.5-3 installed:
>
> Wow. If that really means PCRE 4.5, that's a *really* old version;
> the current version is 7.9:
>
> http://www.pcre.org/
>
>> The /usr/include/pcre/pcre.h is part of this package.
>
> Perhaps, in that old version, you were supposed to include <pcre/
> pcre.h>, but, at least according to the documentation for PCRE 7.9 on
> the PCRE Web site, you're supposed to include <pcre.h>.
>
> Is there a "pkg-config" command on your system?
>
> If so, what does "pkg-config --list-all | egrep pcre" print?
>
> And...
>
>> /usr/share/man/man3/pcreapi.3.gz
>
> ...what's the first screenful of the output of "man pcreapi"?
> ___________________________________________________________________________
> Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives: http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>