Trinity Installation Error

451 views
Skip to first unread message

Micah Adams

unread,
Oct 22, 2015, 6:00:20 PM10/22/15
to trinityrnaseq-users
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. 

Tiago Hori

unread,
Oct 22, 2015, 6:03:02 PM10/22/15
to Micah Adams, trinityrnaseq-users
Sounds like your missing zlib, which is c++ library.  

T.

"Profanity the is the only language all programmers understand" 
Sent from my iPhone, the universal excuse for my poor spelling.
--
You received this message because you are subscribed to the Google Groups "trinityrnaseq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trinityrnaseq-u...@googlegroups.com.
To post to this group, send email to trinityrn...@googlegroups.com.
Visit this group at http://groups.google.com/group/trinityrnaseq-users.
For more options, visit https://groups.google.com/d/optout.

maria prado

unread,
Feb 26, 2016, 9:23:57 AM2/26/16
to trinityrnaseq-users

I am experiencing the same issue. How did you solve it?

Micah Adams

unread,
Feb 26, 2016, 9:33:39 AM2/26/16
to trinityrnaseq-users
I was in fact missing zlib. A simple Google search told me how to install it from the command line. I believe I used to this to install it.

sudo apt-get install zlib1g-dev

I also found a list of prerequisites for Trinity, but I don't know where. Searching for that may help you as well.

Reply all
Reply to author
Forward
0 new messages