Re: [pcre-dev] utf8 problem

Góra strony
Delete this message
Autor: ph10
Data:  
Dla: hoh
CC: pcre-dev
Temat: Re: [pcre-dev] utf8 problem
On Mon, 6 Jun 2016, hoh wrote:

> ==================================================================================
> checking if PCRE version >= 8.10, < 10.0 and has UTF-8 support... no
> checking whether PCRE support suffices... configure: error: pcre >= 8.10
> library and headers are required
> ================================================================================
> So I've installed pcre8.38 but still the error. Making a test I have this
>
> [root@PC-HOH pcre-8.38]# pcretest -C
> PCRE version 8.38 2015-11-23
> Compiled with
> 8-bit support
> No UTF-8 support

    ^^^^^^^^^^^^^^^^ 


> with no utf8 support.


Indeed, so that's no good.

> I'm under rehdat


I know nothing about redhat. Did you install from a pre-compiled
package? If so, I would look for a different package that does have
UTF-8 support.

If not, you can always install PCRE from source. The distribution
tarballs, in three different formats, are here:

ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.38.tar.gz
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.38.tar.bz2
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.38.zip

Configure with "./configure --enable-utf8" and perhaps you should add
"--enable-unicode-properties" as well.

Philip

--
Philip Hazel