Subj : aarch64?
To : Digital Man
From : Ree
Date : Thu Oct 10 2024 08:52 pm
> When I wrote those instructions, they were for a 32-bit ARM build, not
> 64-bit. You might have better luck building libmozjs from source (including
> in the sbbs git repo) and using that instead.
Didn't work for me when I tried building libmozjs from source (same error as
reported in original post: configure: error: "libffi has not been ported to
aarch64-unknown-linux-gnu.")
But the 32-bit ARM instructions worked fine for 64-bit here. Just in case the
friend decides to try sbbs again, here's the full log of commands I executed:
---
apt install build-essential perl zip git gdb libarchive-dev libncursesw5-dev
libnspr4-dev libmosquitto-dev libsystemd-dev libcap-dev xorg-dev libsdl2-dev
libgtk-3-dev libglade2-dev python3 python-is-python3 lrzsz gkermit
wget
http://archive.debian.org/debian/pool/main/libf/libffi/libffi6_3.2.1-6_arm
64.deb
apt install ./libffi6_3.2.1-6_arm64.deb
wget
http://archive.debian.org/debian/pool/main/m/mozjs/libmozjs185-1.0_1.8.5-1
.0.0+dfsg-6_arm64.deb
apt install ./libmozjs185-1.0_1.8.5-1.0.0+dfsg-6_arm64.deb
wget
http://archive.debian.org/debian/pool/main/m/mozjs/libmozjs185-dev_1.8.5-1
.0.0+dfsg-6_arm64.deb
apt install ./libmozjs185-dev_1.8.5-1.0.0+dfsg-6_arm64.deb
mkdir /sbbs
cd /sbbs
wget
https://gitlab.synchro.net/main/sbbs/-/raw/master/install/GNUmakefile
make install SYMLINK=1 NOCAP=1 JSINCLUDE=/usr/include/js JSLIB=mozjs185
---
uname -a reports: Linux rpi-bookworm-arm64 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr
3 17:24:16 BST 2023 aarch64 GNU/Linux
And logging in via telnet reports: NODE: 1 (of 4) - Debian GNU/Linux 12
(bookworm) aarch64
---
� Synchronet � fTelnet Demo Server - ftelnet.synchro.net