mummer4/mummer

The problem about make

wbc569668815 opened this issue · 1 comments

Dear authors,
When I make the mummer-4.0.0rc1, the error happened. The error is as follows:
make all-am
make[1]: enter “/media/pearlmillet/HD10T/03.Comparative_genome/04.Collinearity_WGD/01.Collinearity/mummer-4.0.0rc1”
CXX src/essaMEM/sparseSA.lo
In file included from /home/pearlmillet/miniconda3/include/assert.h:5:0,
from src/essaMEM/sparseSA.cpp:6:
/home/pearlmillet/miniconda3/include/except.h:15:32: error: conflicting declaration 'typedef struct Except_Frame_T* Except_Frame_T'
typedef struct Except_Frame_T *Except_Frame_T;
^~~~~~~~~~~~~~
/home/pearlmillet/miniconda3/include/except.h:15:16: note: previous declaration as 'struct Except_Frame_T'
typedef struct Except_Frame_T *Except_Frame_T;
^~~~~~~~~~~~~~
/home/pearlmillet/miniconda3/include/except.h:17:18: error: field 'prev' has incomplete type 'Except_Frame_T'
Except_Frame_T prev;
^~~~
/home/pearlmillet/miniconda3/include/except.h:16:8: note: definition of 'struct Except_Frame_T' is not complete until the closing brace
struct Except_Frame_T {
^~~~~~~~~~~~~~
make[1]: *** [Makefile:2087:src/essaMEM/sparseSA.lo] error 1
make[1]: leave “/media/pearlmillet/HD10T/03.Comparative_genome/04.Collinearity_WGD/01.Collinearity/mummer-4.0.0rc1”
make: *** [Makefile:1073:all] error 2

Looking forward to your reply.
Best wishes.

There is a problem with your environment. Somehow some files from miniconda are erroneously included when compiling. If any of these environment variables are set, unset them before compiling: CPATH, C_INCLUDE_PATH, CPLUS_INCLUDE_PATH.