linux 中非root用户安装R:configure: error: PCRE2 library and headers are required, or use --with-pcre1 and PCRE >= 8.32 with UTF-8 support

 

001、问题:configure: error: PCRE2 library and headers are required, or use --with-pcre1 and PCRE >= 8.32 with UTF-8 support

 

 

002、解决方法:安装pcre2库:

https://www.cnblogs.com/liujiaxin2018/p/17050986.html

 

003、测试: 

[liujiaxin01@PC1 R-4.2.2]$ ./configure --prefix=/home/liujiaxin01/r_test

 

posted @ 2023-01-13 23:38  小鲨鱼2018  阅读(954)  评论(0)    收藏  举报