Re: GtkSourceView autogen.sh problem

Joachim Person via gnome-devtools <[email protected]> Tue, 23 Jul 2019 15:32:48 +0200
Newsgroups gmane.comp.gnome.devtools
Message-ID <CAJ66g7dATUr9WM892E4kujmtSnkbfDuycpKk2_ih=a8-TUAtdw@mail.gmail.com>
--===============0575281626103937539==
Content-Type: multipart/alternative; boundary="0000000000002b3f3f058e593bf7"

--0000000000002b3f3f058e593bf7
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I am not familiar with pip; after having run the command you suggested to
install meson:

$ pip3 install --user meson
Collecting meson
  Downloading
https://files.pythonhosted.org/packages/18/ba/0f3d6aef4ba484f59e4d3a00678c4=
322295976ec1db35c5929a8c1901099/meson-0.51.1.tar.gz
(1.5MB)
    100% |=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=
=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=
=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=
=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=
| 1.5MB 674kB/s
Building wheels for collected packages: meson
  Running setup.py bdist_wheel for meson ... done
  Stored in directory:
/home/joachim/.cache/pip/wheels/56/ce/4f/5ed3e8d6a5e2b826d3625bfe32c7205e4c=
67043817d955cc00
Successfully built meson
Installing collected packages: meson
Successfully installed meson-0.51.1


 it does not seem like my system finds meson-0.51.1 anyway, but still finds
the old version. What do I need to do to have the newer version of pip run?
My guess is that the executable meson-0.51.1 is located at
~/.local/bin/meson - but do I need to to anything more than to point out
that executable in a symlink that I create under /usr/bin ?




Den tis 23 juli 2019 kl 15:06 skrev Emmanuele Bassi <[email protected]>:

> 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 depende=
ncy
>>
>
> 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/gtk=
sourceview
>> Build dir:
>> /home/joachim/iipax/scripts_and_programs/mergetool/gtksourceview/git/gtk=
sourceview/build
>> Build type: native build
>>
>> meson.build:1:0: ERROR: Meson version is 0.45.1 but project requires >=
=3D
>> 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]
>

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

<div dir=3D"ltr">I am not familiar with pip; after having run the command y=
ou suggested to install meson:<div><br></div>$ pip3 install --user meson<br=
>Collecting meson<br>=C2=A0 Downloading <a href=3D"https://files.pythonhost=
ed.org/packages/18/ba/0f3d6aef4ba484f59e4d3a00678c4322295976ec1db35c5929a8c=
1901099/meson-0.51.1.tar.gz">https://files.pythonhosted.org/packages/18/ba/=
0f3d6aef4ba484f59e4d3a00678c4322295976ec1db35c5929a8c1901099/meson-0.51.1.t=
ar.gz</a> (1.5MB)<br>=C2=A0 =C2=A0 100% |=E2=96=88=E2=96=88=E2=96=88=E2=96=
=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=
=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=
=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=
=88=E2=96=88=E2=96=88=E2=96=88| 1.5MB 674kB/s <br>Building wheels for colle=
cted packages: meson<br>=C2=A0 Running setup.py bdist_wheel for meson ... d=
one<br>=C2=A0 Stored in directory: /home/joachim/.cache/pip/wheels/56/ce/4f=
/5ed3e8d6a5e2b826d3625bfe32c7205e4c67043817d955cc00<br>Successfully built m=
eson<br>Installing collected packages: meson<br>Successfully installed meso=
n-0.51.1<br><div><br></div><div><br></div><div>=C2=A0it does not seem like =
my system finds meson-0.51.1 anyway, but still finds the old version. What =
do I need to do to have the newer version of pip run? My guess is that the =
executable meson-0.51.1 is located at ~/.local/bin/meson - but do I need to=
 to anything more than to point out that executable in a symlink that I cre=
ate under /usr/bin ?</div><div><br></div><div><br></div><div><br></div></di=
v><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Den =
tis 23 juli 2019 kl 15:06 skrev Emmanuele Bassi &lt;<a href=3D"mailto:ebass=
[email protected]">[email protected]</a>&gt;:<br></div><blockquote class=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 dir=3D"ltr">On Tue, 23 Jul 201=
9 at 14:02, Joachim Person via gnome-devtools &lt;<a href=3D"mailto:gnome-d=
[email protected]" target=3D"_blank">[email protected]</a>&gt; wrote=
:<br></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi=
ng-left:1ex"><div dir=3D"ltr">I took the latest one from=C2=A0<a href=3D"ht=
tps://download.gnome.org/sources/gtksourceview/" target=3D"_blank">https://=
download.gnome.org/sources/gtksourceview/</a>.=C2=A0<div>Anyway, I download=
ed the latest source from=C2=A0<a href=3D"https://gitlab.gnome.org/GNOME/gt=
ksourceview" target=3D"_blank">https://gitlab.gnome.org/GNOME/gtksourceview=
</a>=C2=A0and tried to follow the installation 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 proj=
ects.</div><div><br></div><blockquote class=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; a=
nd 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/iipax/scripts_and_programs/mergetool/=
gtksourceview/git/gtksourceview<br>Build dir: /home/joachim/iipax/scripts_a=
nd_programs/mergetool/gtksourceview/git/gtksourceview/build<br>Build type: =
native build<br><br>meson.build:1:0: ERROR: Meson version is 0.45.1 but pro=
ject requires &gt;=3D 0.49.0.<br></div><div><br></div><div>But &#39;sudo ap=
t upgrade meson&#39; tells me I already have the latest meson version:</div=
><div><br></div><div>&quot;meson is already the newest version (0.45.1-2ubu=
ntu0.18.04.1).&quot;</div><div><br></div><div>How can I get the required me=
son version?</div></div></blockquote><div><br></div><div>It&#39;s recommend=
ed you use pip to install Meson in your $HOME:</div><div><br></div><div>```=
</div><div>$ pip3 install --user meson</div><div>```</div><div><br></div><d=
iv>So you can always get the latest stable version.</div><div><br></div><di=
v>Ciao,</div><div>=C2=A0Emmanuele.<br></div><br clear=3D"all"></div>-- <br>=
<div dir=3D"ltr" class=3D"gmail-m_2538009325333145459gmail_signature"><a hr=
ef=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>
</blockquote></div>

--0000000000002b3f3f058e593bf7--

--===============0575281626103937539==
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

--===============0575281626103937539==--