mothur 1.21.0 not building

Trying to buiild mothur 1.21.0 on Debian stable gives

mpic++ -O3 -m64 -march=native -DBIT_VERSION -DRELEASE_DATE="“7/27/2011"” -DVERSION="“1.21.0"” -DUSE_READLINE -DUSE_MPI -I. -c -o classify.o classify.cpp
classify.cpp: In member function ‘virtual void Classify::generateDatabaseAndNames(std::string, std::string, std::string, int, float, float, float, float)’:
classify.cpp:126: error: no matching function for call to ‘BlastDB::BlastDB(std::basic_string<char, std::char_traits, std::allocator >, float&, float&, float&, float&)’
blastdb.hpp:20: note: candidates are: BlastDB::BlastDB(std::string)
blastdb.hpp:19: note: BlastDB::BlastDB(std::string, float, float, float, float, std::string)
blastdb.hpp:16: note: BlastDB::BlastDB(const BlastDB&)

Looking at line 126 of classify.cpp:

else if(method == “blast”) { database = new BlastDB(tempFile.substr(0,tempFile.find_last_of(".")+1), gapOpen, gapExtend, match, misMatch); }

I count five parameters rather than the expected six. Should the line read

else if(method == “blast”) { database = new BlastDB(tempFile.substr(0,tempFile.find_last_of(".")+1), gapOpen, gapExtend, match, misMatch. “”); }

?

  • Donald Neal
    The University of Waikato

Thanks for bringing this to our attention. A new version of the source is now up on the wiki.