installing ea utils on Linux mint

199 views
Skip to first unread message

Eric P

unread,
Mar 9, 2015, 5:34:18 PM3/9/15
to ea-u...@googlegroups.com
I run make all and get this

g++ -O3 -I.  fastq-lib.cpp tidx/tidx-lib.cpp -o varcall varcall.cpp -lgsl -lgslcblas
tidx/tidx-lib.cpp: In member function ‘void tidx::dump(FILE*)’:
tidx/tidx-lib.cpp:265:126: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘std::vector<long int>::size_type {aka unsigned int}’ [-Wformat=]
             fprintf(fh, "%s\t%d\t%d\t%ld\t%ld\n", it->first.c_str(), van[i].beg, van[i].end, van[i].pos.size(), van[i].pos[0]);
                                                                                                                              ^
tidx/tidx-lib.cpp: In member function ‘void tidx::build(const char*, const char*, int, int, int, int, char, bool)’:
tidx/tidx-lib.cpp:333:85: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘std::vector<annot>::size_type {aka unsigned int}’ [-Wformat=]
         if (debug) fprintf(stderr, "frag %s : %ld ->", it->first.c_str(), van.size());
                                                                                     ^
tidx/tidx-lib.cpp:401:56: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘std::vector<annot>::size_type {aka unsigned int}’ [-Wformat=]
         if (debug) fprintf(stderr, " %ld\n", van.size());
                                                        ^
varcall.cpp:33:29: fatal error: gsl/gsl_randist.h: No such file or directory
 #include <gsl/gsl_randist.h>
                             ^
compilation terminated.
make: *** [varcall] Error 1


what do i  do

Erik Aronesty

unread,
Apr 8, 2015, 11:45:50 PM4/8/15
to ea-u...@googlegroups.com
 - the warnings are mostly fine... sizets should be unsigned thats all.
 - unless you're using varcall you can ignore this error, or just make the tools that you need
 - if you are using varcall, then you'll need to install the gnu scientific library first (GSL)
Reply all
Reply to author
Forward
0 new messages