[Ardour-Dev] Revision 12240 is not starting here

Robin Gareus robin at gareus.org
Sat May 12 09:02:30 PDT 2012


Hi Jörn,

On 05/12/2012 05:18 AM, Jörn Nettingsmeier wrote:
> On 05/10/2012 07:28 PM, Paul Davis wrote:
>> On Thu, May 10, 2012 at 1:09 PM, Dragan Noveski<perodog at gmx.net>  wrote:
>>> hallo,
>>>
>>> i just installed A3 rev-12240 and the create new session diaog is
>>> looking
>>> pretty strange and i am seeing this in the terminal:
>>
>> ./waf install is NOT a supported way to run ardour3 at this time.
> 
> oh, interesting factoid. i've been happily running ./waf install for
> months, without apparent ill effects... good to be warned.
> 

last I checked it worked fine with prefix=/usr/local but not with
prefix=/usr - one of the problems being /usr/local/etc (OK) /usr/etc
(not OK).

Luckily one can fix the issue(s) for oneself - what works for me to make
a 'waf install'ed, prefix=/usr and DESTDIR installs run is:

--- a/gtk2_ardour/ardour.sh.in
+++ b/gtk2_ardour/ardour.sh.in
@@ -1,5 +1,12 @@
 #!/bin/sh

+export
ARDOUR_INSTANT_XML_PATH=@PREFIX@/../etc/ardour3:@PREFIX@/etc/ardour3 #
XXX @SYSCONFIGPATH@ ?! /etc vs /usr/local/etc/
+export ARDOUR_PATH=@PREFIX@/share/ardour3:$ARDOUR_INSTANT_XML_PATH
+export ARDOUR_CONFIG_PATH=$ARDOUR_PATH
+export ARDOUR_PANNER_PATH=@LIBDIR@/ardour3/panners
+export ARDOUR_SURFACES_PATH=@LIBDIR@/ardour3/surfaces
+export ARDOUR_MIDIMAPS_PATH=@PREFIX@/share/ardour3/surfaces
+
 export GTK_PATH=@LIBDIR@/ardour3${GTK_PATH:+:$GTK_PATH}


Theoretically you'd only need to set ARDOUR_PATH. but things WRT to
bundling keep changing. Alternatively you can also create some symlinks
in $XDG_CONFIG_HOME/ardour3/ to panners, surfaces, etc. see
gtk2_ardour/main.cc:fixup_bundle_environment() and tools/linux_packaging/*

robin



More information about the Ardour-Dev mailing list