ardour 2 compilation problem...

hello, i try to compile ardour and it’s not working…
i intall before pkg-configure and no problem with this install…
i run scons :

“scons: Reading SConscript files …home/zitoune
Package sndfile was not found in the pkg-config search path.
Perhaps you should add the directory containing `sndfile.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘sndfile’ found
Package lrdf was not found in the pkg-config search path…
…”

i have an pkg-configure.exe in /usr/local/bin

thanks

looks like you haven’t got libsoundfile installed. You need a package like libsoundfile-dev as well in order to compile. When I started to compile I had to successively add packages in order to get it to work. (this was on ubuntu 06-06 x86-64 fyi).
Some missing dependencies weren’t correctly identified by scons so I had to trace back from a compile error (try to find the missing .h file, search with google and your favourite distro package manager) which package was missing.

have fun,

seb

oh yes, I forgot to mention:
<futile-rant>
To keep noise down in a forum like this could people refrain from multiple “HELP I CNA’T COMPILE ardour2” posts and use the #ardour on irc.freenode.net or something? This one is for the “big ideas” and general-interest stuff. Highly visible on the beautiful new website, we could do with a bit of self-censorship.
</futile-rant>

Thanks for the answer !

But libsndfile-dev are intalled…

i shearch the files not found by scons :
sndfile.pc, raptor.pc, lrdf.pc, samplerate.pc, …*.pc,…
this files are in /usr/lib/pkgconfig/

I think the path is incorrect.
I have to create a symbolic link ?

scons report :

Package sndfile was not found in the pkg-config search path.
Perhaps you should add the directory containing `sndfile.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘sndfile’ found

and the same message for others files not found.

i try : scons PKG_CONFIG_PATH=/usr/lib/pkg-config/

but no result…

i try have help on #ardour channel , but no answer.

from a terminal try

pkg-config --modversion sndfile

I get 1.0.15 as the version
If you see “No package ‘sndfile’ found.” Then re-install as it’s broke/not really there. Solve that and you’ll be on your way.