I built a linux box for ardour. I think I am close.

I just did a fresh insall of ubuntu Edgy. I have spent a few days getting all the dependencies in place for ardour, but the ‘scons’ build seems to be breaking. Here is what I am getting:

$ scons
scons: Reading SConscript files …
Package libart-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libart-2.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libart-2.0’ found
sh: gtk-config: not found
sh: glib-config: not found
Checking for C header file alsa/asoundlib.h… no
Checking for C header file /System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h… no
system triple: i686-pc-linux-gnu

detected DIST_TARGET = i686

Checking for internationalization support …
Checking for C header file libintl.h… yes
Checking for C header file /System/Library/Frameworks/CoreAudio.framework/Versions/A/Headers/CoreAudio.h… no
Checking for C function posix_memalign()… yes
Checking for C function getmntent()… yes
KeyError: ‘SYSMIDI’:
File “SConstruct”, line 727:
SConscript (subdir + ‘/SConscript’)
File “/usr/lib/scons/SCons/Script/SConscript.py”, line 557:
return apply(method, args, kw)
File “/usr/lib/scons/SCons/Script/SConscript.py”, line 494:
return apply(_SConscript, [self.fs,] + files, {‘exports’ : exports})
File “/usr/lib/scons/SCons/Script/SConscript.py”, line 226:
exec file in call_stack[-1].globals
File “libs/midi++/SConscript”, line 35:
if env[‘SYSMIDI’] == ‘CoreMIDI’:
File “/usr/lib/scons/SCons/Environment.py”, line 295:
return self._dict[key]

It looks like scons is not finding three files. I have the latest stable versions of all three programs, but I cannot find these files with ‘locate’.
I am a definite noob, but I have gotten some command line experience with x11 on OSX. Any suggestions on what to do next?


You could do ‘apt-get build-dep ardour’, which would grab deps for the stable series. It might be enough.

I got ardour .99 working! Thanks for the help! I ran ‘sudo apt-get build-dep ardour’ and installed a bunch of programs. Then I needed some other dev libraries, which I guessed at from the error messages, and eventually it compiled!

Thanks again. Now I need a sound card… and some sleep.