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 <ebassi gmail com>:
On Tue, 23 Jul 2019 at 14:33, Joachim Person <joachim person gmail com> 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.


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