Page 1 of 2

Cadence + Debian Wheezy

Posted: Sat May 25, 2013 12:32 pm
by danboid
Has anyone here got Cadence running properly on anything other than Ubuntu, in my case Debian Wheezy?

I have replaced Wheezy's JACK with JACK2 git compiled with dbus support and I have compiled Cadence from git. jackdbus, jack_control etc are in my path and seem to work but when I start Cadence the JACK status and bridges sections are greyed out and it says 'jackdbus is not available'.

Whats todo here Mr F?

Also, its not mentioned in Cadence's INSTALL.md file but won't I have to set up my .asoundrc like it is under KXStudio to get the a2j bridge working? I think I know the answer to that one!

Re: Cadence + Debian Wheezy

Posted: Sat May 25, 2013 3:40 pm
by danboid
If thats what it takes to get Cadence running under Deb then I'd better install JACK 'properly' first ie from a .deb.

Could you give me a link to your JACK deb src package too please? Can you foresee anything else I may need?

Re: Cadence + Debian Wheezy

Posted: Sat May 25, 2013 3:42 pm
by danboid
Hopefully your JACK deb src package is based upon a very recent git coz I'm running this on a Pandaboard and ARM support has only made it into J2 recently...

Re: Cadence + Debian Wheezy

Posted: Sat May 25, 2013 10:02 pm
by danboid

Code: Select all

dh_shlibdeps
dpkg-shlibdeps: error: no dependency information found for /usr/lib/libjack.so.0 (used by debian/cadence-tools/usr/bin/cadence-xycontroller)
dh_shlibdeps: dpkg-shlibdeps -Tdebian/cadence-tools.substvars debian/cadence-tools/usr/bin/cadence-jackmeter debian/cadence-tools/usr/bin/cadence-xycontroller returned exit code 2
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc failed
So I tried:

Code: Select all

sudo aptitude reinstall libjack-jackd2-0 jackd2
sudo ldconfig
Then ran 'debuild -rfakeroot' again but just get the same error.

Re: Cadence + Debian Wheezy

Posted: Sat May 25, 2013 10:13 pm
by danboid
I should also mention that in order for me to get cadence to compile on a non-x86 machine I had to remove

Code: Select all

-mtune=generic -msse -mfpmath=sse
from BASE_FLAGS in c++/Makefile.mk

Re: Cadence + Debian Wheezy

Posted: Sat May 25, 2013 11:23 pm
by danboid
Any idea how to fix that debuild error or how I might fix my 'jackdbus not available' error?

Surely I wouldn't have to re-install everything and hope that fixes it!?

Re: Cadence + Debian Wheezy

Posted: Sun May 26, 2013 10:47 am
by danboid
Excellent!

Indeed, installing those three extra packages has brought the Cadence JACK status and bridges sections to the main window to life and I have now proved to myself that JACK is working on Pandaboard Debian! :D

Could you please add those 3 packages to the build dependencies section of Cadence's INSTALL.md file please F?

However, everything is not working just yet. If I set the ALSA audio bridge to "ALSA -> Loop -> JACK" the bridge fails to start and dumps:

Code: Select all

cadence-aloop-daemon started, using alsa_in/out and 2 channels
Cannot read socket fd = 3 err = Interrupted system call
Could not read result type = 25
to the terminal that started cadence.

Re: Cadence + Debian Wheezy

Posted: Sun May 26, 2013 11:48 am
by danboid
The ALSA -> JACK (Plugin) mode does work though, after

Code: Select all

sudo apt-get install libasound2-plugins
I tested it by playing HTML5 (webm/VP8) vids on YouTube, so that does work, contrary to a comment made in the 'new features for 12.04.2' thread!

<Victory dance>

:lol:

PS I realise you don't support the AJ bridge in plugin mode so lets get the loop mode working too.

You'll note I've been using sudo in my commands here. Thats because the Debian rootfs I use to install on my Pandaboard comes with sudo installed by default so I've just stuck with it.

Re: Cadence + Debian Wheezy

Posted: Tue May 28, 2013 11:47 pm
by danboid
Thanks F!

Although it seems the vanilla Wheezy kernel for x86 includes the snd-aloop module, the kernel I'm running on my Panda doesn't so I'll need to compile a new kernel before I can test the ALSA kernel loop there.

I also noticed Debian doesn't seem to package indicator-cpufreq yet. Of course, you could always package it but if that icon bug is still unfixed (is it? I need to check..) then maybe there's an alternative that is in Debian?

Just thinking about the Debian switchover n' packaging.

Re: Cadence + Debian Wheezy

Posted: Mon Jun 03, 2013 5:51 pm
by Qualitymix
How does one go about getting Cadence to work on Debian?

Re: Cadence + Debian Wheezy

Posted: Tue Jun 04, 2013 2:12 pm
by Qualitymix
I ran git clone on the cadence repo... But it won't make... Stops right at jack meter..saying it can't find the .cpp file to output... Not sure exactly cz I'm not at my pc... But I just can't seem to build cadence at all. Is there something that a debian machine has to do before make-ing?