nchat is a terminal-based chat client for Linux and macOS with support for Telegram and WhatsApp.
This is what I did.
This is first!
Follow the instructions in section Manually
the Debian part: (Debian-based (Ubuntu, Raspbian, etc)
Doing this part now
sudo apt install ccache cmake build-essential gperf help2man libreadline-dev libssl-dev libncurses-dev libncursesw5-dev ncurses-doc zlib1g-dev libsqlite3-dev libmagic-dev golang
Terminal output
Reading package lists⦠Done
Building dependency tree⦠Done
Reading state information⦠Done
build-essential is already the newest version (12.9).
build-essential set to manually installed.
libncurses-dev is already the newest version (6.2+20201114-2+deb11u2).
libncurses-dev set to manually installed.
zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2).
zlib1g-dev set to manually installed.
The following additional packages will be installed:
cmake-data file golang-1.15 golang-1.15-doc golang-1.15-go golang-1.15-src golang-doc golang-go golang-src libjsoncpp24 libmagic-mgc libmagic1 librhash0
libssl1.1
Suggested packages:
distcc | icecc cmake-doc ninja-build bzr | brz mercurial subversion readline-doc sqlite3-doc libssl-doc
The following NEW packages will be installed:
ccache cmake cmake-data golang golang-1.15 golang-1.15-doc golang-1.15-go golang-1.15-src golang-doc golang-go golang-src gperf help2man libjsoncpp24
libmagic-dev libncursesw5-dev libreadline-dev librhash0 libsqlite3-dev libssl-dev ncurses-doc
The following packages will be upgraded:
file libmagic-mgc libmagic1 libssl1.1
4 upgraded, 21 newly installed, 0 to remove and 166 not upgraded.
Need to get 69.5 MB/71.4 MB of archives.
After this operation, 407 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 Index of /pureos/ byzantium/main arm64 ccache arm64 4.2-1 [397 kB]
Get:2 Index of /pureos/ byzantium/main all cmake-data all 3.18.4-2+deb11u1 [1725 kB]
Get:3 Index of /pureos/ byzantium/main arm64 librhash0 arm64 1.4.1-2 [127 kB]
Get:4 Index of /pureos/ byzantium/main arm64 cmake arm64 3.18.4-2+deb11u1 [3673 kB]
Get:5 Index of /pureos/ byzantium/main arm64 golang-1.15-src arm64 1.15.15-1~deb11u4 [13.9 MB]
Get:6 Index of /pureos/ byzantium/main arm64 golang-1.15-go arm64 1.15.15-1~deb11u4 [43.0 MB]
Get:7 Index of /pureos/ byzantium/main all golang-1.15-doc all 1.15.15-1~deb11u4 [2455 kB]
Get:8 Index of /pureos/ byzantium/main all golang-1.15 all 1.15.15-1~deb11u4 [27.9 kB]
Get:9 Index of /pureos/ byzantium/main arm64 golang-src arm64 2:1.15~1 [4856 B]
Get:10 Index of /pureos/ byzantium/main arm64 golang-go arm64 2:1.15~1 [23.9 kB]
Get:11 Index of /pureos/ byzantium/main all golang-doc all 2:1.15~1 [4888 B]
Get:12 Index of /pureos/ byzantium/main arm64 golang arm64 2:1.15~1 [4844 B]
Get:13 Index of /pureos/ byzantium/main arm64 gperf arm64 3.1-1 [145 kB]
Get:14 Index of /pureos/ byzantium/main arm64 help2man arm64 1.48.1 [190 kB]
Get:15 Index of /pureos/ byzantium/main arm64 libmagic-dev arm64 1:5.39-3+deb11u1 [133 kB]
Get:16 Index of /pureos/ byzantium/main arm64 libncursesw5-dev arm64 6.2+20201114-2+deb11u2 [948 B]
Get:17 Index of /pureos/ byzantium/main arm64 libreadline-dev arm64 8.1-1 [153 kB]
Get:18 Index of /pureos/ byzantium/main arm64 libsqlite3-dev arm64 3.34.1-3 [911 kB]
Get:19 Index of /pureos/ byzantium/main arm64 libssl-dev arm64 1.1.1w-0+deb11u1 [1703 kB]
Get:20 Index of /pureos/ byzantium/main all ncurses-doc all 6.2+20201114-2+deb11u2 [938 kB]
Fetched 69.5 MB in 1min 4s (1083 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = βes_PY.UTF-8β,
LC_MONETARY = βes_PY.UTF-8β,
LC_ADDRESS = βes_PY.UTF-8β,
LC_TELEPHONE = βes_PY.UTF-8β,
LC_NAME = βes_PY.UTF-8β,
LC_MEASUREMENT = βes_PY.UTF-8β,
LC_IDENTIFICATION = βes_PY.UTF-8β,
LC_NUMERIC = βes_PY.UTF-8β,
LC_PAPER = βes_PY.UTF-8β,
LANG = βen_US.UTF-8β
are supported and installed on your system.
perl: warning: Falling back to a fallback locale (βen_US.UTF-8β).
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages β¦
(Reading database β¦ 116496 files and directories currently installed.)
Preparing to unpack β¦/libssl1.1_1.1.1w-0+deb11u1_arm64.deb β¦
Unpacking libssl1.1:arm64 (1.1.1w-0+deb11u1) over (1.1.1n-0+deb11u4) β¦
Setting up libssl1.1:arm64 (1.1.1w-0+deb11u1) β¦
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database β¦ 116496 files and directories currently installed.)
Preparing to unpack β¦/00-file_1%3a5.39-3+deb11u1_arm64.deb β¦
Unpacking file (1:5.39-3+deb11u1) over (1:5.39-3) β¦
Preparing to unpack β¦/01-libmagic1_1%3a5.39-3+deb11u1_arm64.deb β¦
Unpacking libmagic1:arm64 (1:5.39-3+deb11u1) over (1:5.39-3) β¦
Preparing to unpack β¦/02-libmagic-mgc_1%3a5.39-3+deb11u1_arm64.deb β¦
Unpacking libmagic-mgc (1:5.39-3+deb11u1) over (1:5.39-3) β¦
Selecting previously unselected package ccache.
Preparing to unpack β¦/03-ccache_4.2-1_arm64.deb β¦
Unpacking ccache (4.2-1) β¦
Selecting previously unselected package cmake-data.
Preparing to unpack β¦/04-cmake-data_3.18.4-2+deb11u1_all.deb β¦
Unpacking cmake-data (3.18.4-2+deb11u1) β¦
Selecting previously unselected package libjsoncpp24:arm64.
Preparing to unpack β¦/05-libjsoncpp24_1.9.4-4_arm64.deb β¦
Unpacking libjsoncpp24:arm64 (1.9.4-4) β¦
Selecting previously unselected package librhash0:arm64.
Preparing to unpack β¦/06-librhash0_1.4.1-2_arm64.deb β¦
Unpacking librhash0:arm64 (1.4.1-2) β¦
Selecting previously unselected package cmake.
Preparing to unpack β¦/07-cmake_3.18.4-2+deb11u1_arm64.deb β¦
Unpacking cmake (3.18.4-2+deb11u1) β¦
Selecting previously unselected package golang-1.15-src.
Preparing to unpack β¦/08-golang-1.15-src_1.15.15-1~deb11u4_arm64.deb β¦
Unpacking golang-1.15-src (1.15.15-1~deb11u4) β¦
Selecting previously unselected package golang-1.15-go.
Preparing to unpack β¦/09-golang-1.15-go_1.15.15-1~deb11u4_arm64.deb β¦
Unpacking golang-1.15-go (1.15.15-1~deb11u4) β¦
Selecting previously unselected package golang-1.15-doc.
Preparing to unpack β¦/10-golang-1.15-doc_1.15.15-1~deb11u4_all.deb β¦
Unpacking golang-1.15-doc (1.15.15-1~deb11u4) β¦
Selecting previously unselected package golang-1.15.
Preparing to unpack β¦/11-golang-1.15_1.15.15-1~deb11u4_all.deb β¦
Unpacking golang-1.15 (1.15.15-1~deb11u4) β¦
Selecting previously unselected package golang-src:arm64.
Preparing to unpack β¦/12-golang-src_2%3a1.15~1_arm64.deb β¦
Unpacking golang-src:arm64 (2:1.15~1) β¦
Selecting previously unselected package golang-go.
Preparing to unpack β¦/13-golang-go_2%3a1.15~1_arm64.deb β¦
Unpacking golang-go (2:1.15~1) β¦
Selecting previously unselected package golang-doc.
Preparing to unpack β¦/14-golang-doc_2%3a1.15~1_all.deb β¦
Unpacking golang-doc (2:1.15~1) β¦
Selecting previously unselected package golang:arm64.
Preparing to unpack β¦/15-golang_2%3a1.15~1_arm64.deb β¦
Unpacking golang:arm64 (2:1.15~1) β¦
Selecting previously unselected package gperf.
Preparing to unpack β¦/16-gperf_3.1-1_arm64.deb β¦
Unpacking gperf (3.1-1) β¦
Selecting previously unselected package help2man.
Preparing to unpack β¦/17-help2man_1.48.1_arm64.deb β¦
Unpacking help2man (1.48.1) β¦
Selecting previously unselected package libmagic-dev:arm64.
Preparing to unpack β¦/18-libmagic-dev_1%3a5.39-3+deb11u1_arm64.deb β¦
Unpacking libmagic-dev:arm64 (1:5.39-3+deb11u1) β¦
Selecting previously unselected package libncursesw5-dev:arm64.
Preparing to unpack β¦/19-libncursesw5-dev_6.2+20201114-2+deb11u2_arm64.deb β¦
Unpacking libncursesw5-dev:arm64 (6.2+20201114-2+deb11u2) β¦
Selecting previously unselected package libreadline-dev:arm64.
Preparing to unpack β¦/20-libreadline-dev_8.1-1_arm64.deb β¦
Unpacking libreadline-dev:arm64 (8.1-1) β¦
Selecting previously unselected package libsqlite3-dev:arm64.
Preparing to unpack β¦/21-libsqlite3-dev_3.34.1-3_arm64.deb β¦
Unpacking libsqlite3-dev:arm64 (3.34.1-3) β¦
Selecting previously unselected package libssl-dev:arm64.
Preparing to unpack β¦/22-libssl-dev_1.1.1w-0+deb11u1_arm64.deb β¦
Unpacking libssl-dev:arm64 (1.1.1w-0+deb11u1) β¦
Selecting previously unselected package ncurses-doc.
Preparing to unpack β¦/23-ncurses-doc_6.2+20201114-2+deb11u2_all.deb β¦
Unpacking ncurses-doc (6.2+20201114-2+deb11u2) β¦
Setting up libncursesw5-dev:arm64 (6.2+20201114-2+deb11u2) β¦
Setting up libmagic-mgc (1:5.39-3+deb11u1) β¦
Setting up golang-1.15-src (1.15.15-1~deb11u4) β¦
Setting up ccache (4.2-1) β¦
Updating symlinks in /usr/lib/ccache β¦
Setting up libmagic1:arm64 (1:5.39-3+deb11u1) β¦
Setting up file (1:5.39-3+deb11u1) β¦
Setting up libreadline-dev:arm64 (8.1-1) β¦
Setting up libmagic-dev:arm64 (1:5.39-3+deb11u1) β¦
Setting up gperf (3.1-1) β¦
Setting up ncurses-doc (6.2+20201114-2+deb11u2) β¦
Setting up help2man (1.48.1) β¦
Setting up libsqlite3-dev:arm64 (3.34.1-3) β¦
Setting up libssl-dev:arm64 (1.1.1w-0+deb11u1) β¦
Setting up libjsoncpp24:arm64 (1.9.4-4) β¦
Setting up librhash0:arm64 (1.4.1-2) β¦
Setting up cmake-data (3.18.4-2+deb11u1) β¦
Install cmake-data for emacs
Setting up golang-src:arm64 (2:1.15~1) β¦
Setting up golang-1.15-go (1.15.15-1~deb11u4) β¦
Setting up golang-1.15-doc (1.15.15-1~deb11u4) β¦
Setting up golang-go (2:1.15~1) β¦
Setting up golang-1.15 (1.15.15-1~deb11u4) β¦
Setting up cmake (3.18.4-2+deb11u1) β¦
Setting up golang-doc (2:1.15~1) β¦
Setting up golang:arm64 (2:1.15~1) β¦
Processing triggers for man-db (2.9.4-2) β¦
Processing triggers for install-info (6.7.0.dfsg.2-6) β¦
Processing triggers for libc-bin (2.31-13+deb11u5) β¦
Time real 4m58.735s
user 1m30.916s
sys 1m37.836s
purism@pureos:~$
Following the steps on https://github.com/d99kris/nchat/blob/master/LOWMEMORY.md
the part above Arch Linux
Steps to build nchat on a low memory system:
Extra Dependencies (Linux)
$ sudo apt install php-cli clang
Terminal output
[sudo] password for purism:
Reading package lists⦠Done
Building dependency tree⦠Done
Reading state information⦠Done
The following additional packages will be installed:
binfmt-support clang-11 libclang-common-11-dev libclang-cpp11 libclang1-11
libffi-dev libncurses-dev libncurses6 libncursesw6 libobjc-10-dev libobjc4
libomp-11-dev libomp5-11 libpfm4 libtinfo-dev libtinfo6 libz3-dev llvm-11
llvm-11-dev llvm-11-runtime llvm-11-tools mailcap mime-support php-common
php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-readline
Suggested packages:
clang-11-doc ncurses-doc libomp-11-doc llvm-11-doc php-pear
The following NEW packages will be installed:
binfmt-support clang clang-11 libclang-common-11-dev libclang-cpp11
libclang1-11 libffi-dev libncurses-dev libobjc-10-dev libobjc4 libomp-11-dev
libomp5-11 libpfm4 libtinfo-dev libz3-dev llvm-11 llvm-11-dev
llvm-11-runtime llvm-11-tools mailcap mime-support php-cli php-common
php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-readline
The following packages will be upgraded:
libncurses6 libncursesw6 libtinfo6
3 upgraded, 28 newly installed, 0 to remove and 170 not upgraded.
Need to get 51.5 MB/52.1 MB of archives.
After this operation, 362 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 Index of /pureos/ byzantium/main all mailcap all 3.69 [31.7 kB]
Get:2 Index of /pureos/ byzantium/main all mime-support all 3.66 [10.9 kB]
Get:3 Index of /pureos/ byzantium/main arm64 binfmt-support arm64 2.2.1-1+deb11u1 [63.8 kB]
Get:4 Index of /pureos/ byzantium/main arm64 libclang-cpp11 arm64 1:11.0.1-2 [7957 kB]
Get:5 Index of /pureos/ byzantium/main arm64 libobjc4 arm64 10.2.1-6 [38.7 kB]
Get:6 Index of /pureos/ byzantium/main arm64 libobjc-10-dev arm64 10.2.1-6 [165 kB]
Get:7 Index of /pureos/ byzantium/main arm64 libclang-common-11-dev arm64 1:11.0.1-2 [3470 kB]
Get:8 Index of /pureos/ byzantium/main arm64 libclang1-11 arm64 1:11.0.1-2 [4553 kB]
Get:9 Index of /pureos/ byzantium/main arm64 clang-11 arm64 1:11.0.1-2 [105 kB]
Get:10 Index of /pureos/ byzantium/main arm64 clang arm64 1:11.0-51+nmu5 [8872 B]
Get:11 Index of /pureos/ byzantium/main arm64 libffi-dev arm64 3.3-6 [53.2 kB]
Get:12 Index of /pureos/ byzantium/main arm64 libncurses-dev arm64 6.2+20201114-2+deb11u2 [336 kB]
Get:13 Index of /pureos/ byzantium/main arm64 libomp5-11 arm64 1:11.0.1-2 [276 kB]
Get:14 Index of /pureos/ byzantium/main arm64 libomp-11-dev arm64 1:11.0.1-2 [90.7 kB]
Get:15 Index of /pureos/ byzantium/main arm64 libpfm4 arm64 4.11.1+git32-gd0b85fb-1 [45.4 kB]
Get:16 Index of /pureos/ byzantium/main arm64 libtinfo-dev arm64 6.2+20201114-2+deb11u2 [940 B]
Get:17 Index of /pureos/ byzantium/main arm64 libz3-dev arm64 4.8.10-1 [90.8 kB]
Get:18 Index of /pureos/ byzantium/main arm64 llvm-11-runtime arm64 1:11.0.1-2 [183 kB]
Get:19 Index of /pureos/ byzantium/main arm64 llvm-11 arm64 1:11.0.1-2 [6450 kB]
Get:20 Index of /pureos/ byzantium/main arm64 llvm-11-tools arm64 1:11.0.1-2 [330 kB]
Get:21 Index of /pureos/ byzantium/main arm64 llvm-11-dev arm64 1:11.0.1-2 [24.8 MB]
Get:22 Index of /pureos/ byzantium/main all php-common all 2:76 [15.6 kB]
Get:23 Index of /pureos/ byzantium/main arm64 php7.4-common arm64 7.4.33-1+deb11u4 [999 kB]
Get:24 Index of /pureos/ byzantium/main arm64 php7.4-json arm64 7.4.33-1+deb11u4 [18.2 kB]
Get:25 Index of /pureos/ byzantium/main arm64 php7.4-opcache arm64 7.4.33-1+deb11u4 [179 kB]
Get:26 Index of /pureos/ byzantium/main arm64 php7.4-readline arm64 7.4.33-1+deb11u4 [11.6 kB]
Get:27 Index of /pureos/ byzantium/main arm64 php7.4-cli arm64 7.4.33-1+deb11u4 [1302 kB]
Get:28 Index of /pureos/ byzantium/main all php-cli all 2:7.4+76 [6796 B]
Fetched 51.5 MB in 56s (918 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = βes_PY.UTF-8β,
LC_MONETARY = βes_PY.UTF-8β,
LC_ADDRESS = βes_PY.UTF-8β,
LC_TELEPHONE = βes_PY.UTF-8β,
LC_NAME = βes_PY.UTF-8β,
LC_MEASUREMENT = βes_PY.UTF-8β,
LC_IDENTIFICATION = βes_PY.UTF-8β,
LC_NUMERIC = βes_PY.UTF-8β,
LC_PAPER = βes_PY.UTF-8β,
LANG = βen_US.UTF-8β
are supported and installed on your system.
perl: warning: Falling back to a fallback locale (βen_US.UTF-8β).
locale: Cannot set LC_ALL to default locale: No such file or directory
Extracting templates from packages: 100%
(Reading database β¦ 113275 files and directories currently installed.)
Preparing to unpack β¦/libncurses6_6.2+20201114-2+deb11u2_arm64.deb β¦
Unpacking libncurses6:arm64 (6.2+20201114-2+deb11u2) over (6.2+20201114-2) β¦
Preparing to unpack β¦/libncursesw6_6.2+20201114-2+deb11u2_arm64.deb β¦
Unpacking libncursesw6:arm64 (6.2+20201114-2+deb11u2) over (6.2+20201114-2) β¦
Preparing to unpack β¦/libtinfo6_6.2+20201114-2+deb11u2_arm64.deb β¦
Unpacking libtinfo6:arm64 (6.2+20201114-2+deb11u2) over (6.2+20201114-2) β¦
Setting up libtinfo6:arm64 (6.2+20201114-2+deb11u2) β¦
Selecting previously unselected package mailcap.
(Reading database β¦ 113275 files and directories currently installed.)
Preparing to unpack β¦/00-mailcap_3.69_all.deb β¦
Unpacking mailcap (3.69) β¦
Selecting previously unselected package mime-support.
Preparing to unpack β¦/01-mime-support_3.66_all.deb β¦
Unpacking mime-support (3.66) β¦
Selecting previously unselected package binfmt-support.
Preparing to unpack β¦/02-binfmt-support_2.2.1-1+deb11u1_arm64.deb β¦
Unpacking binfmt-support (2.2.1-1+deb11u1) β¦
Selecting previously unselected package libclang-cpp11.
Preparing to unpack β¦/03-libclang-cpp11_1%3a11.0.1-2_arm64.deb β¦
Unpacking libclang-cpp11 (1:11.0.1-2) β¦
Selecting previously unselected package libobjc4:arm64.
Preparing to unpack β¦/04-libobjc4_10.2.1-6_arm64.deb β¦
Unpacking libobjc4:arm64 (10.2.1-6) β¦
Selecting previously unselected package libobjc-10-dev:arm64.
Preparing to unpack β¦/05-libobjc-10-dev_10.2.1-6_arm64.deb β¦
Unpacking libobjc-10-dev:arm64 (10.2.1-6) β¦
Selecting previously unselected package libclang-common-11-dev.
Preparing to unpack β¦/06-libclang-common-11-dev_1%3a11.0.1-2_arm64.deb β¦
Unpacking libclang-common-11-dev (1:11.0.1-2) β¦
Selecting previously unselected package libclang1-11.
Preparing to unpack β¦/07-libclang1-11_1%3a11.0.1-2_arm64.deb β¦
Unpacking libclang1-11 (1:11.0.1-2) β¦
Selecting previously unselected package clang-11.
Preparing to unpack β¦/08-clang-11_1%3a11.0.1-2_arm64.deb β¦
Unpacking clang-11 (1:11.0.1-2) β¦
Selecting previously unselected package clang.
Preparing to unpack β¦/09-clang_1%3a11.0-51+nmu5_arm64.deb β¦
Unpacking clang (1:11.0-51+nmu5) β¦
Selecting previously unselected package libffi-dev:arm64.
Preparing to unpack β¦/10-libffi-dev_3.3-6_arm64.deb β¦
Unpacking libffi-dev:arm64 (3.3-6) β¦
Selecting previously unselected package libncurses-dev:arm64.
Preparing to unpack β¦/11-libncurses-dev_6.2+20201114-2+deb11u2_arm64.deb β¦
Unpacking libncurses-dev:arm64 (6.2+20201114-2+deb11u2) β¦
Selecting previously unselected package libomp5-11:arm64.
Preparing to unpack β¦/12-libomp5-11_1%3a11.0.1-2_arm64.deb β¦
Unpacking libomp5-11:arm64 (1:11.0.1-2) β¦
Selecting previously unselected package libomp-11-dev.
Preparing to unpack β¦/13-libomp-11-dev_1%3a11.0.1-2_arm64.deb β¦
Unpacking libomp-11-dev (1:11.0.1-2) β¦
Selecting previously unselected package libpfm4:arm64.
Preparing to unpack β¦/14-libpfm4_4.11.1+git32-gd0b85fb-1_arm64.deb β¦
Unpacking libpfm4:arm64 (4.11.1+git32-gd0b85fb-1) β¦
Selecting previously unselected package libtinfo-dev:arm64.
Preparing to unpack β¦/15-libtinfo-dev_6.2+20201114-2+deb11u2_arm64.deb β¦
Unpacking libtinfo-dev:arm64 (6.2+20201114-2+deb11u2) β¦
Selecting previously unselected package libz3-dev:arm64.
Preparing to unpack β¦/16-libz3-dev_4.8.10-1_arm64.deb β¦
Unpacking libz3-dev:arm64 (4.8.10-1) β¦
Selecting previously unselected package llvm-11-runtime.
Preparing to unpack β¦/17-llvm-11-runtime_1%3a11.0.1-2_arm64.deb β¦
Unpacking llvm-11-runtime (1:11.0.1-2) β¦
Selecting previously unselected package llvm-11.
Preparing to unpack β¦/18-llvm-11_1%3a11.0.1-2_arm64.deb β¦
Unpacking llvm-11 (1:11.0.1-2) β¦
Selecting previously unselected package llvm-11-tools.
Preparing to unpack β¦/19-llvm-11-tools_1%3a11.0.1-2_arm64.deb β¦
Unpacking llvm-11-tools (1:11.0.1-2) β¦
Selecting previously unselected package llvm-11-dev.
Preparing to unpack β¦/20-llvm-11-dev_1%3a11.0.1-2_arm64.deb β¦
Unpacking llvm-11-dev (1:11.0.1-2) β¦
Selecting previously unselected package php-common.
Preparing to unpack β¦/21-php-common_2%3a76_all.deb β¦
Unpacking php-common (2:76) β¦
Selecting previously unselected package php7.4-common.
Preparing to unpack β¦/22-php7.4-common_7.4.33-1+deb11u4_arm64.deb β¦
Unpacking php7.4-common (7.4.33-1+deb11u4) β¦
Selecting previously unselected package php7.4-json.
Preparing to unpack β¦/23-php7.4-json_7.4.33-1+deb11u4_arm64.deb β¦
Unpacking php7.4-json (7.4.33-1+deb11u4) β¦
Selecting previously unselected package php7.4-opcache.
Preparing to unpack β¦/24-php7.4-opcache_7.4.33-1+deb11u4_arm64.deb β¦
Unpacking php7.4-opcache (7.4.33-1+deb11u4) β¦
Selecting previously unselected package php7.4-readline.
Preparing to unpack β¦/25-php7.4-readline_7.4.33-1+deb11u4_arm64.deb β¦
Unpacking php7.4-readline (7.4.33-1+deb11u4) β¦
Selecting previously unselected package php7.4-cli.
Preparing to unpack β¦/26-php7.4-cli_7.4.33-1+deb11u4_arm64.deb β¦
Unpacking php7.4-cli (7.4.33-1+deb11u4) β¦
Selecting previously unselected package php-cli.
Preparing to unpack β¦/27-php-cli_2%3a7.4+76_all.deb β¦
Unpacking php-cli (2:7.4+76) β¦
Setting up php-common (2:76) β¦
Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer β /lib/systemd/system/phpsessionclean.timer.
Setting up libz3-dev:arm64 (4.8.10-1) β¦
Setting up llvm-11-runtime (1:11.0.1-2) β¦
Setting up php7.4-common (7.4.33-1+deb11u4) β¦
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/calendar.ini with new version
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/ctype.ini with new version
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/exif.ini with new version
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/fileinfo.ini with new version
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/ffi.ini with new version
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/ftp.ini with new version
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/gettext.ini with new version
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/iconv.ini with new version
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/pdo.ini with new version
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/phar.ini with new version
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/posix.ini with new version
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/shmop.ini with new version
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/sockets.ini with new version
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/sysvmsg.ini with new version
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/sysvsem.ini with new version
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/sysvshm.ini with new version
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/tokenizer.ini with new version
Setting up llvm-11-tools (1:11.0.1-2) β¦
Setting up php7.4-readline (7.4.33-1+deb11u4) β¦
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/readline.ini with new version
Setting up libobjc4:arm64 (10.2.1-6) β¦
Setting up libffi-dev:arm64 (3.3-6) β¦
Setting up libclang-cpp11 (1:11.0.1-2) β¦
Setting up libpfm4:arm64 (4.11.1+git32-gd0b85fb-1) β¦
Setting up libncurses6:arm64 (6.2+20201114-2+deb11u2) β¦
Setting up libclang1-11 (1:11.0.1-2) β¦
Setting up binfmt-support (2.2.1-1+deb11u1) β¦
Created symlink /etc/systemd/system/multi-user.target.wants/binfmt-support.service β /lib/systemd/system/binfmt-support.service.
Setting up libncursesw6:arm64 (6.2+20201114-2+deb11u2) β¦
Setting up libomp5-11:arm64 (1:11.0.1-2) β¦
Setting up libobjc-10-dev:arm64 (10.2.1-6) β¦
Setting up libclang-common-11-dev (1:11.0.1-2) β¦
Setting up php7.4-opcache (7.4.33-1+deb11u4) β¦
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/opcache.ini with new version
Setting up clang-11 (1:11.0.1-2) β¦
Setting up mailcap (3.69) β¦
Setting up libncurses-dev:arm64 (6.2+20201114-2+deb11u2) β¦
Setting up php7.4-json (7.4.33-1+deb11u4) β¦
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/mods-available/json.ini with new version
Setting up mime-support (3.66) β¦
Setting up libomp-11-dev (1:11.0.1-2) β¦
Setting up llvm-11 (1:11.0.1-2) β¦
Setting up php7.4-cli (7.4.33-1+deb11u4) β¦
update-alternatives: using /usr/bin/php7.4 to provide /usr/bin/php (php) in auto mode
update-alternatives: using /usr/bin/phar7.4 to provide /usr/bin/phar (phar) in auto mode
update-alternatives: using /usr/bin/phar.phar7.4 to provide /usr/bin/phar.phar (phar.phar) in auto mode
locale: Cannot set LC_ALL to default locale: No such file or directory
Creating config file /etc/php/7.4/cli/php.ini with new version
Setting up clang (1:11.0-51+nmu5) β¦
Setting up php-cli (2:7.4+76) β¦
update-alternatives: using /usr/bin/php.default to provide /usr/bin/php (php) in auto mode
update-alternatives: using /usr/bin/phar.default to provide /usr/bin/phar (phar) in auto mode
update-alternatives: using /usr/bin/phar.phar.default to provide /usr/bin/phar.phar (phar.phar) in auto mode
Setting up libtinfo-dev:arm64 (6.2+20201114-2+deb11u2) β¦
Setting up llvm-11-dev (1:11.0.1-2) β¦
Processing triggers for man-db (2.9.4-2) β¦
Processing triggers for install-info (6.7.0.dfsg.2-6) β¦
Processing triggers for libc-bin (2.31-13+deb11u5) β¦
Processing triggers for php7.4-cli (7.4.33-1+deb11u4) β¦
purism@pureos:~$
Source
$ git clone https://github.com/d99kris/nchat && cd nchat
Terminal output
time git clone https://github.com/d99kris/nchat && cd nchat
Cloning into βnchatββ¦
remote: Enumerating objects: 11441, done.
remote: Counting objects: 100% (1853/1853), done.
remote: Compressing objects: 100% (839/839), done.
remote: Total 11441 (delta 962), reused 1831 (delta 951), pack-reused 9588
Receiving objects: 100% (11441/11441), 14.64 MiB | 1.27 MiB/s, done.
Resolving deltas: 100% (7779/7779), done.
Time real 0m16.806s
user 0m5.305s
sys 0m0.935s
purism@pureos:~/nchat$
Setup
mkdir -p build && cd build
CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake ..
Terminal output
β The CXX compiler identification is Clang 11.0.1
β Detecting CXX compiler ABI info
β Detecting CXX compiler ABI info - done
β Check for working CXX compiler: /usr/bin/clang++ - skipped
β Detecting CXX compile features
β Detecting CXX compile features - done
β Using build type βReleaseβ (default).
β Dummy: ON
β Telegram: ON
β WhatsApp: ON
β Dynamic Load: ON
β Multi Protocol: ON
β Core Dump: ON
CMake Warning at CMakeLists.txt:66 (message):
Go version 1.15.15 (need v1.18 to build WhatsApp).
β Found SQLite3: /usr/include (found version β3.34.1β)
β Performing Test HAVE_BUILTIN_ATOMIC
β Performing Test HAVE_BUILTIN_ATOMIC - Failed
β No built-in atomic, using libatomic.
β The C compiler identification is Clang 11.0.1
β Detecting C compiler ABI info
β Detecting C compiler ABI info - done
β Check for working C compiler: /usr/bin/clang - skipped
β Detecting C compile features
β Detecting C compile features - done
β Found ccache
β Found OpenSSL: /usr/lib/aarch64-linux-gnu/libcrypto.so (found version β1.1.1wβ)
β Found OpenSSL: /usr/include /usr/lib/aarch64-linux-gnu/libssl.so;/usr/lib/aarch64-linux-gnu/libcrypto.so
β Looking for pthread.h
β Looking for pthread.h - found
β Performing Test CMAKE_HAVE_LIBC_PTHREAD
β Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
β Check if compiler accepts -pthread
β Check if compiler accepts -pthread - yes
β Found Threads: TRUE
β Performing Test HAVE_STD14
β Performing Test HAVE_STD14 - Success
β Performing Test HAVE_CXX_FLAG_WALL
β Performing Test HAVE_CXX_FLAG_WALL - Success
β Performing Test HAVE_CXX_FLAG_WEXTRA
β Performing Test HAVE_CXX_FLAG_WEXTRA - Success
β Performing Test HAVE_CXX_FLAG_WIMPLICIT_FALLTHROUGH_2
β Performing Test HAVE_CXX_FLAG_WIMPLICIT_FALLTHROUGH_2 - Failed
β Performing Test HAVE_CXX_FLAG_WPOINTER_ARITH
β Performing Test HAVE_CXX_FLAG_WPOINTER_ARITH - Success
β Performing Test HAVE_CXX_FLAG_WCAST_QUAL
β Performing Test HAVE_CXX_FLAG_WCAST_QUAL - Success
β Performing Test HAVE_CXX_FLAG_WSIGN_COMPARE
β Performing Test HAVE_CXX_FLAG_WSIGN_COMPARE - Success
β Performing Test HAVE_CXX_FLAG_WDUPLICATED_BRANCHES
β Performing Test HAVE_CXX_FLAG_WDUPLICATED_BRANCHES - Failed
β Performing Test HAVE_CXX_FLAG_WDUPLICATED_COND
β Performing Test HAVE_CXX_FLAG_WDUPLICATED_COND - Failed
β Performing Test HAVE_CXX_FLAG_WALLOC_ZERO
β Performing Test HAVE_CXX_FLAG_WALLOC_ZERO - Failed
β Performing Test HAVE_CXX_FLAG_WLOGICAL_OP
β Performing Test HAVE_CXX_FLAG_WLOGICAL_OP - Failed
β Performing Test HAVE_CXX_FLAG_WTAUTOLOGICAL_COMPARE
β Performing Test HAVE_CXX_FLAG_WTAUTOLOGICAL_COMPARE - Success
β Performing Test HAVE_CXX_FLAG_WVLA
β Performing Test HAVE_CXX_FLAG_WVLA - Success
β Performing Test HAVE_CXX_FLAG_WNON_VIRTUAL_DTOR
β Performing Test HAVE_CXX_FLAG_WNON_VIRTUAL_DTOR - Success
β Performing Test HAVE_CXX_FLAG_WUNUSED_PARAMETER
β Performing Test HAVE_CXX_FLAG_WUNUSED_PARAMETER - Success
β Performing Test HAVE_CXX_FLAG_WCONVERSION
β Performing Test HAVE_CXX_FLAG_WCONVERSION - Success
β Performing Test HAVE_CXX_FLAG_WSIGN_CONVERSION
β Performing Test HAVE_CXX_FLAG_WSIGN_CONVERSION - Success
β Performing Test HAVE_CXX_FLAG_WCXX14_COMPAT_PEDANTIC
β Performing Test HAVE_CXX_FLAG_WCXX14_COMPAT_PEDANTIC - Success
β Performing Test HAVE_CXX_FLAG_WDEPRECATED
β Performing Test HAVE_CXX_FLAG_WDEPRECATED - Success
β Performing Test HAVE_CXX_FLAG_WUNUSED_COMMAND_LINE_ARGUMENT
β Performing Test HAVE_CXX_FLAG_WUNUSED_COMMAND_LINE_ARGUMENT - Success
β Performing Test HAVE_CXX_FLAG_QUNUSED_ARGUMENTS
β Performing Test HAVE_CXX_FLAG_QUNUSED_ARGUMENTS - Success
β Performing Test HAVE_CXX_FLAG_WUNKNOWN_WARNING_OPTION
β Performing Test HAVE_CXX_FLAG_WUNKNOWN_WARNING_OPTION - Success
β Performing Test HAVE_CXX_FLAG_WODR
β Performing Test HAVE_CXX_FLAG_WODR - Success
β Performing Test HAVE_CXX_FLAG_FLTO_ODR_TYPE_MERGING
β Performing Test HAVE_CXX_FLAG_FLTO_ODR_TYPE_MERGING - Failed
β Git state: GITDIR-NOTFOUND
β Found ZLIB: /usr/lib/aarch64-linux-gnu/libz.so (found version β1.2.11β)
β Found ZLIB: /usr/include /usr/lib/aarch64-linux-gnu/libz.so
β Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
β Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
β Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
β Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
β Performing Test COMPILER_HAS_DEPRECATED_ATTR
β Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
β Performing Test GNU_READLINE_FOUND
β Performing Test GNU_READLINE_FOUND - Success
β Found Readline: /usr/include /usr/lib/aarch64-linux-gnu/libreadline.so
β Performing Test USABLE_READLINE_FOUND
β Performing Test USABLE_READLINE_FOUND - Success
β Looking for include file xcb/xcb.h
β Looking for include file xcb/xcb.h - found
β Looking for include file png.h
β Looking for include file png.h - not found
β Looking for wsyncup in /usr/lib/aarch64-linux-gnu/libcurses.so
β Looking for wsyncup in /usr/lib/aarch64-linux-gnu/libcurses.so - found
β Looking for cbreak in /usr/lib/aarch64-linux-gnu/libncursesw.so
β Looking for cbreak in /usr/lib/aarch64-linux-gnu/libncursesw.so - found
β Found Curses: /usr/lib/aarch64-linux-gnu/libncursesw.so
β Using fallback man dir: /usr/local/man
β Configuring done
β Generating done
β Build files have been written to: /home/purism/nchat/build
real 3m50.771s
user 3m3.244s
sys 0m44.764s