This is a test version of Biostars. For the public version, visit https://www.biostars.org.
compilation terminated when R package installation in linux without superuser permission

Hello,

I met a problem when I installed R package "spp" in linux without superuser permission. The error was "bed2vector.cpp:15:10 fatal error: bzliv.h: No such file or directory

#include <bzlib.h>

^~~~~~~~~~~~
compilation terminated.
make : *** [/public/home/yyusy/software/anaconda3/envs/lib/R/etc/Makeconf:176: bed2vector.o] Error 1
ERROR : compilation failed for package 'spp'  "

How can I install the libarary of "libbz2” manually without the permission of sudo ?

r spp bzlib

which command line did you use?

Thanks a lot. There was another wrong messeage of a new dependent library when I installed libbz2 and I installed the new library file according to the err hint but another new issue occured. There are so many interdependent header files , it seems too verbose to settle these errors.

0 answers

No answers yet.

Log in to answer this question.