[R-SIG-Mac] Problems with lzma headers file compiling R 3.3.1 under mac os x 10.7.5

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Aug 29 18:01:36 CEST 2016


Better advice is in the manual, at 
https://cran.r-project.org/doc/manuals/r-release/R-admin.html#OS-X 
(although there is no guarantee that all of the binary packages will 
work with 10.7, many of them will).  And for PCRE, at 
https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Essential-programs-and-libraries 
.

On 29/08/2016 14:07, Vittorio De Martino wrote:
> Solved. I had to launch ./configure --enable-utf
> Ciao
> Vittorio
> Il giorno 29/ago/2016, alle ore 14:43, Vittorio De Martino ha scritto:
>
>> Thanks to David advice I was able to overcome the lzma problem compiling the xz package downloaded from the suggested site.
>> Now my R 3.3.1 configure process is stuck to another point:
>> ./configure
>> ..................
>> 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 >= 8.10 library and headers are required
>> ..............
>>
>> Even though I downloaded and successfully installed the pcre-8.36.tar.bz2 file from the same http://r.research.att.com/src/ site (in /usr/local/include I can see the freshly installed pcre.h file).
>>
>> How can I solve the problem ?
>> Ciao from Rome
>> Vittorio
>>
>>
>>>
>>>> On Aug 28, 2016, at 9:45 AM, Vittorio De Martino <vittorio.demartino at email.it> wrote:
>>>>
>>>> I'm trying for the first time to compile R 3.3.1 on my old macbook with 10.7.5.
>>>> Among other things I have already successfully installed the xz port (which includes lzma) from the macports collection (xz-devel is now included in xz).
>>>
>>> The problem is that MacPorts puts its packages in a location where a standard installation of R will not find them. It might be easier for you to install from the collection provided here (at least it is for me and I'm not particularly facile with Unix installations)):
>>>
>>> http://r.research.att.com/src/
>>>
>>>
>>> David Winsemius
>>> Alameda, CA, USA
>>>
>>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford



More information about the R-SIG-Mac mailing list