Re: GtkSourceView autogen.sh problem



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/0f3d6aef4ba484f59e4d3a00678c4322295976ec1db35c5929a8c1901099/meson-0.51.1.tar.gz (1.5MB)
    100% |████████████████████████████████| 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/5ed3e8d6a5e2b826d3625bfe32c7205e4c67043817d955cc00
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 <ebassi gmail com>:
On Tue, 23 Jul 2019 at 14:02, Joachim Person via gnome-devtools <gnome-devtools gnome org> 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.

--


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]