Error on zlib.h while installing esATAC on Ubutu
1
0
Entering edit mode
vedbar • 0
@vedbar-21249
Last seen 4.8 years ago

I got error while installing esATAC on Ubuntu 16.04 LTS. devtools::install_github("wzthu/esATAC")

fastq_io.h:30:10: fatal error: zlib.h: No such file or directory
 #include <zlib.h>
          ^~~~~~~~
compilation terminated.
make[1]: *** [Makefile:46: demultiplex.o] Error 1
make[1]: Leaving directory '/tmp/RtmpOcp5qQ/R.INSTALLd5ad4c460074/Rbowtie2/src/adapterremoval'
make: *** [Makefile:10: all] Error 2
ERROR: compilation failed for package ‘Rbowtie2’
* removing ‘/home/vedbar/miniconda2/lib/R/library/Rbowtie2’
Error: Failed to install 'esATAC' from GitHub:
  (converted from warning) installation of package ‘Rbowtie2’ had non-zero exit status.

I ran but was already installed

$sudo apt-get install zlib1g-dev

Thank you in advance for your kind help!

software error esATAC zlib.h Ubuntu Tutorial • 1.9k views
ADD COMMENT
0
Entering edit mode

are you using a conda / bioconda environment?

ADD REPLY
0
Entering edit mode

Yes, I am using a conda environment.

ADD REPLY
1
Entering edit mode
@martin-morgan-1513
Last seen 6 days ago
United States

The problem is with the way conda specifies compiler search paths. I suggest you reach out to conda support channels to resolve this.

Depending on your reason for using conda, a different solution might be the bioconductor_full docker image.

ADD COMMENT

Login before adding your answer.

Traffic: 583 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6