jhbuild build getting the wrong meson version that is not installed on my system

474 Views Asked by At

When I run: jhbuild build gtk+-3

I get:

Meson encountered an error in file meson.build, line 1, column 0:

Meson version is 0.44.1 but project requires >= 0.45.0.

But when I run: ~/.local/bin/meson --version I get:

0.46.1

So my version is height enough.

So what is going on? Where is it getting this 0.44.1?

I did try to do find / -name meson the only I found was the 0.46.1 version.

I also tried with: alias meson="~/.local/bin/meson"

1

There are 1 best solutions below

4
On

I suspect that meson binary is not the one used. Try jhbuild shell, then which meson to check which meson is used. meson --version will probably tell you it's 0.44.1.