I am trying to install Trinity on my Ubuntu 15.04 Virtual Machine. I thought that I had it installed and was good to go, but I was encountering many errors, so I thought I would try a re-install. I downloaded the latest from Github, extracted it, and typed "make" in terminal. It proceeded to install, but after a minute or so the compilation terminated.
Here is the terminal output right when I see the first problem.
make[2]: Entering directory '/home/micah/trinity/trinity-plugins/htslib'
make[2]: git: Command not found
gcc -g -Wall -O2 -I. -c -o kfunc.o kfunc.c
gcc -g -Wall -O2 -I. -c -o knetfile.o knetfile.c
gcc -g -Wall -O2 -I. -c -o kstring.o kstring.c
gcc -g -Wall -O2 -I. -c -o bgzf.o bgzf.c
In file included from bgzf.c:39:0:
htslib/bgzf.h:34:18: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^
compilation terminated.
Makefile:143: recipe for target 'bgzf.o' failed
make[2]: *** [bgzf.o] Error 1
make[2]: Leaving directory '/home/micah/trinity/trinity-plugins/htslib'
Makefile:32: recipe for target 'htslib_target' failed
make[1]: *** [htslib_target] Error 2
make[1]: Leaving directory '/home/micah/trinity/trinity-plugins'
Makefile:30: recipe for target 'trinity_essentials' failed
make: *** [trinity_essentials] Error 2
I have Java installed on the VM, and I followed the instructions on the webpage.
I am not sure what is going wrong, and I cant seem to find the answer in this group or the rest of the internet.
Any help would be much appreciated.