R INSTALL ON SERVER ERROR "bzip2 library and headers are required" despite being already installed


I keep getting the error

checking whether bzip2 support suffices... configure: error: bzip2 library and headers are required

when trying to install R onto a server environment. I installed bzip2 already to my packages folder and I also installed it into my home directory using make install PREFIX=/gpfs/ts0/home/mya205/, but it seems that R installation on the server still can't find bzip and displays the error above.

Any ideas?

EDIT: If anyone else has insufficient privileges on your platform, you can install R through conda

Yaseen Ahammed

Posted 2019-12-06T14:19:23.187

Reputation: 1

We would use, as usual, the same cliché that we have been already using maybe four or five times on this Web-Site: you need an R Expert to help you troubleshoot this Issue. However, as usual, the Issue might not be related to the R Statistical Programming Language at all. In your case, it is definitely related to the bzip2 Archiving Software Utility, @Yaseen Ahammed. It is not necessary to install it two times. You just have to make sure that the PATH Operating System Environment Variable reaches it. Can you please inspect it and show it to us, so that we can further investigate? – None – 2019-12-10T14:16:07.560

Can you please tell us what does the echo $PATH Operating System Command output? – None – 2019-12-12T10:59:55.497

No answers