Hello, Got some at the time surprising errors some days ago when building a local r-devel installation on a cluster, with apparent outdated or missing dev versions of some files. After reading the r-devel news ( https://developer.r-project.org/blosxom.cgi/R-devel/NEWS), it turned out that " Use of the included versions of ‘zlib’, ‘bzlib’, ‘xz’ and PCRE is deprecated: these are frozen and will eventually be removed. ", and so I should have expected these errors.
Without being admin, I cannot system wide install or update the software needed to get the correct headers and libs. So I have to specify all flags myself. It went well with zlib, bzlib and xz, but not for pcre, which just does not want to work for me. My latest ./configure flag creation looks like this: #bzip2,zlib and xz bzip2_LD="/gulo/glob/jesper/software/bzip2-1.0.6" bzip2_CF="/gulo/glob/jesper/software/bzip2-1.0.6" zlib_LD="/gulo/glob/jesper/software/zlib-1.2.8" zlib_CF="/gulo/glob/jesper/software/zlib-1.2.8" xz_CF="/usr/include" xz_LD="/home/jesper/glob/software/xz/build/lib" #PCRE pcre="pcre-8.36" pcre_CF1="/home/jesper/glob/software/$pcre/build/include" pcre_CF2="/home/jesper/glob/software/$pcre/sljit" pcre_CF3="/home/jesper/glob/software/$pcre" pcre_CF4="/usr/include" #The pcre was built like this: ./../configure --prefix=/home/jesper/glob/software/pcre-8.36/build --enable-utf8 --enable-unicode-properties make CPPFLAGS=-I/usr/include make install #step into the correct folder and then run ./configure cd /home/jesper/glob/software/2015-04-08-r-devel/build srcdir=".." $srcdir/configure \ LDFLAGS="-L$bzip2_LD -L$zlib_LD -L$xz_LD -L$pcre_LD"\ CFLAGS="-I$bzip2_CF -I$zlib_CF -I$xz_CF" \ CPPFLAGS="-I$pcre_CF1 -I$pcre_CF2 -I$pcre_CF3 -I$pcre_CF4" #the last rows of the ouput are checking for pcre_fullinfo in -lpcre... yes checking pcre.h usability... yes checking pcre.h presence... yes 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.10, < 10.0 and has UTF-8 support... no checking whether PCRE support suffices... configure: error: pcre library and headers are required Hopefully, this is an easy question you. Have spent quite some time understanding the meaning of the flags and installing software-dependencies like a maniac. It has been very educative, but am now very much looking forward to your answers. /Jesper [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel