Open villehauk opened 1 year ago
Hi @villehauk, Unfortunately the version of Sonic Pi in the official Raspberry Pi OS repo is outdated (and I think possibly broken).
I see you've tried to install the latest .deb build, which is recommended. Maybe you'll have better luck installing the .deb file using the terminal? Assuming the .deb file is in your Downloads folder, try a command like this:
cd ~/Downloads
sudo dpkg --install ./sonic-pi_4.3.0_1_bullseye.armhf.deb
please help,
I am new at linux and I am using a virtual machine to run a raspberry pi OS. I noticed the sonic pi, but when I tried it gave a boot error so I uninstalled and tried to install another. I tried various ways:
sudo apt-get install sonic-pi
(when I opened, it brought the boot error again and a log I will put it down below as log from sudo apt install sonic-pi).downloading it from the https://sonic-pi.net/#rp (when I tried to unpack the .deb, it returned "failed to install file A package could not be found that allows the action to complete. More information is available in the detailed report", and I can't find that report).
now I am trying to install like in the https://github.com/sonic-pi-net/sonic-pi/blob/dev/BUILD-RASPBERRY-PI.md and when I try the
./app/pi-build-all.sh
it returned that error:I noticed before I have Qt5 installed(probably from previous trials), and I even explored Qt5 designer a bit, but the error seems to mean cmake couldn't find the package.
trying to update or install vcpkg:
after that error, I tried
vcpkg --version
(once again, I am newbie in linux and I don't know how this works) and seemed I don't have vcpkg and tutorials I saw in the web gave away thesudo apt install vcpkg
wich I tried and it returnedE: Unable to locate package vcpkg
(a package to locate packages couldn't be located XD), from that on I tried download from web, adding to PATH (export $PATH=$HOME/vcpkg:$PATH
, returned Bash: export: "a bunch of paths including the vspkg I just added(to the file and directory)": not a valid identifier ), "./vcpkg integrate"(saw in another forum in github and returnedbash: ./vcpkg is a directory
,the file returned a toolchain command but when I ran it it returned 'Bash: -DCMAKE_TOOLCHAIN_FILE=/home/villehauk/vcpkg/scripts/buildsystems/vcpkg.cmake: no such a file or directory')log from 'sudo apt install sonic-pi'
to generate the following log I ran the command again after trying git clone and I didn't remove the git, then I ran a
sudo apt purge sonic-pi
, I don't know if that will prevent a solution but I realized now this isn't a good practiceSonic Pi Boot Error Report
System Information
GUI Log
/home/villehauk/.sonic-pi/log/gui.log
Server Errors
/home/villehauk/.sonic-pi/log/server-errors.log
Server Output
/home/villehauk/.sonic-pi/log/server-output.log
Scsynth Output
/home/villehauk/.sonic-pi/log/scsynth.log
Process Log
/home/villehauk/.sonic-pi/log/processes.log
THANK YOU A LOT FOR READING MY ISSUE
subsequent pi-build-all.sh
also, when I tried running
./app/pi-build-all.sh
subsequently, it also returns this before the cmake error: