简体   繁体   中英

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

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"

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM