jack-1.9.2 compiler doesn't find alsa-1.0.17

Asked by leighgable

Hello,

I am trying to install jack 1.9.2 but when I try and compile it with ./waf configure, it doesn't detect alsa. If I grab it with svn and try autogen.sh it doesn't compile at all. I have the build-essential packages installed, automake, libtoolize, etc. Does anyone know how I can force the compiler to find alsa? Cat /proc/asound/version returns alsa 1.0.17...

Here is the output of ./waf configure:

Linux detected
Checking for program g++ : ok /usr/bin/g++
Checking for compiler version : ok 4.3.2
Checking for program cpp : ok /usr/bin/cpp
Checking for program ar : ok /usr/bin/ar
Checking for program ranlib : ok /usr/bin/ranlib
Checking for g++ : ok
Checking for program gcc : ok /usr/bin/gcc
Checking for compiler version : ok 4.3.2
Checking for program ar : ok /usr/bin/ar
Checking for program ranlib : ok /usr/bin/ranlib
Checking for gcc : ok
Checking for header samplerate.h : not found
Checking for alsa >= 1.0.0 : Package "alsa (>= 1.0.0)" could not be found or the found version is too old.
Checking for libfreebob >= 1.0.0 : Package "libfreebob (>= 1.0.0)" could not be found or the found version is too old.
Checking for libffado >= 1.999.17 : Package "libffado (>= 1.999.17)" could not be found or the found version is too old.
Checking for header sndfile.h : not found
Checking for header ncurses.h : not found
Checking for library readline : not found

==================
JACK 1.9.2 exported from r3454M
Build with a maximum of 64 JACK clients
Build with a maximum of 1024 ports
Install prefix : /usr/local
Library directory : /usr/local/lib/
Drivers directory : /usr/local/lib/jack
Build doxygen documentation : no
Build with engine profiling : no
Build with ALSA support : no
Build with FireWire (FreeBob) support : no
Build with FireWire (FFADO) support : no
Build D-Bus JACK (jackdbus) : no

All the best, Leigh

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
leighgable
Solved:
Last query:
Last reply:
Revision history for this message
jtniehof (jtniehof) said :
#1

You need to install the -dev packages for any libraries you want to compile against. Try:
sudo aptitude install libsamplerate0-dev libasound2-dev libsndfile1-dev libncurses5-dev libreadline5-dev
and if you want the FireWire support:
sudo aptitude install libfreebob0-dev

Generally I'd recommend sticking with the version that's in Ubuntu rather than compiling from source, unless you have very specific needs.

Revision history for this message
leighgable (leighgable) said :
#2

Thanks very much for your response. That did the trick.

You are probably right about sticking to the ubuntu packages, but I want to see if I can get better performance with jack on intrepid as per a post I read here: http://article.gmane.org/gmane.comp.audio.rosegarden.user/7834 I've been stuck running jack as "playback only".

Regards, Leigh