I believe the ones in /usr/include/msolve are coming from nobase_include_HEADERS in include/Makefile.am and the ones in /usr/include/msolve/msolve are coming from libmsolve_la_HEADERS in src/msolve/Makefile.am.
Also, the headers in /usr/include/msolve don't work, since they're looking for the neogb headers in the wrong place. Suppose I try compiling this simple program:
#include <msolve/msolve.h>
int main(void)
{
return 0;
}
Then I get the following:
In file included from /usr/include/msolve/msolve.h:24,
from foo.c:1:
/usr/include/msolve/msolve-data.h:25:10: fatal error: ../neogb/data.h: No such file or directory
25 | #include "../neogb/data.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
After installing msolve 0.6.3, I noticed that
msolve.h
andmsolve-data.h
were installed in two distinct locations:I believe the ones in
/usr/include/msolve
are coming fromnobase_include_HEADERS
in include/Makefile.am and the ones in/usr/include/msolve/msolve
are coming fromlibmsolve_la_HEADERS
in src/msolve/Makefile.am.Also, the headers in
/usr/include/msolve
don't work, since they're looking for the neogb headers in the wrong place. Suppose I try compiling this simple program:Then I get the following: