Re: GtkSourceView autogen.sh problem
Ok thanks! That obstacle is now out of the way. There is a program called fribidi that is required (another question is regarding its use; it seems to relate more to language support when I read about it - languages that I am not interested in - but I guess I cannot be without it?). I downloaded the source from https://github.com/fribidi/fribidi and built with meson, but not executable seem to be created and meson build in GtkSourceView can still not find fribidi: $ meson build -Ddocs=false The Meson build system Version: 0.51.1 Source dir: /home/joachim/gtksourceview/git/fribidi Build dir: /home/joachim/gtksourceview/git/fribidi/build Build type: native build Project name: fribidi Project version: 1.0.5 C compiler for the build machine: cc (gcc 7.4.0 "cc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0") C compiler for the host machine: cc (gcc 7.4.0 "cc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0") Build machine cpu family: x86_64 Build machine cpu: x86_64 Compiler for C supports arguments -ansi: YES Compiler for C supports arguments -fvisibility=hidden: YES Checking for function "memmove" : YES Checking for function "memset" : YES Checking for function "strdup" : YES Has header "stdlib.h" : YES Has header "string.h" : YES Has header "memory.h" : YES Has header "strings.h" : YES Has header "sys/times.h" : YES Has header "strings.h" : YES (cached) Configuring config.h using configuration Has header "stdlib.h" : YES (cached) Has header "string.h" : YES (cached) Has header "strings.h" : YES (cached) Checking for size of "int" : 4 Configuring fribidi-config.h using configuration Program test-runner.py found: YES (/home/joachim/gtksourceview/git/fribidi/test/test-runner.py) Build targets in project: 21 Found ninja-1.8.2 at /usr/bin/ninja $ ll ~/gtksourceview/git/fribidi/build totalt 108 drwxr-xr-x 10 joachim joachim 4096 jul 23 15:45 ./ drwxr-xr-x 11 joachim joachim 4096 jul 23 15:43 ../ drwxr-xr-x 2 joachim joachim 4096 jul 23 15:43 bin/ -rw-r--r-- 1 joachim joachim 36288 jul 23 15:45 build.ninja -rw-r--r-- 1 joachim joachim 27875 jul 23 15:45 compile_commands.json -rw-r--r-- 1 joachim joachim 395 jul 23 15:43 config.h drwxr-xr-x 2 joachim joachim 4096 jul 23 15:43 doc/ drwxr-xr-x 2 joachim joachim 4096 jul 23 15:43 gen.tab/ drwxr-xr-x 2 joachim joachim 4096 jul 23 15:45 lib/ drwxr-xr-x 2 joachim joachim 4096 jul 23 15:45 meson-info/ drwxr-xr-x 2 joachim joachim 4096 jul 23 15:43 meson-logs/ drwxr-xr-x 2 joachim joachim 4096 jul 23 15:45 meson-private/ drwxr-xr-x 3 joachim joachim 4096 jul 23 15:43 test/ $ ll ~/gtksourceview/git/fribidi/build/bin/ totalt 8 drwxr-xr-x 2 joachim joachim 4096 jul 23 15:43 ./ drwxr-xr-x 10 joachim joachim 4096 jul 23 15:45 ../ $ meson build The Meson build system Version: 0.51.1 Source dir: /home/joachim/gtksourceview/git/gtksourceview Build dir: /home/joachim/gtksourceview/git/gtksourceview/build Build type: native build Project name: gtksourceview Project version: 4.3.2 C compiler for the build machine: cc (gcc 7.4.0 "cc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0") C compiler for the host machine: cc (gcc 7.4.0 "cc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0") Build machine cpu family: x86_64 Build machine cpu: x86_64 Library m found: YES Found pkg-config: /usr/bin/pkg-config (0.29.1) Run-time dependency glib-2.0 found: YES 2.56.4 Run-time dependency gobject-2.0 found: YES 2.56.4 Run-time dependency gio-2.0 found: YES 2.56.4 Run-time dependency gtk+-3.0 found: YES 3.22.30 Run-time dependency libxml-2.0 found: YES 2.9.4 Found CMake: /usr/bin/cmake (3.10.2) Run-time dependency fribidi found: NO (tried pkgconfig and cmake) meson.build:81:0: ERROR: Dependency "fribidi" not found, tried pkgconfig and cmake A full log can be found at /home/joachim/gtksourceview/git/gtksourceview/build/meson-logs/meson-log.txt Den tis 23 juli 2019 kl 15:37 skrev Emmanuele Bassi : > On Tue, 23 Jul 2019 at 14:33, Joachim Person > wrote: > >> 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 ? >> >> > Do
Re: GtkSourceView autogen.sh problem
On Tue, 23 Jul 2019 at 14:33, Joachim Person wrote: > 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 ? > > Do **NOT** create symlinks under /usr/bin. Instead, add $HOME/.local/bin to your $PATH. Ciao, Emmanuele. ___ gnome-devtools mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnome-devtools
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 : > 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 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. > > -- > https://www.bassi.io > [@] ebassi [@gmail.com] > ___ gnome-devtools mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnome-devtools
Re: GtkSourceView autogen.sh problem
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 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. -- https://www.bassi.io [@] ebassi [@gmail.com] ___ gnome-devtools mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnome-devtools
Re: GtkSourceView autogen.sh problem
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 : > 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 >: > > > >> 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..01..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
Re: GtkSourceView autogen.sh problem
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 : 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..01..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
Re: GtkSourceView autogen.sh problem
Yes: $ pkg-config --version 0.29.1 Den mån 22 juli 2019 kl 00:05 skrev Matthew Brush : > 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..01..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? > > 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
Re: GtkSourceView autogen.sh problem
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..01..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? Regards, Matthew Brush ___ gnome-devtools mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnome-devtools
