I have been trying to install mira version 4.0.2 to my Ubuntu system. I'm using the precompiled version. Today, I've successfully managed to load and configure with ./configure
which successfully gives me;
Looks good, we do not expect compilation problems. Type 'make' to make the binaries and then 'make install' to install them.
but when I use make
It gives me an error, tail looking like this;
In file included from exp_flexer.cc:323:0:
/usr/include/FlexLexer.h:156:8: error: candidate is: void EXPFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream&)
void yy_init_buffer( yy_buffer_state* b, std::istream& s );
^~~~~~~~~~~~~~
Makefile:356: recipe for target 'exp_flexer.o' failed
make[5]: *** [exp_flexer.o] Error 1
make[5]: Leaving directory '/home/ece/Downloads/mira-4.0.2/src/io'
Makefile:276: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/ece/Downloads/mira-4.0.2/src/io'
Makefile:306: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/ece/Downloads/mira-4.0.2/src'
Makefile:259: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/ece/Downloads/mira-4.0.2/src'
Makefile:316: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ece/Downloads/mira-4.0.2'
Makefile:262: recipe for target 'all' failed
make: *** [all] Error 2
And here is the full error for make: https://pastebin.com/T4ZgZRkD
I should also point out i know a newer version of mira exists, which I managed to work with before, but we would like to use MITObim which does not support mira versions higher than 4.0.2, so this is what im delibaretely trying to work on.
Agreed. Alternatively use conda.