bioinformatics-centre / kaiju

Fast taxonomic classification of metagenomic sequencing reads using a protein reference database
http://kaiju.binf.ku.dk
GNU General Public License v3.0
260 stars 68 forks source link

make error #32

Closed rosema62 closed 7 years ago

rosema62 commented 7 years ago

I get the following error when invoking make

[rosema1@demeter kaiju-master]$ cd src/ [rosema1@demeter src]$ make make -C bwt/ make[1]: Entering directory /home/rosema1/BioInfo/bin/kaiju-master/src/bwt' gcc -O3 -g -Wno-unused-result -c -o mkbwt.o mkbwt.c gcc -O3 -g -Wno-unused-result -c -o readFasta.o readFasta.c gcc -O3 -g -Wno-unused-result -c -o suffixArray.o suffixArray.c gcc -O3 -g -Wno-unused-result -c -o multikeyqsort.o multikeyqsort.c gcc -O3 -g -Wno-unused-result -c -o sequence.o sequence.c gcc mkbwt.o readFasta.o suffixArray.o multikeyqsort.o sequence.o -lpthread -lm -o mkbwt gcc -O3 -g -Wno-unused-result -c -o mkfmi.o mkfmi.c gcc -O3 -g -Wno-unused-result -c -o bwt.o bwt.c gcc -O3 -g -Wno-unused-result -c -o compactfmi.o compactfmi.c gcc mkfmi.o bwt.o suffixArray.o compactfmi.o -lpthread -lm -o mkfmi make[1]: Leaving directory/home/rosema1/BioInfo/bin/kaiju-master/src/bwt' g++ -ansi -pedantic -O3 -pthread -std=c++11 -g -DNDEBUG -Wall -Wconversion -Wno-unused-function -I./include/ProducerConsumerQueue/src -I./include/ncbi-blast+ -c -o kaiju.o kaiju.cpp cc1plus: error: unrecognized command line option "-std=c++11" make: *** [kaiju.o] Error 1

Help would be appreciated.

Mark

pmenzel commented 7 years ago

That is because your compiler is too old and does not support the C++11 standard, which is supported from GCC 4.7 onwards. If you cannot update your compiler, then you could try to use the statically build binary files from here.