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
- 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?

Den tis 23 juli 2019 kl 02:42 skrev Matthew Brush <[email protected]>:

> On 2019-07-22 8:08 a.m., Joachim Person wrote:
> > Yes:
> > $ pkg-config --version
> > 0.29.1
> >
> > Den mån 22 juli 2019 kl 00:05 skrev Matthew Brush <[email protected]
> >:
> >
> >> On 2019-07-21 11:43 a.m., Joachim Person via gnome-devtools wrote:
> >>> Hi,
> >>>
> >>> I am trying to get GtkSourceView (
> >>> https://wiki.gnome.org/Projects/GtkSourceView) working, but I cannot
> >> even
> >>> get autogen to run:
> >>>
> >>> $ ./autogen.sh
> >>> *** WARNING: I am going to run 'configure' with no arguments.
> >>> *** If you wish to pass any to it, please specify them on the
> >>> *** './autogen.sh' command line.
> >>>
> >>> autoreconf: Entering directory `.'
> >>> autoreconf: running: autopoint --force
> >>> autoreconf: running: aclocal --force -I m4
> >>> autoreconf: configure.ac: tracing
> >>> autoreconf: running: libtoolize --copy --force
> >>> libtoolize: putting auxiliary files in '.'.
> >>> libtoolize: copying file './ltmain.sh'
> >>> libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
> >>> libtoolize: copying file 'm4/libtool.m4'
> >>> libtoolize: copying file 'm4/ltoptions.m4'
> >>> libtoolize: copying file 'm4/ltsugar.m4'
> >>> libtoolize: copying file 'm4/ltversion.m4'
> >>> libtoolize: copying file 'm4/lt~obsolete.m4'
> >>> autoreconf: running: /usr/bin/autoconf --force
> >>> configure.ac:83: error: possibly undefined macro: PKG_PROG_PKG_CONFIG
> >>>         If this token and others are legitimate, please use
> >> m4_pattern_allow.
> >>>         See the Autoconf documentation.
> >>> configure.ac:84: error: possibly undefined macro: PKG_INSTALLDIR
> >>> configure.ac:221: error: possibly undefined macro: PKG_CHECK_VAR
> >>> autoreconf: /usr/bin/autoconf failed with exit status: 1
> >>>
> >>> Google give only a few hits (
> >>>
> >>
> https://www.google.com/search?ei=Ia00XeHBHseIrwTswIlo&q=%22error%3A+possibly+undefined+macro%3A+PKG_PROG_PKG_CONFIG%22+-windows&oq=%22error%3A+possibly+undefined+macro%3A+PKG_PROG_PKG_CONFIG%22+-windows&gs_l=psy-ab.3...4521.6614..7194...0.0..0.209.1250.2j6j1......0....1..gws-wiz.......35i302i39.uLXM-7Jm_ZI&ved=0ahUKEwih1pG20MbjAhVHxIsKHWxgAg0Q4dUDCAo&uact=5
> >> )
> >>> on this and none of them seems to be related to my problem.
> >>> How can this be solved?
> >>>
> >>
> >> Do you have pkg-config installed?
> >>
>
> Maybe try a recent version. Looking at Git, the project isn't even using
> Autotools anymore.
>
> Regards,
> Matthew Brush
>
> _______________________________________________
> gnome-devtools mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gnome-devtools
>
_______________________________________________
gnome-devtools mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-devtools

Reply via email to