Cabbage Logo
Back to Cabbage Site

Problems to Install Cabbage on Ubuntu Studio 16.04 (Fixed)

Hi all,

I finally switched to LINUX but when I install cabbage following the guide, I have a problem:

I cloned Cabbage to GitHub;
I downloaded the VST3 SDK files;
I unzip these files into my Home dir;

I install the dipendencies but at
sudo apt-get -y install libjack-dev

the output is:

electro@Bit:~$ sudo apt-get -y install libjack-dev
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libjack-dev : Depends: libjack0 (= 1:0.124.1+20140122git5013bed0-3build2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Can someone help me?

Thanks,
R

Perhaps you can try to install libjack0:

sudo apt-get install libjack0

And then try again? For what it’s worth, if you are just setting up Linux for the first time, I highly recommend that you go with an audio based distro such as http://kxstudio.linuxaudio.org/
It will install jack and whole load of useful audio tools, including Cadence, which is a GUI frontend to aid starting and stopping of Jack. You don’t need to install the desktop environment for KxStudio either. You can simply install it on top of your existing Linux distro.

Hi Rory,

thanks for your quick response! I managed to get ahead…

this is the list that I followed for install Cabbage (this list is modified for Ubuntu Studio 16.04 clean…);
in this list the “?” indicate files “already exists”:

sudo apt-get -y install libfreetype6-dev
sudo apt-get -y install libx11-dev
sudo apt-get -y install libxinerama-dev
sudo apt-get -y install libxcursor-dev
sudo apt-get -y install mesa-common-dev
sudo apt-get -y install libasound2-dev
sudo apt-get -y install freeglut3-dev
sudo apt-get -y install libxcomposite-dev
?sudo apt-get -y install csound
sudo apt-get -y install libcsound64-dev
sudo apt-get -y install libcsnd-dev
?sudo apt-get -y install libsndfile1
sudo apt-get -y install libsndfile1-dev
sudo apt-get -y install libjack0
sudo apt-get -y install libjack-dev
sudo apt-get -y install libxrandr-dev
sudo apt-get -y install npm
?sudo apt-get -y install msttcorefonts
sudo npm install gitbook-cli -g
sudo ln -s /usr/bin/nodejs /usr/bin/node

# cd to the Home with terminal and digit:
sudo gitbook init
sudo gitbook build

this is the output of the last command:

electro@Bit:~$ sudo gitbook build
info: 6 plugins are installed
info: loading plugin “highlight”… OK
info: loading plugin “search”… OK
info: loading plugin “lunr”… OK
info: loading plugin “sharing”… OK
info: loading plugin “fontsettings”… OK
info: loading plugin “theme-default”… OK
info: found 1 pages

Error: ENOENT: no such file or directory, stat ‘/home/electro/.kde/socket-Bit’
electro@Bit:~$

what I wrong?

Thanks, (… also for the KXStudio link, I do not know this distribution)

R

You can forget about the gitbook issue for now. That only deals with the manual, but the online docs are up to date. You can try to go to the Build/Linux dir and run ./buildCabbage
Btw, are you using the latest dev branchof the Cabbage sources? You probably should as it has the most up to date make files for Linux. Sounds like you may have zipped the source rather than cloned with github? The easiest thing to do is run from the command line:

git clone https://github.com/rorywalsh/cabbage.git 

This will create a folder called Cabbage. Then cd to cabbage and run

git checkout develop

After this you will be on the develop branch. Best to work from there. Keep us posted.

Hi,

I cloned correctly the Cabbage project with your guide…
This is my Home… (You see also the _book folder)

what next?

thanks again,

R

Sorry for the delay in getting back to you! Open up the terminal via Accessories->Terminal Emulator. Then type:

cd /home/electro/cabbage/Builds/Linux

then

./buildCabbage

That may not work out of the box, but hopefully it will. Copy and paste the errors if there are any. No need to copy the entire output, if there are errors they will be at the end.

Hi,

No problem, the delay is one part of life.

The 9 errors that appears on my output are similars:

In file included from …/…/Source/./Plugin/CabbagePluginProcessor.h:27:0,
from …/…/Source/CabbageTable.h:6,
from …/…/Source/CabbageTable.cpp:1:
…/…/Source/./Plugin/…/CabbageMessageSystem.h:27:22: fatal error: csound.hpp: No such file or directory
#include “csound.hpp”

1
make: *** Waiting for unfinished jobs…
In file included from …/…/Source/./Plugin/CabbagePluginProcessor.h:27:0,
from …/…/Source/CabbagePropertiesDialog.h:26,
from …/…/Source/CabbagePropertiesDialog.cpp:21:
…/…/Source/./Plugin/…/CabbageMessageSystem.h:27:22: fatal error: csound.hpp: No such file or directory
#include “csound.hpp”

In file included from …/…/Source/./Plugin/CabbagePluginProcessor.h:27:0,
from …/…/Source/CabbagePropertiesDialog.h:26,
from …/…/Source/CabbagePropertiesDialog.cpp:21:
…/…/Source/./Plugin/…/CabbageMessageSystem.h:27:22: fatal error: csound.hpp: No such file or directory
#include “csound.hpp”

In file included from …/…/Source/./Plugin/CabbagePluginProcessor.h:27:0,
from …/…/Source/CabbageTable.h:6,
from …/…/Source/CabbageTable.cpp:1:
…/…/Source/./Plugin/…/CabbageMessageSystem.h:27:22: fatal error: csound.hpp: No such file or directory
#include “csound.hpp”

In file included from …/…/Source/CabbageMessageSystem.cpp:1:0:
…/…/Source/CabbageMessageSystem.h:27:22: fatal error: csound.hpp: No such file or directory
#include “csound.hpp”

In file included from …/…/Source/./Plugin/CabbagePluginProcessor.h:27:0,
from …/…/Source/CabbagePropertiesDialog.h:26,
from …/…/Source/CabbagePropertiesDialog.cpp:21:
…/…/Source/./Plugin/…/CabbageMessageSystem.h:27:22: fatal error: csound.hpp: No such file or directory
#include “csound.hpp”

In file included from …/…/Source/./Plugin/…/./Plugin/CabbagePluginProcessor.h:27:0,
from …/…/Source/./Plugin/…/CabbageTable.h:6,
from …/…/Source/./Plugin/…/CabbageCustomWidgets.h:27,
from …/…/Source/./Plugin/CabbagePluginEditor.h:23,
from …/…/Source/CabbageCustomWidgets.cpp:3:
…/…/Source/./Plugin/…/./Plugin/…/CabbageMessageSystem.h:27:22: fatal error: csound.hpp: No such file or directory
#include “csound.hpp”

In file included from …/…/Source/./Plugin/CabbagePluginProcessor.h:27:0,
from …/…/Source/CabbageTable.h:6,
from …/…/Source/CabbageTable.cpp:1:
…/…/Source/./Plugin/…/CabbageMessageSystem.h:27:22: fatal error: csound.hpp: No such file or directory
#include “csound.hpp”

,…

In file included from …/…/Source/./Plugin/CabbagePluginProcessor.h:27:0,
from …/…/Source/CabbagePropertiesDialog.h:26,
from …/…/Source/CabbagePropertiesDialog.cpp:21:
…/…/Source/./Plugin/…/CabbageMessageSystem.h:27:22: fatal error: csound.hpp: No such file or directory
#include “csound.hpp”

I think that the errors are only one: No such file or directory…

:unamused:

thanks again,

R

Ok, looks like you don’t have Csound installed. Try running:

sudo apt-get install csound

Then try the above command gain. If the same problem persists, check that the following folder exists:

/usr/local/include/csound

If it doesn’t we need to find out where the default Csound headers are installed, but hopefully once you install Csound everything will build, or at least it will until the next issue :wink:

Hi,

csound is already installed in UbuntuStudio16.04 (is part of this distribution); when I install this OS, Csound is already installed:

the path is: /usr/share/csound

the /usr/local/include/csound don’t exists…

R

That’s quite an old version of Csound. And I apologise for not seeing the ‘Studio’ part of your thread subject. I just saw Ubunt and 16.04. Anyhow, you should try updating Csound? The current version is 6.07, and I believe the current debian package is 6.06? Installing a newer one should put everything in the correct folder. But just in case, can you check /usr/lib and see if there is a csound .so in there?

in the /usr/lib I found only the csound folder:

For update Csound:
Csound is in the Universe repository, right? It remains 6.04…

R

Ok try:

./buiidCabbage "/usr/share/csound" "/usr/lib/csound" 

I’m pretty sure the latest Ubuntu package of Csound is more recent than 6.04. Anyhow, it should work with that version. We just need to get the makefiles to see it.

Hi,

I correct myself:
/usr/share/csound/ contains the hrtf folder for 3d audio;
/usr/lib/csound/ contains the plugins64-6.0 folder;
/usr/include/csound/ It contains the famous file csound.hpp

I navigate in the /home/electro/cabbage/ folder and hit this command:

./buildCabbage “user/include/csound/” “/usr/lib/csound/” “/home/electro/SDKs/VST3SDK/”

but with the same errors:

thanks again

R

Hi,

Your command has a few errors. It should be: ./buildCabbage “/usr/include/csound/” “/usr/lib/csound/” “/home/electro/SDKs/VST3SDK/”

Hi,

Many thanks! Now work!

… user … I have not noticed! :grin:

I had to create the /home/electro/.local/share/applications/ directory before building;

to do a bit of order:

Download the SDK files and put all in the /home/user/SDKs/VST3SDK/

The first thing is install git:
sudo apt-get -y install git

2, clone the Cabbage Git project with this command:
git clone https://github.com/rorywalsh/cabbage.git

This will create a folder called Cabbage (in your HOME).

3, Then cd to this cabbage folder and run
git checkout develop

4 - create the /home/user/.local/share/applications/ directory

5 - with terminal navigate to /home/user/cabbage/
and hit
./buildCabbage “/usr/include/csound/” “/usr/lib/csound/” “/home/user/SDKs/VST3SDK/”

I forget something? (missing only the manual … )

Tomorrow I delete everything and try to reinstall UbuntuStudio and Cabbage for fix into my mind all the passages…

Many thanks for all…

R

Cool! You can try building Csound 6.07 if you haven’t already.

Cabbage never looked so good!

Hi all,

I reinstalled GNU Linux Ubuntu Studio 16.04 and Cabbage with this Cabbage procedure:

1, Update the system (using the system/update software with all the options enabled)

2, sudo apt-get update && sudo apt-get upgrade

3, Download the SDK files AND
3b unzip all in the /home/user/SDKs/VST3SDK/

4, shows hidden files by clic to “show/show hidden files”

5, create the /home/user/.local/share/applications/ directory

6, install all the dipendencies:

sudo apt-get -y install libfreetype6-dev
sudo apt-get -y install libx11-dev
sudo apt-get -y install libxinerama-dev
sudo apt-get -y install libxcursor-dev
sudo apt-get -y install mesa-common-dev
sudo apt-get -y install libasound2-dev
sudo apt-get -y install freeglut3-dev
sudo apt-get -y install libxcomposite-dev
sudo apt-get -y install csound
sudo apt-get -y install libcsound64-dev
sudo apt-get -y install libcsnd-dev
sudo apt-get -y install libsndfile1
sudo apt-get -y install libsndfile1-dev
sudo apt-get -y install libjack0
sudo apt-get -y install libjack-dev
sudo apt-get -y install libxrandr-dev
sudo apt-get -y install npm
sudo apt-get -y install msttcorefonts

7, sudo apt-get update && sudo apt-get upgrade

8, install git:
sudo apt-get -y install git

9, clone the Cabbage Git project with this command:
git clone https://github.com/rorywalsh/cabbage.git

This will create a folder called Cabbage (in your HOME).

10, Then cd to this cabbage folder and run
git checkout develop

11, cd to /home/user/cabbage/Builds/Linux and hit
./buildCabbage “/usr/include/csound/” “/usr/lib/csound/” “/home/user/SDKs/VST3SDK/”

I’d like also to install the manual… :wink:

Many thanks to Rory, Guillermo and Roberto for your support…

chrees, R

Hi,

I realized that by installing libjack0 are removed the seguent packages:

ardour ardour3 gladish idjc jack-keyboard jack-rack jack-tools jackd jackd2
jackd2-firewire jamin ladish laditools libasound2-plugins:i386
libjack-jackd2-0 libjack-jackd2-0:i386 libjack-jackd2-dev meterbridge
python-laditools qjackctl qmidinet qtractor rakarrack slv2-jack
ubuntustudio-controls zynjacku

I can no longer use ardour and other softwares. (In the images you can see before the installation of libjack: the MIDI monitor listen my MIDI keyboard and Ardour is present in my system. But after the installation of libjack0, no longer works the MIDI monitor and I no longer see/use Ardour)…

what can I do?

Chrees,

R

Yes, of course. If you install JACK1 then it removes JACK2 and consequently all the things that depend on it. You should reinstall all those removed packages and ./buildCabbage again. It should build OK as I’m on Ubuntu Studio 16.04 right now and it does.