New bzip2 version ignored when installing R 3.4.0 in home directory on CentOS
I don't have enough rights, so I need to install R3.4.0 in my home directory.
New version of bzip2 required (> = 1.0.6)
Current version v1.0.5
I created bzip2 v1.0.6 in my home directory.
There are 4 directories in the build directory: bin, include, lib, man
I know that I need to change the paths in some way, so I tried this:
PATH=path/to/bzip2-1.0.6_build/bin:$PATH
CPATH=path/to/bzip2-1.0.6_build/include:$CPATH
LIBRARY_PATH=path/to/bzip2-1.0.6_build/lib:$LIBRARY_PATH
LD_LIBRARY_PATH=path/to/bzip2-1.0.6_build/lib:$LD_LIBRARY_PATH
However, when I run. / configure to install R, I get the error:
checking if bzip2 version >= 1.0.6... no
checking whether bzip2 support suffices... configure: error: bzip2 library and headers are required
What error did I get before installing bzip2 v1.0.6
But this time when I run bzip2 --version
I get:
bzip2, a block-sorting file compressor. Version 1.0.6, 6-Sept-2010.
Which is correct.
How to do this so that at step ./configure
v1.0.6 it will be taken to acoount by version 1.0.5?
source to share
No one has answered this question yet
Check out similar questions: