[Rd] pcre problems

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Mon Feb 25 12:54:26 CET 2019


On 25 February 2019 at 18:25, robin hankin wrote:
| Hi there, ubuntu 18.04.2, trying to compile R-devel  3.6.0,  svn 76155.
| 
| I am having difficulty compiling R. I think I have pcre installed correctly:
| 
| OK~/Downloads/R-devel pcretest -C
| PCRE version 8.41 2017-07-05
| Compiled with
|   8-bit support
|   UTF-8 support
|   No Unicode properties support
|   No just-in-time compiler support
|   Newline sequence is LF
|   \R matches all Unicode newlines
|   Internal link size = 2
|   POSIX malloc threshold = 10
|   Parentheses nest limit = 250
|   Default match limit = 10000000
|   Default recursion depth limit = 10000000
|   Match recursion uses stack
| OK~/Downloads/R-devel

That is a front-end tool. I don't even have it installed :)
 
| But ./configure gives me this:
| 
| [snip]
| checking for pcre.h... yes
| checking pcre/pcre.h usability... no
| checking pcre/pcre.h presence... no
| checking for pcre/pcre.h... no
| checking if PCRE version >= 8.20, < 10.0 and has UTF-8 support... no
| checking whether PCRE support suffices... configure: error: pcre >=
| 8.20 library and headers are required
| OK~/Downloads/R-devel
| 
| can anyone advise?

Ensure you have the corresponding -dev package. My system is now at the
current Ubuntu 18.10, not the Ubuntu LTS 18.04 you have -- but I have been
building R-devel on it about once every week or other week for years:

edd using rob:~$ COLUMNS=100 dpkg -l libpcre*dev | cut -c-100
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version        Architecture   Description
+++-===================-==============-==============-===========================================
ii  libpcre3-dev:amd64  2:8.39-11      amd64          Old Perl 5 Compatible Regular Expression Li
edd using rob:~$ 


Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-devel mailing list