I am trying to build on Arch Linux (AUR packages are both broken).
I have cabbage and JUCE both in ~/git. I have ~/SDKs with the following sub-directories:
bin doc index.html pluginterfaces public.sdk vstgui.sf
I have gone into ~/git/JUCE/extras/Projucer/Builds/LinuxMakefile and run make
, which completes successfully.
When I go into ~/git/cabbage/Builds/LinuxMakefile and run ./buildCabbage
, I get tons of errors. The first is ./buildCabbage: line 17: [: ==: unary operator expected
. I fix this by changing line 17 from if [ $1 == "debug" ]; then
to if [[ $1 == "debug" ]]; then
(as the shebang for the build script is #!/bin/bash
I am taking advantage of a bash-ism), but then I have many other errors. A sample of the build output is here: https://0bin.net/paste/xUtQ4TzM#jyPU2lLt-qAPQAg+6PpO2sI2+lhk2xXyj0NqXXYHdno
It’s likely that there’s something very simple that I am doing wrong. I would be grateful for assistance.