qjackctl not configuring

When I try to ‘./configure’ qjackctl-0.2.21, I get this error message and it quits:

checking whether QTDIR environment variable is set… no
configure: error: QTDIR must be properly set.

I downloaded some qt4 lib and dev stuff and tried setting some paths in .bash_profile, but I could not get it to run.

Any ideas on how to fix this? I hope it is okay to ask about this here. The sourceforge forum looks very deserted.

I don’t know how I missed it.
‘sudo apt-get install qjackctl’

I’m still having problems with qjackctl and jackd. When I launch qjackctl, I get these error messages:

06:23:33.033 Startup script terminated with exit status=256.
06:23:33.033 JACK is starting…
06:23:33.033 jackd -t5000 -dalsa -r44100 -p64 -n2 -D -Chw:0,2 -Phw:0,0
06:23:33.035 JACK was started with PID=27622 (0x6be6).
jackd: unknown driver ‘alsa’
06:23:33.043 JACK was stopped with exit status=1.
06:23:33.237 Could not connect to JACK server as client. Please check the messages window for more info.
06:23:35.921 MIDI connection change.

I tried ‘sudo apt-get build-dep qjackctl’ and a build-dep for jackd, but I still get the same error messages. Any ideas?

I tried to configure jackd 0.102.2 again and I noticed that it said “Build with ALSA support…false”.

For some reason the modified PKG_CONFIG_PATH that I put in my .bash_profile file keeps being dropped. Every time I open a new window I have to ‘. ~/.bash_profile’. I wonder how to fix this.

So I tried to rebuild jackd after sourcing .bash_profile and now it says ‘Build with ALSA support…true’.

But, now when I start qjackctl, I get more error messages. I will try to recompile qjackctl, if I can.

ALSA: final selected sample format for capture: 32bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit little-endian
ALSA: use 2 periods for playback
07:14:28.757 Could not connect to JACK server as client. Please check the messages window for more info.
**** alsa_pcm: xrun of at least 2.910 msecs
**** alsa_pcm: xrun of at least 0.175 msecs
**** alsa_pcm: xrun of at least 0.015 msecs
**** alsa_pcm: xrun of at least 1.030 msecs
**** alsa_pcm: xrun of at least 1.415 msecs
07:14:48.677 MIDI connection change.
**** alsa_pcm: xrun of at least 0.092 msecs
07:14:49.084 Could not connect to JACK server as client. Please check the messages window for more info.
**** alsa_pcm: xrun of at least 1.463 msecs
**** alsa_pcm: xrun of at least 4.419 msecs
07:14:51.404 JACK is stopping…

Any thoughts?