I’ve run into trouble trying to install 2.8 on my Kubuntu 8.04.
I ran: scons VST=1 FFT_ANALYSIS=1 LV2=1 FREESOUND=1
And scons builds fine, but when I try to install with: sudo checkinstall scons install -D
the install fails with liblo does not appear to be installed.
I tried searching around the forum, uninstalled the liblo packages that came with the system, got fresh liblo sources, compiled them, and still the error persists.
Has anybody had similar experiences? Any pointers?
I’ve had a similar problem; in my case it was caused by the fact that the library was installed in /usr/local/lib (as are most locally-installed
libraries), but the default for pkg-config is only to search /usr/lib, at least for root. You can override this by setting the PKG_CONFIG_PATH
variable.
so try this:
sudo su -
cd to where you built ardour
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
checkinstall scons install -D
[I can’t remember whether you have to set PKG_CONFIG_PATH to
/usr/local/lib:/usr/lib
or
/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
The SConstruct script seem to look for ‘lo_server_new’ in lo.h (should be in/usr/include/lo/lo.h) however ‘lo_server_new’ is defined in /usr/include/lo/lo_lowlevel.h which is included by lo.h.
Bottomline, changing ‘lo_server_new’ in SConstruct to ‘lo_server_thread_new’ solved the problem for me.
it seems that scons also breaks the build environment, so pkg-config does not find its configuration files for the libraries, and scons reports unsatisfied dependencies
unfortunately, scons is something like a 45000 lines makefile, so investigating the source of this problem in scons is out of the question.
as a workaround, i wrote a wrapper script around pkg-config for building ardour:
Um scons should work fine with pkg-config. It actually sounds like you are just creating the PKG-CONFIG-PATH variable with what you are doing effectively, which should be an environment variable in your environment, can you confirm that it is normally there on a fresh login? Thanks.