Closed bigguscodus closed 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.
Thank you!
I hope you were able to sort this out. Closing this now.
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
Please don't post in a closed issue, especially if your post has nothing to do with BSgenome. Thx!
I have a problem with installation BSgenome. What am i supposed to do ? Here is the log:
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
include <curl/curl.h>
compilation terminated. Makefile.Rhtslib:128: recipe for target 'hfile_libcurl.o' failed make[1]: Leaving directory '/tmp/Rtmpr6Dmy1/R.INSTALL4f1c631f2b98/Rhtslib/src/htslib-1.7' make[1]: [hfile_libcurl.o] Error 1 Makevars.common:24: recipe for target 'htslib' failed make: [htslib] Error 2 ERROR: compilation failed for package ‘Rhtslib’
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