Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installation of R 3.3.1 in Red Hat. LZMA version >=5.0.3 required

Tags:

r

redhat

xz

lzma

I am installing R 3.3.1 from source. During ./configure --enable-R-shlib execution, error pops up:

checking for lzma_version_number in -llzma... yes
checking lzma.h usability... yes
checking lzma.h presence... yes
checking for lzma.h... yes
checking if lzma version >= 5.0.3... no
configure: error: "liblzma library and headers are required"

I see that there is no LZMA version 5.0.3 available and is currently available through XZ Utils.

Tukaani XZ Utils

I installed the XZ 5.2.2 but the error is still showing up.

like image 302
j1897 Avatar asked Jun 29 '16 05:06

j1897


1 Answers

I had the same error and it got fixed after installing xz and xz-devel as yum install xz xz-devel.

like image 158
raviabhiram Avatar answered Oct 20 '22 09:10

raviabhiram