Failing to build on Fedora 39

Hi all,

I am trying to build Dynare 6.0 from scratch on Fedora 39. I get an error at the mesa compile -C build-matlab step.

I am following the build instructions here: Dynare / dynare · GitLab

I am able to run meson setup successfully but during compilation there is an error at k_order_sylv_test which seems like some sort of test. I am attaching the outputs of the setup and compile commands as txt files.

I am still able to run dynare programs from matlab successfully - seemingly getting sensible looking policy functions, etc. But I’m not sure if everything is working as intended with this build error.

Any help would be appreciated

mesonsetup.txt (1.6 KB)
mesoncompile_error.txt (226.5 KB)

I solved this by reinstalling matlab. Crucially I didn’t move any of the GCC related files in the matlab directory as suggested here Fedora Workstation: Things to do after installation (Apps, Settings, and Tweaks) | mutschler.dev (which is linked in the documentation here Dynare / dynare · GitLab)

@wmutschl You may want to have a look.