Question: How to solve VT tools error on installation "no math.h" file?
0
gravatar for genome21
3.4 years ago by
genome2110
genome2110 wrote:

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 vcf installation • 1.0k views
ADD COMMENTlink modified 3.4 years ago by Alex Reynolds30k • written 3.4 years ago by genome2110
1
gravatar for Alex Reynolds
3.4 years ago by
Alex Reynolds30k
Seattle, WA USA
Alex Reynolds30k wrote:

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.

ADD COMMENTlink modified 3.4 years ago • written 3.4 years ago by Alex Reynolds30k

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

ADD REPLYlink modified 3.4 years ago • written 3.4 years ago by genome2110

I have installed zlib1g-dev and it has installed somehow

ADD REPLYlink modified 3.4 years ago • written 3.4 years ago by genome2110

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.

ADD REPLYlink modified 3.4 years ago • written 3.4 years ago by Alex Reynolds30k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 947 users visited in the last hour