velocyto-team / velocyto.R

RNA velocity estimation in R
http://velocyto.org
179 stars 223 forks source link

Can't install velocyto.R on remote R server #163

Closed annaliem closed 3 years ago

annaliem commented 3 years ago

Hello! I'm hoping to run RNA velocity on my Seurat object, but am having issues getting velocyto.R installed.

I've installed boost by:

$ sudo apt-get install libboost-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libboost-dev is already the newest version (1.62.0.1).
0 upgraded, 0 newly installed, 0 to remove and 80 not upgraded.

and I'm still getting this error:

/usr/bin/ld: cannot find -lboost_filesystem
/usr/bin/ld: cannot find -lboost_system
collect2: error: ld returned 1 exit status
/usr/share/R/share/make/shlib.mk:6: recipe for target 'velocyto.R.so' failed
make: *** [velocyto.R.so] Error 1
ERROR: compilation failed for package ‘velocyto.R’
* removing ‘/home/usr/R/x86_64-pc-linux-gnu-library/3.6/velocyto.R’
installation of package ‘/tmp/Rtmpw9mnTP/file41811aacb91/velocyto.R_0.6.tar.gz’ had non-zero exit status

Any advice on this if the error persists after sudo apt-get install libboost-dev is run and the newest version is installed, but the error persists? Working on RStudio Server if it matters