14 July 2019

woff2

System: Slackware Linux (version 14.2)
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz

Installation of woff2-1.0.2.tar.gz.

See the previous Posts on python3 and meson, respectively regarding Python 3.7.2
and ninja 1.9.0 installation.

bash-4.3$ su -
Password:
root@darkstar:~# cd /tmp
root@darkstar:/tmp# sbopkg -i brotli

...

brotli:
  Checking GPG for brotli.tar.gz ... OK
  Processing brotli 1.0.7-1
  Using original .info file
  Using original SlackBuild file
  No build options selected.

...

Do you wish to proceed based on the search results above? Packages not
found will be skipped during the process.

(P)roceed or (Q)uit?: P

...

Done upgrading/installing package.

...

root@darkstar:/tmp# sbopkg -i woff2

...

woff2:
  Checking GPG for woff2.tar.gz ... OK
  Processing woff2 1.0.2-1
  Using original .info file
  Using original SlackBuild file
  No build options selected.

...

Do you wish to proceed based on the search results above? Packages not
found will be skipped during the process.

(P)roceed or (Q)uit?: P

...

Done upgrading/installing package.

...

root@darkstar:/tmp# exit
logout
bash-4.3$

Generate a .woff2 file.

bash-4.3$ cd /tmp
bash-4.3$ git clone https://github.com/nurmi-labs/bitstream.git
Cloning into 'bitstream'...
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 7 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (7/7), done.
bash-4.3$ cp bitstream/VeraMono.ttf .
bash-4.3$ woff2_compress VeraMono.ttf
Processing VeraMono.ttf => VeraMono.woff2
Compressed 44968 to 21928.
bash-4.3$ rm -fr bitstream
bash-4.3$ rm VeraMono.ttf
bash-4.3$ git clone https://github.com/nurmi-labs/nurmi-labs.github.io.git
Cloning into 'nurmi-labs.github.io'...
remote: Enumerating objects: 44, done.
remote: Counting objects: 100% (44/44), done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 250 (delta 17), reused 0 (delta 0), pack-reused 206
Receiving objects: 100% (250/250), 169.87 KiB | 674.00 KiB/s, done.
Resolving deltas: 100% (104/104), done.
bash-4.3$ mv VeraMono.woff2 nurmi-labs.github.io/fonts
bash-4.3$ cd nurmi-labs.github.io
bash-4.3$ ed css/fonts.css << END
> 4i
>          url("../fonts/VeraMono.woff2"),
> .
> w
> q
> END
227
268
bash-4.3$ git add .
bash-4.3$ git commit -m "Add .woff2 file"
[master a7d16fc] Add .woff2 file
 2 files changed, 1 insertion(+)
 create mode 100644 fonts/VeraMono.woff2
bash-4.3$ git push origin master
Username for 'https://github.com': username
Password for 'https://username@github.com':
Counting objects: 6, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 21.97 KiB | 1.83 MiB/s, done.
Total 6 (delta 3), reused 0 (delta 0)
remote: Resolving deltas: 100% (3/3), completed with 3 local objects.
To https://github.com/nurmi-labs/nurmi-labs.github.io.git
   6bb2e7d..a7d16fc  master -> master
bash-4.3$

The file size of the .woff2 is 6K smaller than the .woff generated by J. Kew's code.

bash-4.3$ ls -lh fonts
total 156K
-rw-r--r-- 1 eric eric 49K Jul 14 06:22 VeraMono.eot
-rw-r--r-- 1 eric eric 49K Jul 14 06:22 VeraMono.ttf
-rw-r--r-- 1 eric eric 28K Jul 14 06:22 VeraMono.woff
-rw-r--r-- 1 eric eric 22K Jul 14 06:06 VeraMono.woff2
bash-4.3$ cd ..
bash-4.2$ rm -fr nurmi-labs.github.io
bash-4.3$ exit

15 June 2019

GitHub

System: Slackware Linux (version 14.2)
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz

Looks like 6 is a google analytics cookie.

