Telling scons where jack is?

TomB
Posts: 25
Joined: 2006-11-29

Hi,

I’m trying to compile ardour, but scons doesn’t find jackd. This probably is because I’ve installed jack from source as wel, so the libs/headers are in /usr/local/(lib64|include) rather than in /usr/(lib64|include).

How can I tell scons to look for jack at a different location? I tried scons –help, but that just starts the configure process…


paul
Posts: 780
Joined: 2006-03-16
you need to set

you need to set PKG_CONFIG_PATH correctly, to include wherever jack.pc is located. if this is not happen automatically, i expect you will have other problems during the build.


TomB
Posts: 25
Joined: 2006-11-29
Thanks for the info. When I

Thanks for the info.

When I point PKG_CONFIG_PATH to /usr/local/lib64/pkgconfig/ (which is where jack.pc is)

scons PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig/

I still get

Checking for jack... no
jack >= 0.101.1 not found.

Shouldn’t I also tell scons one way or another where the jack header files and libs are?


paul
Posts: 780
Joined: 2006-03-16
PKG_CONFIG_PATH is an

PKG_CONFIG_PATH is an environment variable, not an argument to scons. please read the unix manual page for pkg-config(1).


TomB
Posts: 25
Joined: 2006-11-29
Ah, of course. Silly me.

Ah, of course. Silly me. I’ve put it in my .bash_profile, and now ardour seems to compile just fine. Thanks!