-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build fails using luarocks on centos 6 #27
Comments
The rock you tried to compile is not up-to-date. These errors are fixed in the repository for quite some time. |
thanks |
I have little experience with Luarocks. I think if you can replace lpcre.c and lpcre_f.c in the rock with the current ones it should compile OK. |
Thanks for you good lib,but when I compiled it from source then got this error. |
what's the module 'std.tree'? |
I guess it's here. |
Thank you and I got another question /openresty/bin/nginx -c /conf/nginx.conf thank you |
Probably there are multiple PCRE libraries installed on your machine and nginx picks up one with version < 8, |
It's helpful, I recompiled nginx with pcre version8. I can use rex_pcre.so. |
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
The text was updated successfully, but these errors were encountered: