简体   繁体   English

来自bioconductor / R的Bowtie软件包-错误:软件包“ Rbowtie”的编译失败

[英]Bowtie package from bioconductor/R - ERROR: compilation failed for package ‘Rbowtie’

i'm trying to install the "Rbowtie" package of bioconductor. 我正在尝试安装生物导体的“ Rbowtie”软件包。 I'm running R in root mode on ubuntu 12.4 LTS with the latest version of R (3.1.0). 我正在ubuntu 12.4 LTS上以最新模式的R(3.1.0)在root模式下运行R。

edit : here is the package container 编辑: 这是包装容器

Here what I did (this works for all other packages) : 这是我所做的(这适用于所有其他软件包):

source("http://bioconductor.org/biocLite.R")
biocLite("Rbowtie")

here is the complete error message i got : 这是我得到的完整错误消息:

BioC_mirror: http://bioconductor.org
Using Bioconductor version 2.14 (BiocInstaller 1.14.2), R version
3.1.0.
Installing package(s) 'Rbowtie'
essai de l'URL 'http://bioconductor.org/packages/2.14/bioc/src/contrib/Rbowtie_1.4.4.tar.gz'
Content type 'application/x-gzip' length 880659 bytes (860 Kb)
URL ouverte
==================================================
downloaded 860 Kb

* installing *source* package ‘Rbowtie’ ...
** libs
** arch - 
g++ -O3 -m32 -DCOMPILER_OPTIONS="\"-O3 -m32  -Wl,--hash-style=both -DPOPCNT_CAPABILITY -       g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-  security -D_FORTIFY_SOURCE=2 -g   -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -g  \""  -Wl,--hash-style=both -DPOPCNT_CAPABILITY -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -g   -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -g    \
    -fno-strict-aliasing -DBOWTIE_VERSION="\"`cat VERSION`\"" -  DBUILD_HOST="\"`hostname`\"" -DBUILD_TIME="\"`date`\"" -DCOMPILER_VERSION="\"`g++ -v 2>&1 | tail -1`\"" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -DPREFETCH_LOCALITY=2 -DBOWTIE_MM -DBOWTIE_SHARED_MEM -DNDEBUG -Wall \
    -I SeqAn-1.1 -I third_party \
    -o bowtie-build ebwt_build.cpp \
    ccnt_lut.cpp ref_read.cpp alphabet.cpp shmem.cpp edit.cpp ebwt.cpp tinythread.cpp  bowtie_build_main.cpp \
    -lpthread 
ebwt.h: Assembler messages:
ebwt.h:1909: Error: invalid instruction suffix for `popcnt'
ebwt.h:1909: Error: invalid instruction suffix for `popcnt'
ebwt.h:1909: Error: invalid instruction suffix for `popcnt'
ebwt.h:1909: Error: invalid instruction suffix for `popcnt'
make: *** [bowtie-build] Erreur 1
ERROR: compilation failed for package ‘Rbowtie’
* removing ‘/home/retureau/R/i686-pc-linux-gnu-library/3.1/Rbowtie’

The downloaded source packages are in
‘/tmp/Rtmp1qDuN3/downloaded_packages’
Message d'avis :
In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘Rbowtie’ had non-zero exit status

Thanks. 谢谢。

I am adding the final message from our discussion on the Bioconductor mailing list with the solution here, so people who end up on this page know about it. 我在此处将解决方案添加到了在Bioconductor邮件列表上的讨论中的最终信息,因此最终访问此页面的人都知道这一点。

I have updated Rbowtie to include fixed by the bowtie developers that should allow its compilation on additional platforms. 我已经更新了Rbowtie,使其包含由Bowtie开发人员修复的功能,该功能应允许其在其他平台上进行编译。

An update to Rbowtie version 1.4.5 (release) or 1.5.5 (development) should solve the issue. Rbowtie版本1.4.5(发行版)或1.5.5(开发版)的更新应该可以解决此问题。

Best wishes, Michael 迈克尔·祝你好运

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM