Install dynare on Ubuntu without dynare++

I feel like there should be an easy way to do this, but if I want to install dynare from source on Ubuntu WITHOUT dynare++, how can I do this?

Something like ./configure --disable-dynare++

But I cannot find anything like this in the docs. I can do the configuration without trouble but when I run make I get errors like this:

../../../../dynare-4.4.3/dynare++/parser/cc/atom_assignings.cpp:9:32: error: utils/cc/exception.h: No such file or directory make[3]: *** [libparser_a-atom_assignings.o] Error 1 make[3]: Leaving directory `/app/vendor/dynare-build/dynare++/parser/cc' make[2]: *** [all] Error 2 make[2]: Leaving directory `/app/vendor/dynare-build/dynare++/parser/cc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/app/vendor/dynare-build/dynare++'

Since I do not need dynare++ I would rather avoid this altogether.

EDIT: I notice in the source code this comment: “# MEX must be built after dynare++ (because of kordepert)”

Does this mean that I must install dynare++ to include MEX files with Octave install?

There is no --disable-dynare++ option. To do this, you’ll need to modify the Makefile.am files, then run “autoreconf -si” and then configure as usual.

To create the k order mex file, you need to be able to compile dynare++