Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install Rsamtools #128

Open
kubu4 opened this issue Jun 17, 2021 · 0 comments
Open

Unable to install Rsamtools #128

kubu4 opened this issue Jun 17, 2021 · 0 comments

Comments

@kubu4
Copy link

kubu4 commented Jun 17, 2021

There seem to be two potential issues (see log below):

  1. /bin/bash: -c: line 0: syntax error near unexpected token ('`

  2. /opt/microsoft/ropen/4.0.2/lib64/R/etc/Makeconf:159: recipe for target 'Biostrings_stubs.o' failed

Would anyone have any suggestions on what's happening and how to tackle this?

SYSTEM: Ubuntu 18.04LTS

> BiocManager::install('Rsamtools')
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details

replacement repositories:
    CRAN: https://mran.microsoft.com/snapshot/2020-07-16

Bioconductor version 3.12 (BiocManager 1.30.15), R 4.0.2 (2020-06-22)
Installing package(s) 'Rsamtools'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 2838k  100 2838k    0     0  35.0M      0 --:--:-- --:--:-- --:--:-- 35.0M
Microsoft R Open 4.0.2
The enhanced R distribution from Microsoft
Microsoft packages Copyright (C) 2020 Microsoft Corporation

Using the Intel MKL for parallel mathematical computing (using 24 cores).

Default CRAN mirror snapshot taken on 2020-07-16.
See: https://mran.microsoft.com/.

* installing *source* package ‘Rsamtools’ ...
** using staged installation
** libs
gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG Microsoft R Open 4.0.2 The enhanced R distribution from Microsoft Microsoft packages Copyright (C) 2020 Microsoft Corporation  Using the Intel MKL for parallel mathematical computing (using 24 cores).  Default CRAN mirror snapshot taken on 2020-07-16. See: https://mran.microsoft.com/.  -D_FILE_OFFSET_BITS=64 -I'/home/sam/R/x86_64-pc-linux-gnu-library/4.0/Rhtslib/include' -I'/home/sam/R/x86_64-pc-linux-gnu-library/4.0/S4Vectors/include' -I'/home/sam/R/x86_64-pc-linux-gnu-library/4.0/IRanges/include' -I'/home/sam/R/x86_64-pc-linux-gnu-library/4.0/XVector/include' -I'/home/sam/R/x86_64-pc-linux-gnu-library/4.0/Biostrings/include' -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -O2 -g  -c Biostrings_stubs.c -o Biostrings_stubs.o
/bin/bash: -c: line 0: syntax error near unexpected token `('
/bin/bash: -c: line 0: `gcc -std=gnu99 -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG Microsoft R Open 4.0.2 The enhanced R distribution from Microsoft Microsoft packages Copyright (C) 2020 Microsoft Corporation  Using the Intel MKL for parallel mathematical computing (using 24 cores).  Default CRAN mirror snapshot taken on 2020-07-16. See: https://mran.microsoft.com/.  -D_FILE_OFFSET_BITS=64 -I'/home/sam/R/x86_64-pc-linux-gnu-library/4.0/Rhtslib/include' -I'/home/sam/R/x86_64-pc-linux-gnu-library/4.0/S4Vectors/include' -I'/home/sam/R/x86_64-pc-linux-gnu-library/4.0/IRanges/include' -I'/home/sam/R/x86_64-pc-linux-gnu-library/4.0/XVector/include' -I'/home/sam/R/x86_64-pc-linux-gnu-library/4.0/Biostrings/include' -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -O2 -g  -c Biostrings_stubs.c -o Biostrings_stubs.o'
/opt/microsoft/ropen/4.0.2/lib64/R/etc/Makeconf:159: recipe for target 'Biostrings_stubs.o' failed
make: *** [Biostrings_stubs.o] Error 1
ERROR: compilation failed for package ‘Rsamtools’
* removing ‘/home/sam/R/x86_64-pc-linux-gnu-library/4.0/Rsamtools’

The downloaded source packages are in
	‘/tmp/RtmpyAH6eS/downloaded_packages’
Installation paths not writeable, unable to update packages
  path: /opt/microsoft/ropen/4.0.2/lib64/R/library
  packages:
    checkpoint, curl, doParallel, iterators, jsonlite, R6, RUnit
Warning message:
In .inet_warning(msg) :
  installation of package ‘Rsamtools’ had non-zero exit status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant