Telling scons where jack is?


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…

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.

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?

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

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