This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to solve VT tools error on installation "no math.h" file?

How to solve VT tools error on installation "no math.h" file?

I am trying to put it on Linux Mint 18.1 as written in http://genome.sph.umich.edu/wiki/Vt

vt installation vcf

1 answer

You might be missing glibc components. Try adding the headers and libraries via:

$ sudo apt-get update && sudo apt-get install libc6-dev

This should add libm.a, libm.so, math.h, and other glibc components.

If you have these components installed and compiling still fails, you may need to edit the vt project's Makefile and manually edit the includes (-I) and link (-L) directories to instruct the build tools where headers and libraries are located.

thank you, but now it says: "no zlib.h, fatal error", what to do to fix?

I have installed zlib1g-dev and it has installed somehow

Yeah, depending on what gets bundled with Mint, you may need to add development libraries in order to compile tools that depend on various third-party libraries.

Log in to answer this question.