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

David Winsemius dwinsemius at comcast.net
Sun Aug 28 21:29:52 CEST 2016


> 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/


> When as root user I launch  './configure'  the configure process stops with the following error:
> 
> $ ./configure
> ...........
> ...........
> checking if bzip2 version >= 1.0.6... yes
> checking whether bzip2 support suffices... no
> checking for lzma_version_number in -llzma... no
> configure: error: "liblzma library and headers are required"
> 
> I'm getting stuck here. Please help
> Ciao
> Vittorio
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

David Winsemius
Alameda, CA, USA



More information about the R-SIG-Mac mailing list