configure: error: PCRE2 library and headers are required, or use --with-pcre1 and PCRE >= 8.32 with UTF-8 support
000、pcre是什么?
perl正则表达式函数库
001、问题
configure: error: PCRE2 library and headers are required, or use --with-pcre1 and PCRE >= 8.32 with UTF-8 support
02、查看pcre版本
(base) [root@PC1 R-4.4.2]# pcre-config --version bash: pcre-config: command not found... Install package 'pcre-devel' to provide command 'pcre-config'? [N/y]
03、解决方法
yum install pcre-devel
04、查看版本
(base) [root@PC1 R-4.4.2]# pcre-config --version 8.44
。