How to install CD-HIT in Ubuntu? - (Mar/27/2012 )
I'm a newbie in using Ubuntu and I wish to install CD-HIT. But when i key in the command "make", the following lines prompt out:
g++ -O2 -DNO_OPENMP cdhit-common.c++ -c
cdhit-common.c++: In constructor ‘TempFile::TempFile(const char*)’:
cdhit-common.c++:68:34: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘TempFile*’ <-Wformat>
cdhit-common.c++: In member function ‘size_t SequenceDB::MinimalMemory(int, int, int, const Options&)’:
cdhit-common.c++:2258:47: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ <-Wformat>
cdhit-common.c++:2262:71: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘size_t {aka long unsigned int}’ <-Wformat>
cdhit-common.c++:2262:71: warning: format ‘%i’ expects argument of type ‘int’, but argument 5 has type ‘size_t {aka long unsigned int}’ <-Wformat>
cdhit-common.c++:2266:78: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘size_t {aka long unsigned int}’ <-Wformat>
cdhit-common.c++:2266:78: warning: format ‘%i’ expects argument of type ‘int’, but argument 5 has type ‘size_t {aka long unsigned int}’ <-Wformat>
cdhit-common.c++:2271:52: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ <-Wformat>
cdhit-common.c++:2274:51: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ <-Wformat>
cdhit-common.c++:2279:30: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ <-Wformat>
cdhit-common.c++: In member function ‘void SequenceDB::DoClustering(int, const Options&)’:
cdhit-common.c++:2476:90: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<Sequence*, std::allocator<Sequence*> >::size_type {aka long unsigned int}’ <-Wformat>
cdhit-common.c++:2487:65: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘size_t {aka long unsigned int}’ <-Wformat>
cdhit-common.c++: In member function ‘void SequenceDB::DoClustering(const Options&)’:
cdhit-common.c++:2994:65: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘size_t {aka long unsigned int}’ <-Wformat>
g++ -O2 -DNO_OPENMP cdhit-utility.c++ -c
g++ -O2 -DNO_OPENMP cdhit.c++ -c
g++ -O2 -DNO_OPENMP cdhit.o cdhit-common.o cdhit-utility.o -o cd-hit
g++ -O2 -DNO_OPENMP cdhit-est.c++ -c
g++ -O2 -DNO_OPENMP cdhit-est.o cdhit-common.o cdhit-utility.o -o cd-hit-est
g++ -O2 -DNO_OPENMP cdhit-2d.c++ -c
g++ -O2 -DNO_OPENMP cdhit-2d.o cdhit-common.o cdhit-utility.o -o cd-hit-2d
g++ -O2 -DNO_OPENMP cdhit-est-2d.c++ -c
g++ -O2 -DNO_OPENMP cdhit-est-2d.o cdhit-common.o cdhit-utility.o -o cd-hit-est-2d
g++ -O2 -DNO_OPENMP cdhit-div.c++ -c
g++ -O2 -DNO_OPENMP cdhit-div.o cdhit-common.o cdhit-utility.o -o cd-hit-div
g++ -O2 -DNO_OPENMP cdhit-454.c++ -c
g++ -O2 -DNO_OPENMP cdhit-454.o cdhit-common.o cdhit-utility.o -o cd-hit-454
I'm really desparate for helps. Anyone? Thanks in advance!!
Have you tried the ubuntu forums?