Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Linux

Reply
 
Thread Tools Display Modes
Old 06-17-2020, 11:35 AM   #1
aRMARa
Human being with feelings
 
Join Date: Jun 2020
Posts: 16
Default Linux: Compiling Reapack from source (issue)

Hola everyone, new human here. : )

Recently decided to do what I've been sitting on for a long time: ditch windows. What a beautiful thing that such a powerful daw like reaper is available in linux.

Now, I've been wanting to compile Reapack in linux Debian Buster for a few days without success. The github README page lists dependent libraries which are:

Boost (1.56 or later)
Catch2
libcurl
libxml2
OpenSSL or compatible
SQLite
zlib

I have checked and gone through each and every single one of them to make sure that the right library is installed and that the version is up to date. However just one thing I couldn't figure out which is catch2. Catch without the '2' is already installed on my system. Now, Catch2 github says just to put single header file in the source code folder so I just dropped in to the reapack folder which is the unpack from a tar.gz I downloaded for reapack which contains:

build
cmake
extensions etc..


Now I open terminal in the directory reapack and try and build it with:

cmake -B build -DCMAKE_BUILD_TYPE=Debug




error message:
__________________________________________________ ___________________

-- Found SQLite3: /usr/include (found version "3.27.2")
-- Found Git: /usr/bin/git (found version "2.20.1")
-- Found PHP: /usr/bin/php (found version "7.3.14-1~deb10u1")
CMake Error at test/CMakeLists.txt:1 (find_package):
By not providing "FindCatch2.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Catch2", but
CMake did not find one.

Could not find a package configuration file provided by "Catch2" with any
of the following names:

Catch2Config.cmake
catch2-config.cmake

Add the installation prefix of "Catch2" to CMAKE_PREFIX_PATH or set
"Catch2_DIR" to a directory containing one of the above files. If "Catch2"
provides a separate development package or SDK, be sure it has been
installed.


-- Configuring incomplete, errors occurred!
See also "/home/armara/Downloads/reapack/build/CMakeFiles/CMakeOutput.log".
See also "/home/armara/Downloads/reapack/build/CMakeFiles/CMakeError.log".

__________________________________________________ _______________________



Being relatively new to linux I really don't know what all this means. I would love your helping hand please. Thank you!

Last edited by aRMARa; 06-17-2020 at 12:36 PM.
aRMARa is offline   Reply With Quote
Old 06-17-2020, 12:00 PM   #2
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,909
Default

Code:
sudo apt install catch2
EDIT: Looks like that package is only available in Debian Bullseye and newer... You could probably still install it on Buster:
Code:
wget http://ftp.ca.debian.org/debian/pool/main/c/catch2/catch2_2.12.1-1_all.deb
sudo apt install ./catch2_2.12.1-1_all.deb
...or install Catch2 manually:
Code:
git clone --depth 1 --branch v2.12.1 -c advice.detachedHead=false https://github.com/catchorg/Catch2.git
cmake Catch2 -B Catch2/build -DBUILD_TESTING=OFF
sudo cmake --build Catch2/build --target install
...or try ReaPack's pre-built Linux binaries.

Last edited by cfillion; 06-17-2020 at 01:09 PM.
cfillion is offline   Reply With Quote
Old 06-17-2020, 03:14 PM   #3
aRMARa
Human being with feelings
 
Join Date: Jun 2020
Posts: 16
Default Fucking ay!

Thank you so much cfilion for detailed, prompt and useful reply. we've done it!

I love and I'm joyous to be part of an extremely active forum where the developer himself replies to your thread. What a sick ass shit

For anyone in the future who would be reading this:




1. If you are using debian stable like me and getting error messages related to certain packages' version being not up to date then use a backport of debian where it will install packages from unstable versions of debian with more up to date software:

add this to your: /etc/apt/sources.list
_______________________________________
deb http://ftp.debian.org/debian <DEBIAN CODE NAME>-backports main
_______________________________________

In my case <DEBIAN CODE NAME> would be 'Buster' (as of June 2020)

then run this command:

sudo apt update

//////////////////////////////////////////////

Now we need install more up to date software. If I wanted more up to date version of 'cmake' it would be

sudo apt-get install -t <DEBIAN CODE NAME>-backports cmake







2. The dependent libraries usually have extra names attached to them like '-dev' at the end, so google each dependencies to find that apt name to install with.






3. If you are getting error that RUBY-DIR and libraries like that are missing run the command:

sudo apt install ruby-full













That's about it. Apart from that it would be smooth sailing follwing the instructions on cfilion's README page @ https://github.com/cfillion/reapack/...ster/README.md


Thanks again, and peace!
aRMARa is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:26 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.