Skip to content

build fails using luarocks on centos 6 #27

@babakyakhchali

Description

@babakyakhchali

Hi
I'm trying to install this lib but....
[root@yazdpbx reLua]# luarocks install lrexlib-PCRE
Installing https://luarocks.org/lrexlib-pcre-2.8.0-1.src.rock
gcc -O2 -fPIC -I/usr/include -c src/common.c -o src/common.o -DVERSION="2.8.0" -DLUA_COMPAT_5_2 -I/usr/include
gcc -O2 -fPIC -I/usr/include -c src/pcre/lpcre.c -o src/pcre/lpcre.o -DVERSION="2.8.0" -DLUA_COMPAT_5_2 -I/usr/include
src/pcre/lpcre.c: In function ‘Lpcre_fullinfo’:
src/pcre/lpcre.c:372: error: ‘PCRE_INFO_JIT’ undeclared (first use in this function)
src/pcre/lpcre.c:372: error: (Each undeclared identifier is reported only once
src/pcre/lpcre.c:372: error: for each function it appears in.)
src/pcre/lpcre.c:373: error: ‘PCRE_INFO_JITSIZE’ undeclared (first use in this function)
src/pcre/lpcre.c:380: error: ‘PCRE_INFO_MAXLOOKBEHIND’ undeclared (first use in this function)
src/pcre/lpcre.c:381: error: ‘PCRE_INFO_MINLENGTH’ undeclared (first use in this function)

Error: Build error: Failed compiling object src/pcre/lpcre.o

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions