06-17-2020, 11:35 AM | #1 |
Human being with feelings
Join Date: Jun 2020
Posts: 16
|
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. |
06-17-2020, 12:00 PM | #2 |
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
|
Code:
sudo apt install catch2 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 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
__________________
💖 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui Last edited by cfillion; 06-17-2020 at 01:09 PM. |
06-17-2020, 03:14 PM | #3 |
Human being with feelings
Join Date: Jun 2020
Posts: 16
|
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! |
Thread Tools | |
Display Modes | |
|
|