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 'sudo apt install meson' and seemed to get product meson, (2) wh= en I ran 'meson build' 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 >=3D 0.49.0.<br></div= ><div><br></div><div>But 'sudo apt upgrade meson' tells me I alread= y have the latest meson version:</div><div><br></div><div>"meson is al= ready the newest version (0.45.1-2ubuntu0.18.04.1)."</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 <<a href=3D"mailto:[email protected]">m= [email protected]</a>>:<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> > Yes:<br> > $ pkg-config --version<br> > 0.29.1<br> > <br> > Den m=C3=A5n 22 juli 2019 kl 00:05 skrev Matthew Brush <<a href=3D"= mailto:[email protected]" target=3D"_blank">[email protected]</a>>= :<br> > <br> >> On 2019-07-21 11:43 a.m., Joachim Person via gnome-devtools wrote:= <br> >>> Hi,<br> >>><br> >>> I am trying to get GtkSourceView (<br> >>> <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> >> even<br> >>> get autogen to run:<br> >>><br> >>> $ ./autogen.sh<br> >>> *** WARNING: I am going to run 'configure' with no arg= uments.<br> >>> *** If you wish to pass any to it, please specify them on the<= br> >>> *** './autogen.sh' command line.<br> >>><br> >>> autoreconf: Entering directory `.'<br> >>> autoreconf: running: autopoint --force<br> >>> autoreconf: running: aclocal --force -I m4<br> >>> autoreconf: <a href=3D"http://configure.ac" rel=3D"noreferrer"= target=3D"_blank">configure.ac</a>: tracing<br> >>> autoreconf: running: libtoolize --copy --force<br> >>> libtoolize: putting auxiliary files in '.'.<br> >>> libtoolize: copying file './ltmain.sh'<br> >>> libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4= 9;.<br> >>> libtoolize: copying file 'm4/libtool.m4'<br> >>> libtoolize: copying file 'm4/ltoptions.m4'<br> >>> libtoolize: copying file 'm4/ltsugar.m4'<br> >>> libtoolize: copying file 'm4/ltversion.m4'<br> >>> libtoolize: copying file 'm4/lt~obsolete.m4'<br> >>> autoreconf: running: /usr/bin/autoconf --force<br> >>> <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> >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0If this token and others are = legitimate, please use<br> >> m4_pattern_allow.<br> >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0See the Autoconf documentatio= n.<br> >>> <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> >>> <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> >>> autoreconf: /usr/bin/autoconf failed with exit status: 1<br> >>><br> >>> Google give only a few hits (<br> >>><br> >> <a href=3D"https://www.google.com/search?ei=3DIa00XeHBHseIrwTswIlo= &q=3D%22error%3A+possibly+undefined+macro%3A+PKG_PROG_PKG_CONFIG%22+-wi= ndows&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.......35i302i39.uLXM-7Jm_ZI&ved=3D0ahUKEwih1pG20Mbj= AhVHxIsKHWxgAg0Q4dUDCAo&uact=3D5" rel=3D"noreferrer" target=3D"_blank">= https://www.google.com/search?ei=3DIa00XeHBHseIrwTswIlo&q=3D%22error%3A= +possibly+undefined+macro%3A+PKG_PROG_PKG_CONFIG%22+-windows&oq=3D%22er= ror%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.= ......35i302i39.uLXM-7Jm_ZI&ved=3D0ahUKEwih1pG20MbjAhVHxIsKHWxgAg0Q4dUD= CAo&uact=3D5</a><br> >> )<br> >>> on this and none of them seems to be related to my problem.<br= > >>> How can this be solved?<br> >>><br> >><br> >> Do you have pkg-config installed?<br> >><br> <br> Maybe try a recent version. Looking at Git, the project isn'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==--