huangfei777528
最近在安装R-3.3.0遇到一个问题,安装是提示需要liblzma,但是安装了xz-5.2.2,并指定了路径,R还是找不到,不知道各位有没有遇到这样的问题。
安装命令如下:
./configure --prefix=/System/software/R-3.3.0 --with-libpth-prefix=/System/software/xz-5.2.2/lib --with-x=no --with-libintl-prefix=/System/software/xz-5.2.2/lib
报错信息如下:
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"