Entering edit mode
vedbar
•
0
@vedbar-21249
Last seen 5.5 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!
are you using a conda / bioconda environment?
Yes, I am using a conda environment.