Re: GtkSourceView autogen.sh problem
Joachim Person via gnome-devtools <[email protected]> Tue, 23 Jul 2019 15:56:54 +0200
| Newsgroups | gmane.comp.gnome.devtools |
|---|---|
| Message-ID | <CAJ66g7dbQ1QTWoks3=PN6c-8MC179pjyfnqs+aWriBgho14czw@mail.gmail.com> |
--===============8308461925470260436== Content-Type: multipart/alternative; boundary="000000000000564cb9058e5991e7" --000000000000564cb9058e5991e7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3Dfalse 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=3Dhidden: 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.tx= t Den tis 23 juli 2019 kl 15:37 skrev Emmanuele Bassi <[email protected]>: > On Tue, 23 Jul 2019 at 14:33, Joachim Person <[email protected]> > wrote: > >> I am not familiar with pip; after having run the command you suggested t= o >> install meson: >> >> $ pip3 install --user meson >> Collecting meson >> Downloading >> https://files.pythonhosted.org/packages/18/ba/0f3d6aef4ba484f59e4d3a0067= 8c4322295976ec1db35c5929a8c1901099/meson-0.51.1.tar.gz >> (1.5MB) >> 100% |=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88| 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/5ed3e8d6a5e2b826d3625bfe32c7205= e4c67043817d955cc00 >> 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. > --000000000000564cb9058e5991e7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">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 - la= nguages that I am not interested in - but I guess I cannot be without it?).= I downloaded the source from=C2=A0<a href=3D"https://github.com/fribidi/fr= ibidi">https://github.com/fribidi/fribidi</a>=C2=A0and built with meson, bu= t not executable seem to be created and meson build in GtkSourceView can st= ill not find fribidi:<div><br></div>$ meson build -Ddocs=3Dfalse<br>The Mes= on build system<br>Version: 0.51.1<br>Source dir: /home/joachim/gtksourcevi= ew/git/fribidi<br>Build dir: /home/joachim/gtksourceview/git/fribidi/build<= br>Build type: native build<br>Project name: fribidi<br>Project version: 1.= 0.5<br>C compiler for the build machine: cc (gcc 7.4.0 "cc (Ubuntu 7.4= .0-1ubuntu1~18.04.1) 7.4.0")<br>C compiler for the host machine: cc (g= cc 7.4.0 "cc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0")<br>Build mac= hine cpu family: x86_64<br>Build machine cpu: x86_64<br>Compiler for C supp= orts arguments -ansi: YES=C2=A0<br>Compiler for C supports arguments -fvisi= bility=3Dhidden: YES=C2=A0<br>Checking for function "memmove" : Y= ES=C2=A0<br>Checking for function "memset" : YES=C2=A0<br>Checkin= g for function "strdup" : YES=C2=A0<br>Has header "stdlib.h&= quot; : YES=C2=A0<br>Has header "string.h" : YES=C2=A0<br>Has hea= der "memory.h" : YES=C2=A0<br>Has header "strings.h" : = YES=C2=A0<br>Has header "sys/times.h" : YES=C2=A0<br>Has header &= quot;strings.h" : YES (cached)<br>Configuring config.h using configura= tion<br>Has header "stdlib.h" : YES (cached)<br>Has header "= string.h" : YES (cached)<br>Has header "strings.h" : YES (ca= ched)<br>Checking for size of "int" : 4<br>Configuring fribidi-co= nfig.h using configuration<br>Program test-runner.py found: YES (/home/joac= him/gtksourceview/git/fribidi/test/test-runner.py)<br>Build targets in proj= ect: 21<br><div>Found ninja-1.8.2 at /usr/bin/ninja</div><div><br></div><di= v>$ ll ~/gtksourceview/git/fribidi/build<br>totalt 108<br>drwxr-xr-x 10 joa= chim joachim =C2=A04096 jul 23 15:45 ./<br>drwxr-xr-x 11 joachim joachim = =C2=A04096 jul 23 15:43 ../<br>drwxr-xr-x =C2=A02 joachim joachim =C2=A0409= 6 jul 23 15:43 bin/<br>-rw-r--r-- =C2=A01 joachim joachim 36288 jul 23 15:4= 5 build.ninja<br>-rw-r--r-- =C2=A01 joachim joachim 27875 jul 23 15:45 comp= ile_commands.json<br>-rw-r--r-- =C2=A01 joachim joachim =C2=A0 395 jul 23 1= 5:43 config.h<br>drwxr-xr-x =C2=A02 joachim joachim =C2=A04096 jul 23 15:43= doc/<br>drwxr-xr-x =C2=A02 joachim joachim =C2=A04096 jul 23 15:43 gen.tab= /<br>drwxr-xr-x =C2=A02 joachim joachim =C2=A04096 jul 23 15:45 lib/<br>drw= xr-xr-x =C2=A02 joachim joachim =C2=A04096 jul 23 15:45 meson-info/<br>drwx= r-xr-x =C2=A02 joachim joachim =C2=A04096 jul 23 15:43 meson-logs/<br>drwxr= -xr-x =C2=A02 joachim joachim =C2=A04096 jul 23 15:45 meson-private/<br>drw= xr-xr-x =C2=A03 joachim joachim =C2=A04096 jul 23 15:43 test/<br><br></div>= <div>$ ll ~/gtksourceview/git/fribidi/build/bin/<br>totalt 8<br>drwxr-xr-x = =C2=A02 joachim joachim 4096 jul 23 15:43 ./<br>drwxr-xr-x 10 joachim joach= im 4096 jul 23 15:45 ../<br><div><br></div><div>$ meson build<br>The Meson = build system<br>Version: 0.51.1<br>Source dir: /home/joachim/gtksourceview/= git/gtksourceview<br>Build dir: /home/joachim/gtksourceview/git/gtksourcevi= ew/build<br>Build type: native build<br>Project name: gtksourceview<br>Proj= ect version: 4.3.2<br>C compiler for the build machine: cc (gcc 7.4.0 "= ;cc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0")<br>C compiler for the host= machine: cc (gcc 7.4.0 "cc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0"= ;)<br>Build machine cpu family: x86_64<br>Build machine cpu: x86_64<br>Libr= ary m found: YES<br>Found pkg-config: /usr/bin/pkg-config (0.29.1)<br>Run-t= ime dependency glib-2.0 found: YES 2.56.4<br>Run-time dependency gobject-2.= 0 found: YES 2.56.4<br>Run-time dependency gio-2.0 found: YES 2.56.4<br>Run= -time dependency gtk+-3.0 found: YES 3.22.30<br>Run-time dependency libxml-= 2.0 found: YES 2.9.4<br>Found CMake: /usr/bin/cmake (3.10.2)<br>Run-time de= pendency fribidi found: NO (tried pkgconfig and cmake)<br><br>meson.build:8= 1:0: ERROR: Dependency "fribidi" not found, tried pkgconfig and c= make<br><br>A full log can be found at /home/joachim/gtksourceview/git/gtks= ourceview/build/meson-logs/meson-log.txt<br></div><div><br></div></div></di= v><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Den = tis 23 juli 2019 kl 15:37 skrev Emmanuele Bassi <<a href=3D"mailto:ebass= [email protected]">[email protected]</a>>:<br></div><blockquote class=3D"gmail_= quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,= 204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr">On Tue, 23 Jul 201= 9 at 14:33, Joachim Person <<a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a>> wrote:<br></div><div cla= ss=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p= x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div d= ir=3D"ltr">I am not familiar with pip; after having run the command you sug= gested to install meson:<div><br></div>$ pip3 install --user meson<br>Colle= cting meson<br>=C2=A0 Downloading <a href=3D"https://files.pythonhosted.org= /packages/18/ba/0f3d6aef4ba484f59e4d3a00678c4322295976ec1db35c5929a8c190109= 9/meson-0.51.1.tar.gz" target=3D"_blank">https://files.pythonhosted.org/pac= kages/18/ba/0f3d6aef4ba484f59e4d3a00678c4322295976ec1db35c5929a8c1901099/me= son-0.51.1.tar.gz</a> (1.5MB)<br>=C2=A0 =C2=A0 100% |=E2=96=88=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88| 1.5MB 674kB/s <br>Building whee= ls for collected packages: meson<br>=C2=A0 Running setup.py bdist_wheel for= meson ... done<br>=C2=A0 Stored in directory: /home/joachim/.cache/pip/whe= els/56/ce/4f/5ed3e8d6a5e2b826d3625bfe32c7205e4c67043817d955cc00<br>Successf= ully built meson<br>Installing collected packages: meson<br>Successfully in= stalled meson-0.51.1<br><div><br></div><div><br></div><div>=C2=A0it does no= t seem like my system finds meson-0.51.1 anyway, but still finds the old ve= rsion. 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 symlin= k that I create under /usr/bin ?</div><div><br></div></div></blockquote><di= v><br></div><div>Do **NOT** create symlinks under /usr/bin.</div><div><br><= /div><div>Instead, add $HOME/.local/bin to your $PATH.</div><div><br></div>= <div>Ciao,</div><div>=C2=A0Emmanuele.<br></div></div></div> </blockquote></div> --000000000000564cb9058e5991e7-- --===============8308461925470260436== 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 --===============8308461925470260436==--