bash-4.3$ date
Sat Jun 15 22:17:37 CEST 2019
bash-4.3$ firefox -v
Mozilla Firefox 60.6.1
bash-4.3$ rm -r .mozilla
bash-4.3$ firefox https://github.com/ &
[1] 2300
bash-4.3$ alloc factor 0.900000 0.900000
alloc factor 0.900000 0.900000
alloc factor 0.900000 0.900000
alloc factor 0.900000 0.900000
alloc factor 0.900000 0.900000
alloc factor 0.900000 0.900000
alloc factor 0.900000 0.900000
alloc factor 0.900000 0.900000

bash-4.3$ ls .mozilla/firefox
6buu9lcq.default  profiles.ini
bash-4.3$ cp .mozilla/firefox/6buu9lcq.default/cookies.sqlite /tmp
bash-4.3$ sqlite3 /tmp/cookies.sqlite
SQLite version 3.13.0 2016-05-18 10:57:30
Enter ".help" for usage hints.
sqlite> .header on
sqlite> .mode csv
sqlite> .output cookies.csv
sqlite> SELECT * FROM moz_cookies;
sqlite> .quit
bash-4.3$ file cookies.csv
cookies.csv: ASCII text, with CRLF line terminators
bash-4.3$ kill 2300
bash-4.3$ rm /tmp/cookies.sqlite
bash-4.3$ cat cookies.csv
id,baseDomain,originAttributes,name,value,host,path,expiry,lastAccessed,creationTime,isSecure,isHttpOnly,inBrowserElement,sameSite
1,github.com,"",has_recent_activity,1,github.com,/,1560634143,1560630545751402,1560630545751402,0,0,0,0
2,github.com,"",logged_in,no,.github.com,/,2191782543,1560630545752720,1560630545752720,1,1,0,0
3,github.com,"",_ga,GA1.2.2033439334.1560630572,.github.com,/,1623702572,1560630572658947,1560630572658947,0,0,0,0
4,github.com,"",_gat,1,.github.com,/,1560631172,1560630573263985,1560630573263985,0,0,0,0
5,github.com,"",_octo,GH1.1.976119320.1560630574,.github.com,/,1623702574,1560630574632866,1560630574632866,0,0,0,0
6,mozilla.org,"",_ga,GA1.2.1454749891.1560630575,.mozilla.org,/,1623702575,1560630575364239,1560630575364239,0,0,0,0
bash-4.3$ rm cookies.csv
bash-4.3$ exit

Updated: 21-06-2019

bash-4.3$ rm -r .mozilla
bash-4.3$

Open firefox from KDE's taskbar icon.

After the 2 default tabs have finished loading exit the browser.

