Hi there,
I wanted to try to install bcftools in my linux workstation. But it gave me the following error report. What should I do now?
Best Regards
Zillur
[zillur@workstation01 ~]$ cd Desktop/zillur/Tools/bcftools-1.2/
[zillur@workstation01 bcftools-1.2]$ ls
AUTHORS Makefile consensus.c filter.c kmin.c ploidy.h prob1.h tsv2vcf.c vcfconcat.c vcfisec.c vcfroh.c vcmp.c
HMM.c README convert.c filter.h kmin.h plot-vcfstats rbuf.h tsv2vcf.h vcfconvert.c vcfmerge.c vcfsom.c vcmp.h
HMM.h bcftools.h convert.h gvcf.c main.c plugins reheader.c vcfannotate.c vcffilter.c vcfnorm.c vcfstats.c version.c
INSTALL call.h doc htslib-1.2.1 mcall.c polysomy.c tabix.c vcfcall.c vcfgtcheck.c vcfplugin.c vcfutils.pl
LICENSE ccall.c em.c khash_str2str.h ploidy.c prob1.c test vcfcnv.c vcfindex.c vcfquery.c vcfview.c
[zillur@workstation01 bcftools-1.2]$ nano README
[zillur@workstation01 bcftools-1.2]$ nano INSTALL
[zillur@workstation01 bcftools-1.2]$ sudo make
[sudo] password for zillur:
cd htslib-1.2.1 && make lib-static
make[1]: Entering directory `/home/zillur/Desktop/zillur/Tools/bcftools-1.2/htslib-1.2.1'
gcc -g -Wall -O2 -I. -c -o bgzf.o bgzf.c
In file included from bgzf.c:37:0:
htslib/bgzf.h:34:18: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^
compilation terminated.
make[1]: *** [bgzf.o] Error 1
make[1]: Leaving directory `/home/zillur/Desktop/zillur/Tools/bcftools-1.2/htslib-1.2.1'
make: *** [htslib-1.2.1/libhts.a] Error 2
[zillur@workstation01 bcftools-1.2]$
I wanted to try to install bcftools in my linux workstation. But it gave me the following error report. What should I do now?
Best Regards
Zillur
[zillur@workstation01 ~]$ cd Desktop/zillur/Tools/bcftools-1.2/
[zillur@workstation01 bcftools-1.2]$ ls
AUTHORS Makefile consensus.c filter.c kmin.c ploidy.h prob1.h tsv2vcf.c vcfconcat.c vcfisec.c vcfroh.c vcmp.c
HMM.c README convert.c filter.h kmin.h plot-vcfstats rbuf.h tsv2vcf.h vcfconvert.c vcfmerge.c vcfsom.c vcmp.h
HMM.h bcftools.h convert.h gvcf.c main.c plugins reheader.c vcfannotate.c vcffilter.c vcfnorm.c vcfstats.c version.c
INSTALL call.h doc htslib-1.2.1 mcall.c polysomy.c tabix.c vcfcall.c vcfgtcheck.c vcfplugin.c vcfutils.pl
LICENSE ccall.c em.c khash_str2str.h ploidy.c prob1.c test vcfcnv.c vcfindex.c vcfquery.c vcfview.c
[zillur@workstation01 bcftools-1.2]$ nano README
[zillur@workstation01 bcftools-1.2]$ nano INSTALL
[zillur@workstation01 bcftools-1.2]$ sudo make
[sudo] password for zillur:
cd htslib-1.2.1 && make lib-static
make[1]: Entering directory `/home/zillur/Desktop/zillur/Tools/bcftools-1.2/htslib-1.2.1'
gcc -g -Wall -O2 -I. -c -o bgzf.o bgzf.c
In file included from bgzf.c:37:0:
htslib/bgzf.h:34:18: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^
compilation terminated.
make[1]: *** [bgzf.o] Error 1
make[1]: Leaving directory `/home/zillur/Desktop/zillur/Tools/bcftools-1.2/htslib-1.2.1'
make: *** [htslib-1.2.1/libhts.a] Error 2
[zillur@workstation01 bcftools-1.2]$
Comment