{"id":559,"date":"2024-04-16T22:08:00","date_gmt":"2024-04-16T14:08:00","guid":{"rendered":"https:\/\/blog.ineuro.net\/?p=559"},"modified":"2024-05-02T22:10:00","modified_gmt":"2024-05-02T14:10:00","slug":"ubuntu%e7%b3%bb%e7%bb%9f%e4%b8%8br%e8%af%ad%e8%a8%80%e5%ae%89%e8%a3%85velocyto-r%e6%8a%a5%e9%94%99error-compilation-failed-for-package-velocyto-r%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9","status":"publish","type":"post","link":"https:\/\/blog.ineuro.net\/index.php\/2024\/04\/16\/559\/","title":{"rendered":"ubuntu\u7cfb\u7edf\u4e0bR\u8bed\u8a00\u5b89\u88c5velocyto.R\u62a5\u9519ERROR: compilation failed for package \u2018velocyto.R\u2019\u7684\u89e3\u51b3\u65b9\u6848"},"content":{"rendered":"\n<p>velocyto.R\u53ef\u7528\u4e8eRNA\u901f\u7387\u5206\u6790\uff0c\u5728\u4f7f\u7528<code>install_github(\"velocyto-team\/velocyto.R\")<\/code>\u65f6\uff0c\u51fa\u73b0\u5982\u4e0b\u62a5\u9519\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-zibllblock-enlighter\"><code class=\"gl\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ERROR: dependency \u2018pcaMethods\u2019 is not available for package \u2018velocyto.R\u2019&lt;br>* removing \u2018\/home\/drqux\/R\/x86_64-pc-linux-gnu-library\/4.3\/velocyto.R\u2019&lt;br>Warning message:&lt;br>In i.p(...) :&lt;br>  \u5b89\u88c5\u7a0b\u5e8f\u5305\u2018\/tmp\/RtmpdsVAXU\/file3d077a16dd16b7\/velocyto.R_0.6.tar.gz\u2019\u65f6\u9000\u51fa\u72c0\u614b\u7684\u503c\u4e0d\u662f0<\/code><\/pre>\n\n\n\n<p>\u63d0\u793a\u7f3a\u4e4fpcaMethods\u8fd9\u4e2a\u5305\uff0c<code>BiocManager::install('pcaMethods')<\/code>\u5b89\u88c5\u8be5\u5305\u540e\uff0c\u62a5\u9519<\/p>\n\n\n\n<pre class=\"wp-block-zibllblock-enlighter\"><code class=\"gl\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\/usr\/bin\/ld: \u627e\u4e0d\u5230 -lboost_filesystem&lt;br>\/usr\/bin\/ld: \u627e\u4e0d\u5230 -lboost_system&lt;br>collect2: error: ld returned 1 exit status&lt;br>make: *** [\/usr\/share\/R\/share\/make\/shlib.mk:10\uff1avelocyto.R.so] \u9519\u8bef 1&lt;br>ERROR: compilation failed for package \u2018velocyto.R\u2019&lt;br>* removing \u2018\/home\/drqux\/R\/x86_64-pc-linux-gnu-library\/4.3\/velocyto.R\u2019&lt;br>Warning message:&lt;br>In i.p(...) :&lt;br>  \u5b89\u88c5\u7a0b\u5e8f\u5305\u2018\/tmp\/RtmpdsVAXU\/file3d077a9926b57\/velocyto.R_0.6.tar.gz\u2019\u65f6\u9000\u51fa\u72c0\u614b\u7684\u503c\u4e0d\u662f0<\/code><\/pre>\n\n\n\n<p>\u53ef\u80fd\u662f\u7cfb\u7edf\u76f8\u5173\u4f9d\u8d56\u5b58\u5728\u95ee\u9898\uff0c\u5728terminal\u4e2d\u5b89\u88c5<code>apt-get install libboost-dev<\/code>\uff0c\u4f9d\u7136\u62a5\u9519\u3002\u5c1d\u8bd5<code>sudo apt-get install libboost-all-dev<\/code>\uff0c\u62a5\u9519<\/p>\n\n\n\n<pre class=\"wp-block-zibllblock-enlighter\"><code class=\"gl\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">`\u4e0b\u5217\u8f6f\u4ef6\u5305\u6709\u672a\u6ee1\u8db3\u7684\u4f9d\u8d56\u5173\u7cfb\uff1a&lt;br> libboost-all-dev : \u4f9d\u8d56: libboost-mpi-dev \u4f46\u662f\u5b83\u5c06\u4e0d\u4f1a\u88ab\u5b89\u88c5&lt;br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  \u4f9d\u8d56: libboost-mpi-python-dev \u4f46\u662f\u5b83\u5c06\u4e0d\u4f1a\u88ab\u5b89\u88c5`<\/code><\/pre>\n\n\n\n<p>\u67e5\u9605\u540e\uff0c\u91c7\u7528aptitude\u5b89\u88c5\u6240\u6709\u4f9d\u8d56<\/p>\n\n\n\n<pre class=\"wp-block-zibllblock-enlighter\"><code class=\"gl\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt-get install aptitude&lt;br>sudo aptitude install libboost-all-dev<\/code><\/pre>\n\n\n\n<p>\u987a\u5229\u5b89\u88c5libboost-all-dev\uff0c\u8fd4\u56deR\uff0c\u63d0\u793a<code>DONE (velocyto.R)<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>velocyto.R\u53ef\u7528\u4e8eRNA\u901f\u7387\u5206\u6790\uff0c\u5728\u4f7f\u7528install_github(&#8220;velocyto-team\/v [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topics":[],"_links":{"self":[{"href":"https:\/\/blog.ineuro.net\/index.php\/wp-json\/wp\/v2\/posts\/559"}],"collection":[{"href":"https:\/\/blog.ineuro.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ineuro.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ineuro.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ineuro.net\/index.php\/wp-json\/wp\/v2\/comments?post=559"}],"version-history":[{"count":2,"href":"https:\/\/blog.ineuro.net\/index.php\/wp-json\/wp\/v2\/posts\/559\/revisions"}],"predecessor-version":[{"id":561,"href":"https:\/\/blog.ineuro.net\/index.php\/wp-json\/wp\/v2\/posts\/559\/revisions\/561"}],"wp:attachment":[{"href":"https:\/\/blog.ineuro.net\/index.php\/wp-json\/wp\/v2\/media?parent=559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ineuro.net\/index.php\/wp-json\/wp\/v2\/categories?post=559"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ineuro.net\/index.php\/wp-json\/wp\/v2\/tags?post=559"},{"taxonomy":"topics","embeddable":true,"href":"https:\/\/blog.ineuro.net\/index.php\/wp-json\/wp\/v2\/topics?post=559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}