Re: An error during building of glib 2.48.1



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]