Re: GtkSourceView autogen.sh problem

Joachim Person via gnome-devtools <[email protected]> Tue, 23 Jul 2019 15:02:26 +0200
Newsgroups gmane.comp.gnome.devtools
Message-ID <CAJ66g7dWJN5WzrsEsjizjNMqY7cwCoCsi9TPbk0SvkiDVcRrnQ@mail.gmail.com>
--===============7073843255130712369==
Content-Type: multipart/alternative; boundary="000000000000c5947a058e58ce3a"

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

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/gtksou=
rceview
Build dir:
/home/joachim/iipax/scripts_and_programs/mergetool/gtksourceview/git/gtksou=
rceview/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?

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=C3=A5n 22 juli 2019 kl 00:05 skrev Matthew Brush <mbrush@codebrai=
nz.ca
> >:
> >
> >> 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=3DIa00XeHBHseIrwTswIlo&q=3D%22error%3A+p=
ossibly+undefined+macro%3A+PKG_PROG_PKG_CONFIG%22+-windows&oq=3D%22error%3A=
+possibly+undefined+macro%3A+PKG_PROG_PKG_CONFIG%22+-windows&gs_l=3Dpsy-ab.=
3...4521.6614..7194...0.0..0.209.1250.2j6j1......0....1..gws-wiz.......35i3=
02i39.uLXM-7Jm_ZI&ved=3D0ahUKEwih1pG20MbjAhVHxIsKHWxgAg0Q4dUDCAo&uact=3D5
> >> )
> >>> 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
>

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

<div dir=3D"ltr">I took the latest one from=C2=A0<a href=3D"https://downloa=
d.gnome.org/sources/gtksourceview/">https://download.gnome.org/sources/gtks=
ourceview/</a>.=C2=A0<div>Anyway, I downloaded the latest source from=C2=A0=
<a href=3D"https://gitlab.gnome.org/GNOME/gtksourceview">https://gitlab.gno=
me.org/GNOME/gtksourceview</a>=C2=A0and tried to follow the installation in=
structions. But, (1) meson was not specified as a dependency - however, I d=
id &#39;sudo apt install meson&#39; and seemed to get product meson, (2) wh=
en 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>Bui=
ld dir: /home/joachim/iipax/scripts_and_programs/mergetool/gtksourceview/gi=
t/gtksourceview/build<br>Build type: native build<br><br>meson.build:1:0: E=
RROR: Meson version is 0.45.1 but project requires &gt;=3D 0.49.0.<br></div=
><div><br></div><div>But &#39;sudo apt upgrade meson&#39; tells me I alread=
y have the latest meson version:</div><div><br></div><div>&quot;meson is al=
ready the newest version (0.45.1-2ubuntu0.18.04.1).&quot;</div><div><br></d=
iv><div>How can I get the required meson version?</div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Den tis 23 juli 2019=
 kl 02:42 skrev Matthew Brush &lt;<a href=3D"mailto:[email protected]">m=
[email protected]</a>&gt;:<br></div><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">On 2019-07-22 8:08 a.m., Joachim Person wrote:<br>
&gt; Yes:<br>
&gt; $ pkg-config --version<br>
&gt; 0.29.1<br>
&gt; <br>
&gt; Den m=C3=A5n 22 juli 2019 kl 00:05 skrev Matthew Brush &lt;<a href=3D"=
mailto:[email protected]" target=3D"_blank">[email protected]</a>&gt;=
:<br>
&gt; <br>
&gt;&gt; On 2019-07-21 11:43 a.m., Joachim Person via gnome-devtools wrote:=
<br>
&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I am trying to get GtkSourceView (<br>
&gt;&gt;&gt; <a href=3D"https://wiki.gnome.org/Projects/GtkSourceView" rel=
=3D"noreferrer" target=3D"_blank">https://wiki.gnome.org/Projects/GtkSource=
View</a>) working, but I cannot<br>
&gt;&gt; even<br>
&gt;&gt;&gt; get autogen to run:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; $ ./autogen.sh<br>
&gt;&gt;&gt; *** WARNING: I am going to run &#39;configure&#39; with no arg=
uments.<br>
&gt;&gt;&gt; *** If you wish to pass any to it, please specify them on the<=
br>
&gt;&gt;&gt; *** &#39;./autogen.sh&#39; command line.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; autoreconf: Entering directory `.&#39;<br>
&gt;&gt;&gt; autoreconf: running: autopoint --force<br>
&gt;&gt;&gt; autoreconf: running: aclocal --force -I m4<br>
&gt;&gt;&gt; autoreconf: <a href=3D"http://configure.ac" rel=3D"noreferrer"=
 target=3D"_blank">configure.ac</a>: tracing<br>
