sonic-pi-net / sonic-pi

Code. Music. Live.
https://sonic-pi.net
Other
10.83k stars 922 forks source link

Notes on installing latest stable (v3.2.2) sonic-pi in debian buster #2532

Closed pedro-nonfree closed 2 years ago

pedro-nonfree commented 4 years ago

(EDIT: in this post, I first tried the latest commit version, checkout my next post to get instructions-notes for stable version)

It works,

but, in the dependency list:

libffi7 package is not available substitute by libffi6

while running ./linux-prebuild.sh --build-aubio I got this error

/usr/bin/ld: cannot find -lrtmidi

and I solved it this way:

apt install librtmidi-dev
ethancrawford commented 4 years ago

Thanks @pedro-nonfree :) I had noticed the same, but had not quite gotten around to updating the install instructions. I'll make a note to do so in time for the next beta release 👍

pedro-nonfree commented 4 years ago

UPDATE: Trying the latest commits few days ago I saw at least, two serious bug in my opinion:

But stable version is not affected

Getting latest stable to work looks painful, maybe not anymore. Here we are putting light on it.

In stable (v3.2.2), you read the linux installation guide and you feel very frustrated because it points to a debian stretch guide, and it links to scripts that you cannot find (also with notes like: it is possible that it might not work for you). Seraching for them I looked that they were in a directory called old, OK I am not going to use them. Fortunately, I found this thread which pointed to this guide, and it did this steps which worked nicely (I will reply to this bug report if I get into errors)

cd app/gui/qt
./unix-prebuild.sh
./unix-config.sh
cd build
cmake --build .

before running the previous steps, you would need to have the dependencies OK:

    sudo apt-get install \
      build-essential cmake git \
      ruby ruby-dev \
      erlang-base erlang-dev erlang-tools \
      libasound2-dev libaubio5 libavahi-client-dev libboost-dev \
      libffi-dev libffi6 \
      libfftw3-dev libicu-dev \
      libjack-jackd2-0 libjack-jackd2-dev \
      libqt5opengl5-dev libqt5sensors5-dev libqt5svg5-dev libqt5webkit5-dev \
      libreadline6-dev libscsynth1 libudev-dev libxt-dev \
      qt5-default qtdeclarative5-dev qtmultimedia5-dev qtpositioning5-dev \
      qttools5-dev qttools5-dev-tools \
      sc3-plugins \
      librtmidi-dev

I did not try to compile it from a clean computer (I mean: I first compiled latest version, and then did git checkout vv3.2.2). Let's see if someone or myself have the opportunity to just try this commands and succeed

samaaron commented 2 years ago

We have improved our build process - especially for Raspberry Pi - in addition to a complete overhaul of how we boot the system. Therefore, please feel free to re-open if this is still an issue with the recently released v4 of Sonic Pi - https://github.com/sonic-pi-net/sonic-pi/releases