This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Fastqvalidator compile problem

Hi!

Im gone crazy trying to install fastqvalidator on ubuntu16.4 I really dont know what I do wrong ;_;

  1. I downloaded fastQValidator_0.1.1, unzip at desktop 2.Open terminal at main folder
  2. git clone https://github.com/statgen/libStatGen.git
  3. Enter in folder libstatgen
  4. make all

I get this report, whats wrong with samtools?

cri@cri-To-be-filled-by-O-E-M:~/Desktop/fastQValidator_0.1.1/libStatGen$ make all
make[1]: Entering directory '/home/cri/Desktop/fastQValidator_0.1.1/libStatGen/samtools'
gcc -O4 -pipe -Wall  -I../include -I.   -D__ZLIB_AVAILABLE__ -D_FILE_OFFSET_BITS=64 -D__STDC_LIMIT_MACROS  -o obj/bgzf.o -c bgzf.c 
In file included from bgzf.c:32:0:
bgzf.h:34:18: fatal error: zlib.h: No such file or directory
compilation terminated.
../Makefiles/Makefile.common:74: recipe for target 'obj/bgzf.o' failed
make[1]: *** [obj/bgzf.o] Error 1
make[1]: Leaving directory '/home/cri/Desktop/fastQValidator_0.1.1/libStatGen/samtools'
Makefiles/Makefile.base:15: recipe for target 'samtools' failed
make: *** [samtools] Error 2
cri@cri-To-be-filled-by-O-E-M:~/Desktop/fastQValidator_0.1.1/libStatGen$

Thanks!!!!

fastqvalidator compile

1 answer

You need to install zlib. It could be as simple as sudo apt-get install zlib1g-devel or use software manager/relevant method you like.

thanks once again!!! :))))

I got it!

I let here all steps if someday someone get in same situation as me:

Download fastQValidator_0.1.1, unzip at desktop

Open terminal at main folder

git clone https://github.com/statgen/libStatGen.git

Enter in folder libstatgen

sudo apt-get install zlib1g-dev

make LIB_PATH_GENERAL=/home/cri/Desktop/fastQValidator/libStatGen

(or "make all" ...in my case didnt worked)

Log in to answer this question.