&gt;&gt;&gt; autoreconf: running: libtoolize --copy --force<br>
&gt;&gt;&gt; libtoolize: putting auxiliary files in &#39;.&#39;.<br>
&gt;&gt;&gt; libtoolize: copying file &#39;./ltmain.sh&#39;<br>
&gt;&gt;&gt; libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, &#39;m4&#3=
9;.<br>
&gt;&gt;&gt; libtoolize: copying file &#39;m4/libtool.m4&#39;<br>
&gt;&gt;&gt; libtoolize: copying file &#39;m4/ltoptions.m4&#39;<br>
&gt;&gt;&gt; libtoolize: copying file &#39;m4/ltsugar.m4&#39;<br>
&gt;&gt;&gt; libtoolize: copying file &#39;m4/ltversion.m4&#39;<br>
&gt;&gt;&gt; libtoolize: copying file &#39;m4/lt~obsolete.m4&#39;<br>
&gt;&gt;&gt; autoreconf: running: /usr/bin/autoconf --force<br>
&gt;&gt;&gt; <a href=3D"http://configure.ac:83" rel=3D"noreferrer" target=
=3D"_blank">configure.ac:83</a>: error: possibly undefined macro: PKG_PROG_=
PKG_CONFIG<br>
&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0If this token and others are =
legitimate, please use<br>
&gt;&gt; m4_pattern_allow.<br>
&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0See the Autoconf documentatio=
n.<br>
&gt;&gt;&gt; <a href=3D"http://configure.ac:84" rel=3D"noreferrer" target=
=3D"_blank">configure.ac:84</a>: error: possibly undefined macro: PKG_INSTA=
LLDIR<br>
&gt;&gt;&gt; <a href=3D"http://configure.ac:221" rel=3D"noreferrer" target=
=3D"_blank">configure.ac:221</a>: error: possibly undefined macro: PKG_CHEC=
K_VAR<br>
&gt;&gt;&gt; autoreconf: /usr/bin/autoconf failed with exit status: 1<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Google give only a few hits (<br>
&gt;&gt;&gt;<br>
&gt;&gt; <a href=3D"https://www.google.com/search?ei=3DIa00XeHBHseIrwTswIlo=
&amp;q=3D%22error%3A+possibly+undefined+macro%3A+PKG_PROG_PKG_CONFIG%22+-wi=
ndows&amp;oq=3D%22error%3A+possibly+undefined+macro%3A+PKG_PROG_PKG_CONFIG%=
22+-windows&amp;gs_l=3Dpsy-ab.3...4521.6614..7194...0.0..0.209.1250.2j6j1..=
....0....1..gws-wiz.......35i302i39.uLXM-7Jm_ZI&amp;ved=3D0ahUKEwih1pG20Mbj=
AhVHxIsKHWxgAg0Q4dUDCAo&amp;uact=3D5" rel=3D"noreferrer" target=3D"_blank">=
https://www.google.com/search?ei=3DIa00XeHBHseIrwTswIlo&amp;q=3D%22error%3A=
+possibly+undefined+macro%3A+PKG_PROG_PKG_CONFIG%22+-windows&amp;oq=3D%22er=
ror%3A+possibly+undefined+macro%3A+PKG_PROG_PKG_CONFIG%22+-windows&amp;gs_l=
=3Dpsy-ab.3...4521.6614..7194...0.0..0.209.1250.2j6j1......0....1..gws-wiz.=
......35i302i39.uLXM-7Jm_ZI&amp;ved=3D0ahUKEwih1pG20MbjAhVHxIsKHWxgAg0Q4dUD=
CAo&amp;uact=3D5</a><br>
&gt;&gt; )<br>
&gt;&gt;&gt; on this and none of them seems to be related to my problem.<br=
>
&gt;&gt;&gt; How can this be solved?<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Do you have pkg-config installed?<br>
&gt;&gt;<br>
<br>
Maybe try a recent version. Looking at Git, the project isn&#39;t even usin=
g <br>
Autotools anymore.<br>
<br>
Regards,<br>
Matthew Brush<br>
<br>
_______________________________________________<br>
gnome-devtools mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">gnome-devtool=
[email protected]</a><br>
<a href=3D"https://mail.gnome.org/mailman/listinfo/gnome-devtools" rel=3D"n=
oreferrer" target=3D"_blank">https://mail.gnome.org/mailman/listinfo/gnome-=
devtools</a><br>
</blockquote></div>

--000000000000c5947a058e58ce3a--

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

--===============7073843255130712369==--