This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Assembler MaSuRCA (v 3.3.3) installation error

To do perform de novo assembly, I downloaded MaSuRCA assembler ver 3.3.3. I have executed the command ./install.sh, and got the following error.

> swig/perl5/swig_wrap.cpp:322:10: fatal error: string.h: No such file
> or directory 
>  #include <string.h>
> 
> compilation terminated.
> Makefile: 1622: recipe for target 'swig/perl5/swig_perl5_jellyfish_la-swig_wrap.lo' failed

Full error log is shown in the following link: https://pastebin.com/Xr7D9jWd

According to this Q&A ( https://github.com/alekseyzimin/masurca/issues/10 ), I have upgraded my perl and swig, but still cannot install MaSuRCA successfully.

I'd be grateful if you could help me. Thanks.


My environment is as follows:

Ubuntu 18.04.3 LTS

Perl 5.26.2

gcc 7.4.0

jellyfish 2.2.10

swig 3.0.12

software error assembly masurca

string.h: No such file or directory

Did you try to find <MaSuRCA home> -name "string.h" in your maSuRCA home directory?

string.h was not found in the MaSuRCA directly.

Is there a "configure" script in the directory? Or a readme that lists installation steps?

1 answer

Even though some people might not agree with it, I personally like to simply pull tools from conda (https://anaconda.org/bioconda/masurca) to get my analysis going while not wasting time on compiling things myself.

I appreciate your nice suggestion! I could successfully install MaSuRCA thanks to Bioconda.

Log in to answer this question.