Hello, everyone
It looks like 'pcre' is used in glib installation higher than 2.48.1 (part
of gtk+-3.0).
The problem is that unfortunately I can't update my gtk+-3.0 up to any
version higher than 3.2 due to the absence of UTF-8 and so the Russian
language support by libpcre. Higher than 3.2 versions of gtk+3.0 require
glib higher than 2.46.1, But the latter wants to see libpcre >=8.13... I
attempted to build it from the source code but got an error message
concerning UTF-8 and russian language. :-( Monyz Wacon wrote about his
experience with the same problem (see P.S.). But obviously he didn't need
UTF-8 support.
Regards,
Sergey
---------------------------------------------------------------
P.S.
Re: An error during building of glib 2.48.1
From: Monyz Wacon <monyz ww gmail com>
To: gtk-list gnome org
Subject: Re: An error during building of glib 2.48.1
Date: Sat, 11 Jun 2016 16:51:07 +0100
I solved this by building libpcre from sources. This version of glib
(2.48.1) requires lipbcre >= 8.13, I had version 8.21 installed from main
repository, but it didn't work (I didn't find PCRE_INFO_MAXLOOKBEHIND
definition there). I installed libpcre 8.38 from sources and glib compiled
fine.
On Fri, Jun 10, 2016 at 9:52 PM, Monyz Wacon <monyz ww gmail com> wrote:
Hello,
I have a following error during building glib 2.48.1 from sources:
make
[...]
CC libglib_2_0_la-gregex.lo
gregex.c: In function ‘g_regex_get_max_lookbehind’:
gregex.c:1574:18: error: ‘PCRE_INFO_MAXLOOKBEHIND’ undeclared (first
use in this function)
PCRE_INFO_MAXLOOKBEHIND, &max_lookbehind);
^
gregex.c:1574:18: note: each undeclared identifier is reported only
once for each function it appears in
make[4]: *** [libglib_2_0_la-gregex.lo] Error 1
[...]
I downloaded earlier following dependencies:
sudo yum install zlib-devel
sudo yum install libffi-devel
sudo yum install gettext
sudo yum install pcre-devel
.configure processed fine. How to make it build?
Best regards