Re: GtkSourceView autogen.sh problem

Emmanuele Bassi via gnome-devtools <[email protected]> Tue, 23 Jul 2019 14:06:10 +0100
Newsgroups gmane.comp.gnome.devtools
Message-ID <CALnHYQFG_mESQTvqofr7Ry7vqRxHVeRFb+nuE1op+t_xLCP83g@mail.gmail.com>
--===============4702700378316908303==
Content-Type: multipart/alternative; boundary="000000000000fb9925058e58db7c"

--000000000000fb9925058e58db7c
Content-Type: text/plain; charset="UTF-8"

On Tue, 23 Jul 2019 at 14:02, Joachim Person via gnome-devtools <
[email protected]> wrote:

> I took the latest one from
> https://download.gnome.org/sources/gtksourceview/.
> Anyway, I downloaded the latest source from
> https://gitlab.gnome.org/GNOME/gtksourceview and tried to follow the
> installation instructions. But, (1) meson was not specified as a dependency
>

Just like Autotools is not specified as a dependency for Autotools projects.

- however, I did 'sudo apt install meson' and seemed to get product meson,
> (2) when I ran 'meson build' I got
>
> $ meson build
> The Meson build system
> Version: 0.45.1
> Source dir:
> /home/joachim/iipax/scripts_and_programs/mergetool/gtksourceview/git/gtksourceview
> Build dir:
> /home/joachim/iipax/scripts_and_programs/mergetool/gtksourceview/git/gtksourceview/build
> Build type: native build
>
> meson.build:1:0: ERROR: Meson version is 0.45.1 but project requires >=
> 0.49.0.
>
> But 'sudo apt upgrade meson' tells me I already have the latest meson
> version:
>
> "meson is already the newest version (0.45.1-2ubuntu0.18.04.1)."
>
> How can I get the required meson version?
>

It's recommended you use pip to install Meson in your $HOME:

```
$ pip3 install --user meson
```

So you can always get the latest stable version.

Ciao,
 Emmanuele.

-- 
https://www.bassi.io
[@] ebassi [@gmail.com]

--000000000000fb9925058e58db7c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Tue, 23 Jul 2019 at 14:02, Joachim Per=
son via gnome-devtools &lt;<a href=3D"mailto:[email protected]">gnom=
[email protected]</a>&gt; wrote:<br></div><div class=3D"gmail_quote"><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef=
t:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">I took the =
latest one from=C2=A0<a href=3D"https://download.gnome.org/sources/gtksourc=
eview/" target=3D"_blank">https://download.gnome.org/sources/gtksourceview/=
</a>.=C2=A0<div>Anyway, I downloaded the latest source from=C2=A0<a href=3D=
"https://gitlab.gnome.org/GNOME/gtksourceview" target=3D"_blank">https://gi=
tlab.gnome.org/GNOME/gtksourceview</a>=C2=A0and tried to follow the install=
ation instructions. But, (1) meson was not specified as a dependency</div><=
/div></blockquote><div><br></div><div>Just like Autotools is not specified =
as a dependency for Autotools projects.</div><div><br></div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div> - however, I did =
&#39;sudo apt install meson&#39; and seemed to get product meson, (2) when =
I ran &#39;meson build&#39; I got</div><div><br></div><div>$ meson build<br=
>The Meson build system<br>Version: 0.45.1<br>Source dir: /home/joachim/iip=
ax/scripts_and_programs/mergetool/gtksourceview/git/gtksourceview<br>Build =
dir: /home/joachim/iipax/scripts_and_programs/mergetool/gtksourceview/git/g=
tksourceview/build<br>Build type: native build<br><br>meson.build:1:0: ERRO=
R: Meson version is 0.45.1 but project requires &gt;=3D 0.49.0.<br></div><d=
iv><br></div><div>But &#39;sudo apt upgrade meson&#39; tells me I already h=
ave the latest meson version:</div><div><br></div><div>&quot;meson is alrea=
dy the newest version (0.45.1-2ubuntu0.18.04.1).&quot;</div><div><br></div>=
<div>How can I get the required meson version?</div></div></blockquote><div=
><br></div><div>It&#39;s recommended you use pip to install Meson in your $=
HOME:</div><div><br></div><div>```</div><div>$ pip3 install --user meson</d=
iv><div>```</div><div><br></div><div>So you can always get the latest stabl=
e version.</div><div><br></div><div>Ciao,</div><div>=C2=A0Emmanuele.<br></d=
iv><br clear=3D"all"></div>-- <br><div dir=3D"ltr" class=3D"gmail_signature=
"><a href=3D"https://www.bassi.io" target=3D"_blank">https://www.bassi.io</=
a><br>[@] ebassi [@<a href=3D"http://gmail.com" target=3D"_blank">gmail.com=
</a>]</div></div>

--000000000000fb9925058e58db7c--

--===============4702700378316908303==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gnome-devtools mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-devtools

--===============4702700378316908303==--