xiaochuanle / MECAT

MECAT: an ultra-fast mapping, error correction and de novo assembly tool for single-molecule sequencing reads
107 stars 26 forks source link

Install error #60

Open Geize opened 5 years ago

Geize commented 5 years ago

Hi, I am trying to install the software in

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"

However, I always got the message below:

utgcns/libcns/unitigConsensus.C: In member function ‘int unitigConsensus::computePositionFromAlignment()’: utgcns/libcns/unitigConsensus.C:729:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (oaPartial == false) ^~~~~ utgcns/libcns/unitigConsensus.C: In member function ‘bool unitigConsensus::alignFragment(bool)’: utgcns/libcns/unitigConsensus.C:1002:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (oaFull == false) ^~~~~ Makefile:554: recipe for target '../../Linux-amd64/obj/libcanu.a/utgcns/libcns/unitigConsensus.o' failed make[1]: [../../Linux-amd64/obj/libcanu.a/utgcns/libcns/unitigConsensus.o] Error 1 make[1]: Leaving directory '/home/geize/MECAT/mecat2canu/src' Makefile:15: recipe for target 'mecatCanu' failed make: [mecatCanu] Error 2

**Also, the Linux-amd64/bin folder has only es_fasta2fastq es_fastq2ca es_gatekeeper extract_sequences lib libes.a.....

All softwares should be located in this folder, or not? (..."all the executables are found in MECAT/Linux-amd64/bin...")**

wgallin commented 5 years ago

I just got essentially the same failure with the same error messages. I addition there are a huge number of warnings about in many lines of code: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]

Is MECAT going to be functional on this platform any time soon?

tuguangxian commented 5 years ago

Thank you. I have the same problem.Do you have any solution to this problem.If so, please contact 2582553833@qq.com.

laurenfitch commented 4 years ago

I have the same error messages as well, cannot make MECAT.

AstrMary commented 3 years ago

Hallo,

I have the same issue too... Do you have any solution of this problem?

kprabhu-soundag commented 3 years ago

I get the same error message as well! make[1]: [Makefile:554: ../../Linux-amd64/obj/libcanu.a/AS_UTL/stddev.o] Error 1 make[1]: Leaving directory '/home/dnalinux/keer/Assembly/MECAT/mecat2canu/src' make: [Makefile:15: mecatCanu] Error 2

Has this been fixed?

kprabhu-soundag commented 3 years ago

Looks like this issue has been fixed with MECAT2 - it can be found here https://github.com/xiaochuanle/MECAT2