Bioconductor / BSgenome

Software infrastructure for efficient representation of full genomes and their SNPs
https://bioconductor.org/packages/BSgenome
9 stars 8 forks source link

Failed to install #4

Closed bigguscodus closed 5 years ago

bigguscodus commented 5 years ago

I have a problem with installation BSgenome. What am i supposed to do ? Here is the log:

BiocManager::install("BSgenome") Bioconductor version 3.10 (BiocManager 1.30.9), R 3.6.1 (2019-07-05) Installing package(s) 'BSgenome' also installing the dependencies ‘SummarizedExperiment’, ‘RCurl’, ‘XML’, ‘GenomicAlignments’, ‘Rhtslib’, ‘GenomeInfoDb’, ‘GenomicRanges’, ‘rtracklayer’, ‘Rsamtools’

trying URL 'https://bioconductor.org/packages/3.10/bioc/src/contrib/SummarizedExperiment_1.16.0.tar.gz' Content type 'application/x-gzip' length 1517919 bytes (1.4 MB)

downloaded 1.4 MB

trying URL 'https://cloud.r-project.org/src/contrib/RCurl_1.95-4.12.tar.gz' Content type 'application/x-gzip' length 916763 bytes (895 KB)

downloaded 895 KB

trying URL 'https://cloud.r-project.org/src/contrib/XML_3.98-1.20.tar.gz' Content type 'application/x-gzip' length 1600829 bytes (1.5 MB)

downloaded 1.5 MB

trying URL 'https://bioconductor.org/packages/3.10/bioc/src/contrib/GenomicAlignments_1.22.0.tar.gz' Content type 'application/x-gzip' length 2315848 bytes (2.2 MB)

downloaded 2.2 MB

trying URL 'https://bioconductor.org/packages/3.10/bioc/src/contrib/Rhtslib_1.18.0.tar.gz' Content type 'application/x-gzip' length 1471164 bytes (1.4 MB)

downloaded 1.4 MB

trying URL 'https://bioconductor.org/packages/3.10/bioc/src/contrib/GenomeInfoDb_1.22.0.tar.gz' Content type 'application/x-gzip' length 3409309 bytes (3.3 MB)

downloaded 3.3 MB

trying URL 'https://bioconductor.org/packages/3.10/bioc/src/contrib/GenomicRanges_1.38.0.tar.gz' Content type 'application/x-gzip' length 1169872 bytes (1.1 MB)

downloaded 1.1 MB

trying URL 'https://bioconductor.org/packages/3.10/bioc/src/contrib/rtracklayer_1.46.0.tar.gz' Content type 'application/x-gzip' length 1541921 bytes (1.5 MB)

downloaded 1.5 MB

trying URL 'https://bioconductor.org/packages/3.10/bioc/src/contrib/Rsamtools_2.2.0.tar.gz' Content type 'application/x-gzip' length 3033552 bytes (2.9 MB)

downloaded 2.9 MB

trying URL 'https://bioconductor.org/packages/3.10/bioc/src/contrib/BSgenome_1.54.0.tar.gz' Content type 'application/x-gzip' length 6067030 bytes (5.8 MB)

downloaded 5.8 MB

The downloaded source packages are in ‘/tmp/RtmpEFa6gM/downloaded_packages’ Installation path not writeable, unable to update packages: mgcv, survival Warning messages: 1: In install.packages(...) : installation of package ‘RCurl’ had non-zero exit status 2: In install.packages(...) : installation of package ‘XML’ had non-zero exit status 3: In install.packages(...) : installation of package ‘Rhtslib’ had non-zero exit status 4: In install.packages(...) : installation of package ‘GenomeInfoDb’ had non-zero exit status 5: In install.packages(...) : installation of package ‘GenomicRanges’ had non-zero exit status 6: In install.packages(...) : installation of package ‘SummarizedExperiment’ had non-zero exit status 7: In install.packages(...) : installation of package ‘Rsamtools’ had non-zero exit status 8: In install.packages(...) : installation of package ‘GenomicAlignments’ had non-zero exit status 9: In install.packages(...) : installation of package ‘rtracklayer’ had non-zero exit status 10: In install.packages(...) : installation of package ‘BSgenome’ had non-zero exit status

hpages commented 5 years ago

This does not look like a BSgenome issue. As you can see, many packages couldn't be installed, not just BSgenome. The fact that BSgenome failed to install is just the consequence of other packages required (directly or indirectly) by BSgenome failing to install.

At the root of the problem, it seems that installation of CRAN packages RCurl and XML failed, thus preventing many Bioconductor packages from installing. Please consult on general purpose forums / mailing lists, or directly with the authors / maintainers of these packages for advice. As always people will ask you to provide the output of your sessionInfo() so they can help you.

Best, H.

bigguscodus commented 5 years ago

Thank you!

hpages commented 5 years ago

I hope you were able to sort this out. Closing this now.

jdblischak commented 4 years ago

Both RCurl

checking for curl-config... no
Cannot find curl-config

and Rhtslib

hfile_libcurl.c:45:10: fatal error: curl/curl.h: No such file or directory

failed to install because the libcurl development files aren't available. This can be fixed on Debian/Ubuntu by running the following:

sudo apt install libcurl4-openssl-dev
hpages commented 4 years ago

Please don't post in a closed issue, especially if your post has nothing to do with BSgenome. Thx!