bash-4.3$ cd ~/.mozilla/firefox/*.default
bash-4.3$ sqlite3 cookies.sqlite
SQLite version 3.13.0 2016-05-18 10:57:30
Enter ".help" for usage hints.
sqlite> DELETE FROM moz_cookies WHERE baseDomain = 'mozilla.org';
sqlite> .quit
bash-4.3$ date +%s%3N
1561094933309
bash-4.3$ sqlite3 permissions.sqlite
SQLite version 3.13.0 2016-05-18 10:57:30
Enter ".help" for usage hints.
sqlite> INSERT INTO "moz_perms" VALUES(1,'http://mozilla.org','cookie',2,0,0,1561094933309);
sqlite> .quit
bash-4.3$ exit

27 May 2019

JDK

System: Slackware Linux (version 14.2)
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz

I noticed that last month the Oracle Java license has been changed.

I presume to use Oracle JDK as a "boot JDK" for OpenJDK would not be covered under the "Development Use" definition.

[  ]

11 May 2019

TeX

System: Slackware Linux (version 14.2)
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz
Deps: texlive-20180414-source.tar.xz,
texlive-base-2018.180822.tar.xz

http://slackbuilds.org/repository/14.2/office/texlive/
texlive-20180414-source.tar.xz
texlive-base-2018.180822.tar.xz
texlive.tar.gz

Boot into console mode.

Delete the tetex and tetex-doc packages.

TeXLive takes about two hours to compile on this hardware.

root@darkstar:~# removepkg tetex-3.0-i486-10.txz

...

root@darkstar:~# removepkg tetex-doc-3.0-i486-10.txz

...

root@darkstar:~# cd /tmp/texlive
root@darkstar:/tmp/texlive# ./texlive.SlackBuild

...

root@darkstar:/tmp/texlive# cd ..
root@darkstar:/tmp/# installpkg texlive-2018.180822-i586-1_SBo.tgz

...

root@darkstar:/tmp#



If one is compiling R-3.6.0, this being a fresh installation.

https://ctan.org/pkg/inconsolata
1.114
inconsolata.tds.zip

bash-4.3# sed -i 's#LOCAL = \$TEXMFROOT#LOCAL = /usr/local/share#' \
> /usr/share/texmf-dist/web2c/texmf.cnf
bash-4.3# kpsewhich -expand-var '$TEXMFLOCAL'
/usr/local/share/texmf-local
bash-4.3# mkdir -p /usr/local/share/texmf-local/web2c
bash-4.3# touch /usr/local/share/texmf-local/web2c/updmap.cfg
bash-4.3# ls /usr/share/texmf-local
ls-R
bash-4.3# cat /usr/share/texmf-local/ls-R > /usr/local/share/texmf-local/ls-R
bash-4.3# cd /tmp
bash-4.3# unzip inconsolata.tds.zip -d /usr/local/share/texmf-local

...

bash-4.3# ls /usr/local/share/texmf-local/fonts/map/dvips/inconsolata
zi4.map
bash-4.3# echo Map zi4.map >> /usr/local/share/texmf-local/web2c/updmap.cfg
bash-4.3# mktexlsr
mktexlsr: Updating /usr/local/share/texmf-local/ls-R...
mktexlsr: Updating /usr/share/texmf-config/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /usr/share/texmf-var/ls-R...
mktexlsr: Done.
bash-4.3# updmap-sys
updmap will read the following updmap.cfg files (in precedence order):
  /usr/local/share/texmf-local/web2c/updmap.cfg
  /usr/share/texmf-config/web2c/updmap.cfg
  /usr/share/texmf-dist/web2c/updmap.cfg
updmap may write changes to the following updmap.cfg file:
  /usr/local/share/texmf-local/web2c/updmap.cfg
dvips output dir: "/usr/share/texmf-var/fonts/map/dvips/updmap"
pdftex output dir: "/usr/share/texmf-var/fonts/map/pdftex/updmap"
dvipdfmx output dir: "/usr/share/texmf-var/fonts/map/dvipdfmx/updmap"
updmap [WARNING]: generated map ptex-ipaex.map (from ptex-@jaEmbed@@jaVariant@.map) does not exist, not activating it!
updmap [WARNING]: generated map uptex-sc-arphic.map (from uptex-sc-@scEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map otf-ko-baekmuk.map (from otf-ko-@koEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map otf-sc-arphic.map (from otf-sc-@scEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map otf-up-ipaex.map (from otf-up-@jaEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map uptex-tc-arphic.map (from uptex-tc-@tcEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map otf-tc-arphic.map (from otf-tc-@tcEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map otf-ipaex.map (from otf-@jaEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map uptex-ko-baekmuk.map (from uptex-ko-@koEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map uptex-ipaex.map (from uptex-@jaEmbed@@jaVariant@.map) does not exist, not activating it!

updmap is creating new map files
using the following configuration:
  LW35 font names                  : URWkb (/usr/share/texmf-dist/web2c/updmap.cfg)
  prefer outlines                  : true (/usr/share/texmf-dist/web2c/updmap.cfg)
  texhash enabled                  : true
  download standard fonts (dvips)  : true (/usr/share/texmf-dist/web2c/updmap.cfg)
  download standard fonts (pdftex) : true (/usr/share/texmf-dist/web2c/updmap.cfg)
  jaEmbed replacement string       : ipaex (/usr/share/texmf-dist/web2c/updmap.cfg)
  jaVariant replacement string     : <empty> (default)
  scEmbed replacement string       : arphic (/usr/share/texmf-dist/web2c/updmap.cfg)
  tcEmbed replacement string       : arphic (/usr/share/texmf-dist/web2c/updmap.cfg)
  koEmbed replacement string       : baekmuk (/usr/share/texmf-dist/web2c/updmap.cfg)
  create a mapfile for pxdvi       : false (default)

Scanning for LW35 support files  [  3 files]
Scanning for MixedMap entries    [ 18 files]
Scanning for KanjiMap entries    [  0 files]
Scanning for Map entries         [ 78 files]

Generating output for dvipdfmx...
Generating output for ps2pk...
Generating output for dvips...
Generating output for pdftex...

Files generated:
  /usr/share/texmf-var/fonts/map/dvips/updmap:
       15770 2019-05-12 16:02:13 builtin35.map
       21243 2019-05-12 16:02:13 download35.map
      148842 2019-05-12 16:02:14 psfonts_pk.map
      154795 2019-05-12 16:02:13 psfonts_t1.map
      154790 2019-05-12 16:02:13 ps2pk.map
          14 2019-05-12 16:02:14 psfonts.map -> psfonts_t1.map
  /usr/share/texmf-var/fonts/map/pdftex/updmap:
      154797 2019-05-12 16:02:14 pdftex_dl14.map
      153132 2019-05-12 16:02:14 pdftex_ndl14.map
          15 2019-05-12 16:02:14 pdftex.map -> pdftex_dl14.map
  /usr/share/texmf-var/fonts/map/dvipdfmx/updmap:
         293 2019-05-12 16:02:13 kanjix.map

Transcript written on "/usr/share/texmf-var/web2c/updmap.log".
updmap: Updating ls-R files.
bash-4.3# exit

The udpmap.cfg from upstream texlive was used, so warnings are expected
as these fonts are in the texlive-extra package. With the next upload of texlive
2019, there will probably be a custom/slackware udpmap.cfg, as that file also
misses entries of fonts which actually exist in the base package.

[   ] [   ]

22 April 2019

HTk

System: Slackware Linux (version 14.2)
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz

See a previous Post on the Haskell setup (bootstrapping ghc).

When I get around to it I'll see about compatibility of Slackware-14.2's tcl version number with HTk.

bash-4.3$ cabal install uni-htk-2.2.1.3          
Resolving dependencies...
Downloading uni-util-2.3.0.2...
Configuring uni-util-2.3.0.2...
Building uni-util-2.3.0.2...
Installed uni-util-2.3.0.2
Downloading uni-events-2.2.2.0...
Configuring uni-events-2.2.2.0...
Building uni-events-2.2.2.0...
Installed uni-events-2.2.2.0
Downloading uni-reactor-2.2.1.0...
Downloading uni-posixutil-2.2.1.1...
Configuring uni-posixutil-2.2.1.1...
Configuring uni-reactor-2.2.1.0...
Building uni-reactor-2.2.1.0...
Building uni-posixutil-2.2.1.1...
Installed uni-reactor-2.2.1.0
Installed uni-posixutil-2.2.1.1
Downloading uni-htk-2.2.1.3...
Configuring uni-htk-2.2.1.3...
Building uni-htk-2.2.1.3...
Installed uni-htk-2.2.1.3
bash-4.3$ exit

[   ] [   ]

tclquadcode

System: Slackware Linux (version 14.2)
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz
Deps: llvmtcl-3.9.2.tar.gz

I'll look at installing tclquadcode on Slackware-14.2.

Broken support for older LLVM #19
Stop supporting LLVM 3.* and fix warnings on 4.0 #20

An upgrade to llvm >=5.0 would be required for llvmtcl.

https://mirrors.slackware.com/slackware/slackware-14.2/extra/llvm/
llvm-6.0.1-i586-1_slack14.2.txz

https://mirrors.slackware.com/slackware/slackware-14.2/ChangeLog.txt
Mon Sep 24 21:37:09 UTC 2018

NB: llvm-6.0.1 exposed a bug in cmake-3.5.2.

root@darkstar:~# removepkg llvm-3.8.0-i586-2.txz

...

root@darkstar:~# installpkg /tmp/llvm-6.0.1-i586-1_slack14.2.txz
Verifying package llvm-6.0.1-i586-1_slack14.2.txz.
Installing package llvm-6.0.1-i586-1_slack14.2.txz:
PACKAGE DESCRIPTION:
# llvm (LLVM compiler toolkit)
#
# Low Level Virtual Machine is a toolkit for the construction of highly
# optimized compilers, optimizers, and runtime environments.
#
# This package also includes the clang frontend for the C family of
# languages: C, C++, Objective-C, and Objective-C++
#
# Homepage: http://llvm.org/
#
Executing install script for llvm-6.0.1-i586-1_slack14.2.txz.
Package llvm-6.0.1-i586-1_slack14.2.txz installed.

root@darkstar:~#

https://github.com/dkfellows/llvmtcl/releases/tag/v3.9.2
llvmtcl-3.9.2.tar.gz

bash-4.3# clang --version
clang version 6.0.1 (tags/RELEASE_601/final)
Target: i686-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
bash-4.3#

GCC 5.5.0 fails with the flags -Werror=unguarded-availability-new,
-Wcovered-switch-default and -Wstring-conversion.

Modify Makefile.in.

- LLVMCFLAGS = `${LLVMCONFIG} --cxxflags`
+ LLVMCFLAGS = `${LLVMCONFIG} --cxxflags | sed \
+ 's/ -Werror=unguarded-availability-new//;s/ -Wcovered-switch-default//;s/ -Wstring-conversion//'`

- LLVMTARGET = `${LLVMCONFIG} --host-target`
+ LLVMTARGET = `${CC} -dumpmachine`


bash-4.3# cd /tmp/llvmtcl-3.9.2
bash-4.3# ./configure --prefix=/usr --mandir=/usr/man

...

bash-4.3# make

...

bash-4.3# make test
Testing: /usr/bin/tclsh8.6 tests/all.tcl
Tests running in interp:       /usr/bin/tclsh8.6
Tests running with pwd:        /tmp/llvmtcl-3.9.2
Tests running in working dir:  /tmp/llvmtcl-3.9.2/tests
Only running tests that match:        *
Skipping test files that match:       l.*.test
Only sourcing test files that match:  *.test
Tests began at Thu May 02 10:40:53 CEST 2019
api.test
external.test
tebc.test

Tests ended at Thu May 02 10:40:59 CEST 2019
all.tcl: Total 10 Passed 10 Skipped 0 Failed 0
Sourced 0 Test Files.
bash-4.3#



bash-4.3# grep "i686-pc-linux-gnu" llvmtcl-3.9.2/libllvmtcl3.9.2.so
bash-4.3# grep -r "i586-slackware-linux" llvmtcl-3.9.2/libllvmtcl3.9.2.so
Binary file llvmtcl-3.9.2/libllvmtcl3.9.2.so matches
bash-4.3#

Obviously hardcoding clang's triple into libllvmtcl3.9.2.so is problematic.

bash-4.3# grep -n LLVMTCL_TARGET Makefile.in
172:CPPFLAGS = @CPPFLAGS@ "-DLLVMTCL_TARGET=\"${LLVMTARGET}\""
bash-4.3# grep -nr LLVMTCL_TARGET generic
generic/module.cpp:314:    const char *triple = LLVMTCL_TARGET;
generic/module.cpp:318: triple = LLVMTCL_TARGET;
generic/llvmtcl.cpp:913:    LLVMStrVar("llvmtcl::host_triple", LLVMTCL_TARGET);
bash-4.3#

bash-4.3# grep -nr host_triple generic
generic/llvmtcl.cpp:913:    LLVMStrVar("llvmtcl::host_triple", LLVMTCL_TARGET);
bash-4.3#

bash-4.3# grep -nr GetHostTriple generic
generic/module.cpp:126: * GetHostTriple --
generic/module.cpp:134:GetHostTriple(
generic/llvmtcl.cpp:873:    LLVMObjCmd("llvmtcl::GetHostTriple", GetHostTriple);
generic/llvmtcl.h:93:DECL_CMD(GetHostTriple);
bash-4.3# grep -nr GetHostTriple tests
tests/external.test:7:    llvmtcl SetTarget $module [llvmtcl GetHostTriple]
tests/external.test:38:    llvmtcl SetTarget $module [llvmtcl GetHostTriple]
bash-4.3#

[   ] [   ]

xs

System: Slackware Linux (version 14.2)
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz
Deps: XS, meson-0.50.1.tar.gz

See the previous Posts on meson and python3.

The development version .zip download failed to build.

bash-4.3# cd /tmp/XS-master
bash-4.3# ./build.sh
The Meson build system
Version: 0.50.1
Source dir: /tmp/XS-master
Build dir: /tmp/XS-master/build
Build type: native build
Project name: xs
Project version: undefined
Native C++ compiler: ccache c++ (gcc 5.5.0 "c++ (GCC) 5.5.0")
Build machine cpu family: x86
Build machine cpu: i686
Dependency Boost found: YES 1.59
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Dependency libffi found: YES 3.2.1
Library gc found: YES
Library readline found: YES
Build targets in project: 11
Found ninja-1.9.0 at /usr/bin/ninja
ninja: Entering directory `build'
[2/79] Generating git_hash.hxx with a custom command.
fatal: Not a git repository (or any of the parent directories): .git
[3/79] Generating git_date.hxx with a custom command.
fatal: Not a git repository (or any of the parent directories): .git
[4/79] Generating git_url.hxx with a custom command.
fatal: Not a git repository (or any of the parent directories): .git
[45/79] Compiling C++ object 'xsdump@exe/src_version.cxx.o'.
FAILED: xsdump@exe/src_version.cxx.o
ccache c++ -Ixsdump@exe -I. -I.. -I../src -flto -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -g -Wall -Wextra -MD -MQ 'xsdump@exe/src_version.cxx.o' -MF 'xsdump@exe/src_version.cxx.o.d' -o 'xsdump@exe/src_version.cxx.o' -c ../src/version.cxx
../src/version.cxx:6:52: error: expected ',' or ';' before 'GIT_DATE'
 const char * const version = "xs " VERSION " (git: " GIT_DATE "; "
                                                    ^
[47/79] Compiling C++ object 'xs@exe/meson-generated_.._parse.cxx.o'.
ninja: build stopped: subcommand failed.
bash-4.3#

TieDyedDevil/XS/@b210417
Allow build to function from a working directory without a .git/. The…
… git date, hash and url are rendered as - in $&version.
committed May 3, 2019

Slackware linux needs -lncurses.

bash-4.3# git clone https://github.com/TieDyedDevil/XS.git
Cloning into 'XS'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 8381 (delta 0), reused 2 (delta 0), pack-reused 8377
Receiving objects: 100% (8381/8381), 1.66 MiB | 1.69 MiB/s, done.
Resolving deltas: 100% (5722/5722), done.
bash-4.3# cd XS
bash-4.3# ./build.sh
The Meson build system
Version: 0.50.1
Source dir: /tmp/XS
Build dir: /tmp/XS/build
Build type: native build
Project name: xs
Project version: undefined
Native C++ compiler: ccache c++ (gcc 5.5.0 "c++ (GCC) 5.5.0")
Build machine cpu family: x86
Build machine cpu: i686
Dependency Boost found: YES 1.59
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Dependency libffi found: YES 3.2.1
Library gc found: YES
Library readline found: YES
Build targets in project: 11
Found ninja-1.9.0 at /usr/bin/ninja
ninja: Entering directory `build'
[58/79] Linking target xsdump.
FAILED: xsdump
ccache c++  -o xsdump 'xsdump@exe/meson-generated_.._parse.cxx.o' 'xsdump@exe/meson-generated_.._sigmsgs.cxx.o' 'xsdump@exe/src_dump.cxx.o' 'xsdump@exe/src_access.cxx.o' 'xsdump@exe/src_closure.cxx.o' 'xsdump@exe/src_conv.cxx.o' 'xsdump@exe/src_eval.cxx.o' 'xsdump@exe/src_fd.cxx.o' 'xsdump@exe/src_glob.cxx.o' 'xsdump@exe/src_glom.cxx.o' 'xsdump@exe/src_heredoc.cxx.o' 'xsdump@exe/src_input.cxx.o' 'xsdump@exe/src_list.cxx.o' 'xsdump@exe/src_main.cxx.o' 'xsdump@exe/src_match.cxx.o' 'xsdump@exe/src_opt.cxx.o' 'xsdump@exe/src_prim-ctl.cxx.o' 'xsdump@exe/src_prim.cxx.o' 'xsdump@exe/src_prim-etc.cxx.o' 'xsdump@exe/src_prim-io.cxx.o' 'xsdump@exe/src_prim-rel.cxx.o' 'xsdump@exe/src_prim-sys.cxx.o' 'xsdump@exe/src_print.cxx.o' 'xsdump@exe/src_proc.cxx.o' 'xsdump@exe/src_signal.cxx.o' 'xsdump@exe/src_split.cxx.o' 'xsdump@exe/src_status.cxx.o' 'xsdump@exe/src_str.cxx.o' 'xsdump@exe/src_syntax.cxx.o' 'xsdump@exe/src_term.cxx.o' 'xsdump@exe/src_token.cxx.o' 'xsdump@exe/src_tree.cxx.o' 'xsdump@exe/src_util.cxx.o' 'xsdump@exe/src_var.cxx.o' 'xsdump@exe/src_version.cxx.o' -flto -Wl,--no-undefined -Wl,--as-needed -Wl,--start-group -lreadline -lgc -lffi -Wl,--end-group
/usr/lib/gcc/i586-slackware-linux/5.5.0/../../../libreadline.so: undefined reference to `tgetnum'
/usr/lib/gcc/i586-slackware-linux/5.5.0/../../../libreadline.so: undefined reference to `tgetent'
/usr/lib/gcc/i586-slackware-linux/5.5.0/../../../libreadline.so: undefined reference to `tgetstr'
/usr/lib/gcc/i586-slackware-linux/5.5.0/../../../libreadline.so: undefined reference to `tgoto'
/usr/lib/gcc/i586-slackware-linux/5.5.0/../../../libreadline.so: undefined reference to `UP'
/usr/lib/gcc/i586-slackware-linux/5.5.0/../../../libreadline.so: undefined reference to `BC'
/usr/lib/gcc/i586-slackware-linux/5.5.0/../../../libreadline.so: undefined reference to `tputs'
/usr/lib/gcc/i586-slackware-linux/5.5.0/../../../libreadline.so: undefined reference to `PC'
/usr/lib/gcc/i586-slackware-linux/5.5.0/../../../libreadline.so: undefined reference to `tgetflag'
collect2: error: ld returned 1 exit status
[60/79] Compiling C++ object 'xs@exe/src_prim-etc.cxx.o'.
ninja: build stopped: subcommand failed.
bash-4.3#

Modify meson.build.

    gc_lib = compiler.find_library('gc')
+   ncurses_lib = compiler.find_library('ncurses')
    readline_lib = compiler.find_library('readline')

-   common_dependencies = [boost_dep, readline_lib, gc_lib, ffi_lib]
+   common_dependencies = [boost_dep, readline_lib, ncurses_lib, gc_lib, ffi_lib]

bash-4.3# cd /tmp/XS-master
bash-4.3# ./build.sh
The Meson build system
Version: 0.50.1
Source dir: /tmp/XS-master
Build dir: /tmp/XS-master/build
Build type: native build
Project name: xs
Project version: undefined
Native C++ compiler: ccache c++ (gcc 5.5.0 "c++ (GCC) 5.5.0")
Build machine cpu family: x86
Build machine cpu: i686
Dependency Boost found: YES 1.59
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Dependency libffi found: YES 3.2.1
Library gc found: YES
Library ncurses found: YES
Library readline found: YES
Build targets in project: 11
Found ninja-1.9.0 at /usr/bin/ninja
ninja: Entering directory `build'
[79/79] Linking target xs.
bash-4.3#

bash-4.3# ./build.sh check

...

Unexpected failures:  0
bash-4.3# exit

The INSTALL file's boost minimum version number can be revised to 1.59.

[   ]