I am installing R-4.2.2 under my $HOME
path on a Red Hat 4.8.5-28 server.
When I run ./configure --prefix=$HOME/R --enable-R-shlib
I found the error:
checking whether bzip2 support suffices... yes
checking for lzma_version_number in -llzma... no
configure: error: "liblzma library and headers are required"
I have install xz-5.2.2
, and the headers and library have already been under $HOME/local/include
and $HOME/local/lib
. The path of the library has also been added to the $C_INCLUDE_PATH
and $LD_LIBRARY_PATH
. I am not install them to the default path by ways like yum because I do not have the permission.