Errors on building from source packages in Debain 11 arm64

2 posts / 0 new
Last post
KK4SVR
Errors on building from source packages in Debain 11 arm64

Currently running 64bit Debian GNU/Linux 11 (bullseye) on a raspberry pi 4 that has been updated as of last night and while the sourcing of the file does attempt to install the cqrlog package there are errors on the install; not sure if its related to 64 bit or not at this point.

Method of install:
sudo apt-get install -y lcl-2.0 lazarus-2.0 fp-compiler-3.2.0 fpc-3.2.0 libssl-dev git build-essential \
libmariadb-dev-compat lazarus-ide lcl lcl-gtk2 lcl-nogui lcl-units lcl-utils lazarus lazarus-doc lazarus-src \
fp-units-misc fp-units-rtl fp-utils fpc fpc-source libssl-dev default-mysql-client-core default-mysql-server \
default-mysql-server-core gawk libcgi-fast-perl libcgi-pm-perl libconfig-inifiles-perl libdbd-mysql-perl \
libdbi-perl libencode-locale-perl libfcgi-perl libhtml-parser-perl libhtml-tagset-perl \
libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl liblwp-mediatypes-perl \
libmariadb-dev-compat libnetpbm10 libreadline5 libterm-readkey-perl libtimedate-perl liburi-perl \

cd $HOME
git clone https://github.com/ok2cqr/cqrlog.git
cd $HOME/cqrlog
make
sudo make install

output:

mkdir: cannot create directory ‘/temp’: Permission denied
bash: /config: No such file or directory
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libreadline5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
readline-common

E: Package 'libreadline5' has no installation candidate
fatal: destination path 'cqrlog' already exists and is not an empty directory.
lazbuild --ws=gtk2 --pcp=/tmp/.lazarus src/cqrlog.lpi
make: lazbuild: No such file or directory
make: *** [Makefile:9: cqrlog] Error 127
install -d -v /usr/bin
install -d -v /usr/share/cqrlog
install -d -v /usr/share/cqrlog/ctyfiles
install -d -v /usr/share/cqrlog/help
install -d -v /usr/share/cqrlog/help/img
install -d -v /usr/share/cqrlog/members
install -d -v /usr/share/cqrlog/xplanet
install -d -v /usr/share/cqrlog/voice_keyer
install -d -v /usr/share/cqrlog/zipcodes
install -d -v /usr/share/cqrlog/images
install -d -v /usr/share/cqrlog/images/icon/32x32
install -d -v /usr/share/cqrlog/images/icon/64x64
install -d -v /usr/share/cqrlog/images/icon/128x128
install -d -v /usr/share/cqrlog/images/icon/256x256
install -d -v /usr/share/pixmaps/cqrlog
install -d -v /usr/share/icons/cqrlog
install -d -v /usr/share/applications
install -d -v /usr/share/appdata
install -d -v /usr/share/man/man1
install -v -m 0755 src/cqrlog /usr/bin
install: cannot stat 'src/cqrlog': No such file or directory
make: *** [Makefile:42: install] Error 1

tall] Error 1

CRQLOG Make File lines:
8: cqrlog: src/cqrlog.lpi
9: $(CC) --ws=gtk2 --pcp=$(tmpdir)/.lazarus src/cqrlog.lpi
10: $(ST) src/cqrlog
11: gzip tools/cqrlog.1 -c > tools/cqrlog.1.gz

42: install -v -m 0755 src/cqrlog $(bindir)

sudo apt-get install readline-common
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
readline-common is already the newest version (8.1-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

oh1kh
Errors on building from source packages in Debain 11 arm64

HI !

Quite long apt install line. Also the folder "/temp" looks weird, like from Windoze.

If you just install lazarus package that should add all required other packages.
Then you need also MariaDB as I assume the default database engine is Mysql.

mariadb-client-10.3 mariadb-server-10.3 libmariadb3 libmariadb-dev-compat

These packages should do it and remove Mysql.

Did you read this https://www.cqrlog.com/node/3124 ? It should go mostly like that.

--
Saku
OH1KH