Running yunohost on a rpi4, everything updated and no custom stuff.
Simplex was working fine both smp and xftp. But after the client upgrade to 5.5.6 xftp stopped working (in the client I see a server test as failed), smp works fine. I thought it was some bug to be corrected in the newer version, but after recent server and client upgrade the problem persist, what could it be?
I see nothing wrong in the logs.
Please note that the arm64 version is still unchanged, only the amd64 version has been updated to version 5.6.2. (Not having an arm64 platform, I cannot compile simplex to arm64…)
Hello,
Is a Raspberry Pi 3B with a 64 bits Raspberry Pi OS can compile it ?
If it’s possible, i can try to do it but i need a CLI detailed procedure.
ppr
Oh I see. I will wait then, could it be possible to add an onion domain as relay also?
These are the steps to build simplex:
But I am using from the yunohost repo app, do you recomend installing manually?
do you recomend installing manually?
No, I was answering to @ppr for ARM binary build.
Hello,
I’ve done a test to build for amd64 on a VM.
I had to add some packages regarding the tutorial.
I think i’ve understand the way to build.
Now i’m going to buy an sd-card and try to build on my Raspberry Pi.
If my Raspberry with 1Go ram survive the arm64 build, could you explain me how to push them on Github ?
ppr
After compiling, you will end up with 2 binaries: smp-server
and xftp-server
.
- Rename them
smp-server_arm64
andxftp-server_arm64
and drop them In the 5.6.2 release page → Release 5.6.2 · YunoHost-Apps/simplex_ynh · GitHub (you may need autorisation) - Update
manifest.toml
page with the ARM64 version release
thanks for whoever worked on the latest arm upgrade of the server, but I still have xftp not working yet. I am running the testing branch
Hello,
I try but it can’t build simplexmq
, even with cabal install --allow-newer
.
I’m always stuck at build simplexmq
about dependencies.
I hope it’s just related about select good versions with ghcup tiu
that l’ve missed.
I’m going to restart from scratch later because it takes a lot of time.
ppr
Hello,
Finally I’ve install Debian 10 Buster because it failed to build with Debian 11 Bullseye or with Debian 12 Bookworm.
Maybe related to some packages about .deb10 during ghcup’s installation.
So now my poor Raspberry 3B is building and it takes a loooooooot of time. I hope it goes to the end without any dependency’s problem or others.
If someone wants to try, with a Raspberry Pi 4/5, or maybe with Debian arm64 in a VM on a Mac M1/2/3 arm64 if it’s technically possible ?, i can share my few notes about the process.
ppr
SMP,XFTP,NTF lastest arm64
Openssl 3.0.2
GHC 9.6.3
Cabal 3.10.1.0
Moderation: removed link as this user is not known from the dev or moderation team, we can’t be sure those binaries are safe to use. No hard feelings, sorry if you sincerely wanted to help a fellow user.
Moderation team remove my binaries so…
ppr
i need a CLI detailed procedure.
Ubuntu server 22.04 LTS 64Bit
sudo apt update && apt upgrade
sudo apt install -y build-essential curl libffi-dev libffi8ubuntu1 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 libssl-dev libgmp3-dev zlib1g-dev
sudo fallocate -l 2G /swap.img && chmod 600 /swap.img
sudo mkswap /swap.img
sudo swapon /swap.img
sudo reboot
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_GHC_VERSION=9.6.3 BOOTSTRAP_HASKELL_CABAL_VERSION=3.10.1.0 BOOTSTRAP_HASKELL_ADJUST_BASHRC=P sh
git clone https://github.com/simplex-chat/simplexmq
cd simplexmq
git checkout stable
cabal update
cabal install
Wait 11 hours on RPi 3B+
Hello @ericg ,
It’s been quite a bit long because it was not as simple as i think and i takes some times to build the whole things.
So, i’ve adapted CLI proposal from @DarekDevv and i tried to use the recommanded version from Installation - GHCup but it failed close to the goal because of version of the dependency tree
.
So here are my notes :
Summary
Ubuntu server 22.04 LTS 64 Bit
https://ubuntu.com/download/raspberry-pi
sudo apt update && sudo apt upgrade
sudo apt install -y build-essential curl git llvm libffi-dev libffi8 libgmp-dev libgmp10 libncurses-dev libncurses6 libtinfo6 libssl-dev libgmp3-dev zlib1g-dev git zram-tools ghc libbsd-dev libmd-dev libgmp3-dev ghc-prof ghc-doc libghc-library-dev
sudo swapoff -a
sudo fallocate -l 2G /swapfile.img
sudo chmod 600 /swapfile.img
sudo mkswap /swapfile.img
sudo swapon /swapfile.img
sudo cp /etc/fstab /etc/fstab.bak
echo ‘/swapfile.img swap swap defaults 0 0’ | sudo tee -a /etc/fstab
sudo swapon --show
echo ‘vm.swappiness=10’ | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
sudo reboot
curl --proto ‘=https’ --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
ghcup tui
Install and Set if not
GHC 9.6.4
cabal 3.10.3.0 latest, recommended
HLS 2.4.0.0
Stack 2.11.1
GHCup 0.1.22.0 latest, recommended
then Quit
. /home/simplex/.ghcup/env
git clonehttps://github.com/simplex-chat/simplexmq
cd simplexmq
git checkout stable
cabal update
cabal install --only-dependencies
cabal install
scp simplex@raspberrypi.local:/home/simplex/.cabal/store/ghc-9.6.4/simplexmq-5.7.4.0-e-smp-server-6cba1bb2bdd072cd3b600bdaf1eac3f3119298143944e4f0771bef067e93bad1/bin/smp-server /home/$USER
scp simplex@raspberrypi.local:/home/simplex/.cabal/store/ghc-9.6.4/simplexmq-5.7.4.0-e-xftp-server-1198c2295b8805fde8a51a28ef965873683e0ddd990182cdee87a36bd77aedf3/bin/xftp-server /home/$USER
I haven’t rights to push the files to it … a little late to see that @DarekDevv has made a PR.
ppr
Hello,
No good news after trying ti upgrade with my builds :
https://paste.yunohost.org/loyetejesi
error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory
https://paste.yunohost.org/faqiyobizi.yaml
/usr/local/bin/simplex/xftp-server: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory
ppr
OPENSSL 3!
Show pls
cat /etc/os-release
Hello,
cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux 11 (bullseye)”
NAME=“Debian GNU/Linux”
VERSION_ID=“11”
VERSION=“11 (bullseye)”
VERSION_CODENAME=bullseye
ID=debian
HOME_URL=“https://www.debian.org/”
SUPPORT_URL=“Debian -- User Support”
BUG_REPORT_URL=“https://bugs.debian.org/”
I’ve seen that :
-
openssl (1.1.1w-0+deb11u1)
https://packages.debian.org/bullseye/openssl -
openssl (3.0.11-1~deb12u2)
Debian -- Details of package openssl in bookworm
Maybe have to wait Bookworm
to PR or, if it’s possible in the YunoHost ecosystem, add OpenSSL3
in a PR in order to install this package by build it or with a Package Pin-Priority.
ppr
Hello,
I’m trying to rebuild on the basis of RaspiOS Bullseye in order to build with an OS using OpenSSL1.
edit :
ppr
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.