butterfly1924 commented on issue #4945: URL: https://github.com/apache/apisix/issues/4945#issuecomment-1126871730
I have the same problem on centos 7:Error: Failed installing dependency: https://luarocks.org/jsonschema-0.9.8-0.src.rock - Failed installing dependency: https://luarocks.org/lrexlib-pcre-2.9.1-1.src.rock - Could not find header file for PCRE No file pcre.h in /usr/local/include No file pcre.h in /usr/include No file pcre.h in /include You may have to install PCRE in your system and/or pass PCRE_DIR or PCRE_INCDIR to the luarocks command. Example: luarocks install lrexlib-pcre PCRE_DIR=/usr/local make: *** [deps] Error 1 [user@localhost apisix]$ [user@localhost apisix]$ [user@localhost apisix]$ [user@localhost apisix]$ [user@localhost apisix]$ [user@localhost apisix]$ [user@localhost apisix]$ [user@localhost apisix]$ [user@localhost apisix]$ sudo yum install pcre Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.xtom.com * extras: mirror.cogentco.com * updates: mirrors.mit.edu Package pcre-8.32-17.el7.x86_64 already installed and latest version Nothing to do [user@localhost apisix]$ sudo yum install pcre^C [user@localhost apisix]$ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
