Compiling ardour-0.99.3 on Tiger (10.4.7)

2 replies [Last post]
ebs88keys
User offline. Last seen 15 weeks 2 days ago. Offline
Joined: 2006-08-27
Posts:

Hello

I just tried compiling ardour from source on OS X and I got one error which was fixed for compilation to finish normally. It was, however, not possible to launch the "ardour" executable therafter.

Firstly, several system details:
$ uname -sr
Darwin 8.7.0

$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.4.7
BuildVersion: 8J135

$ gcc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

"scons -j2" gave me the following error:

libs/ardour/audioengine.cc: In member function `void
ARDOUR::AudioEngine::update_total_latencies()':
libs/ardour/audioengine.cc:1075: error: `jack_recompute_total_latencies'
undeclared (first use this function)
libs/ardour/audioengine.cc:1075: error: (Each undeclared identifier is reported
only once for each function it appears in.)
scons: *** [libs/ardour/audioengine.o] Error 1
scons: building terminated because of errors.
Initializing "jack_recompute_total_latencies" as a boolean type allowed things to compile:

"scons install" executed normally without error. It was, however, not possible to launch ardour from within X11.app since a "Bus error" occurred. "xterm" gave the following readout:

$ /usr/local/bin/ardour
Ardour/GTK 0.99.3
(built using 1.4.1 with libardour 0.908.2 and GCC version 4.0.1 (Apple Computer, Inc. build 5363))
Copyright (C) 1999-2006 Paul Davis
Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker

Ardour comes with ABSOLUTELY NO WARRANTY
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is free software, and you are welcome to redistribute it
under certain conditions; see the source for copying conditions.
Loading UI configuration file /usr/local/etc/ardour/ardour_ui.rc
Loading system configuration file /usr/local/etc/ardour/ardour_system.rc
Loading user configuration file /usr/local/etc/ardour/ardour.rc
ardour: [INFO]: Apple VecLib H/W specific optimizations in use

Gtk-WARNING **: gtk_type_create(): type `GtkScrolledWindow' already exists.

Gtk-CRITICAL **: file gtkwidget.c: line 1057 (gtk_widget_new): assertion `gtk_type_is_a (widget_type, GTK_TYPE_WIDGET)' failed.

Gtk-CRITICAL **: file gtkscrolledwindow.c: line 428 (gtk_scrolled_window_set_policy): assertion `scrolled_window != NULL' failed.
Bus error

Yet, the "ardour" executable seems to be properly linked to all the requisite libraries including libgtk-1.2.0.

$ otool -L /usr/local/bin/ardour
/usr/local/bin/ardour:
/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate (compatibility version 1.0.0, current version 4.0.0)
/System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI (compatibility version 1.0.0, current version 41.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 368.27.0)
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 18.0.0)
/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit (compatibility version 1.0.0, current version 1.0.0)
/sw/lib/libart_lgpl_2.2.dylib (compatibility version 6.0.0, current version 6.17.0)
/sw/lib/libsndfile.1.dylib (compatibility version 2.0.0, current version 2.15.0)
/usr/local/lib/liblrdf.2.dylib (compatibility version 3.0.0, current version 3.0.0)
/sw/lib/libgtk-1.2.0.dylib (compatibility version 10.0.0, current version 10.1.0)
/sw/lib/libgdk-1.2.0.dylib (compatibility version 10.0.0, current version 10.1.0)
/sw/lib/libgmodule-1.2.0.dylib (compatibility version 1.0.0, current version 1.10.0)
/sw/lib/libglib-1.2.0.dylib (compatibility version 1.0.0, current version 1.10.0)
/sw/lib/libintl.1.dylib (compatibility version 2.0.0, current version 2.1.0)
/usr/X11R6/lib/libXext.6.dylib (compatibility version 6.4.0, current version 6.4.0)
/usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0, current version 6.2.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.6)
/sw/lib/libxml2.2.dylib (compatibility version 9.0.0, current version 9.26.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
/sw/lib/libiconv.2.dylib (compatibility version 6.0.0, current version 6.0.0)
/usr/local/lib/libraptor.1.dylib (compatibility version 3.0.0, current version 3.0.0)
/usr/lib/libcurl.3.dylib (compatibility version 4.0.0, current version 4.0.0)
/sw/lib/libssl.0.9.7.dylib (compatibility version 0.9.7, current version 0.9.7)
/sw/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.7, current version 0.9.7)
/sw/lib/libxslt.1.dylib (compatibility version 3.0.0, current version 3.17.0)
/usr/local/lib/libsamplerate.0.dylib (compatibility version 1.0.0, current version 1.14.0)
/usr/local/lib/libjack.0.dylib (compatibility version 1.0.0, current version 1.23.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

Any ideas as to how to get rid of the "Gtk-CRITICAL" messages would be appreciated.

Thanks in advance.
E

sampo
User offline. Last seen 11 weeks 17 hours ago. Offline
Joined: 2006-03-16
Posts:

Now what made you fool around with jack_recompute_total_latencies?

Of course it won't work, it's supposed to be a function not a variable! :)

You need to install a newer version of jackd, which contains it. I can't remember exactly in which version it was included, but it was added maybe a half a year - 1 year ago.

ebs88keys
User offline. Last seen 15 weeks 2 days ago. Offline
Joined: 2006-08-27
Posts:

Right! After installing jack-0.101.1, compilation completed normally. The "ardour" binary is however faulty since launching from within X11.app fails.

$ /usr/local/bin/ardour
Ardour/GTK 0.99.3
(built using 1.4.1 with libardour 0.908.2 and GCC version 4.0.1 (Apple Computer, Inc. build 5363))
Copyright (C) 1999-2006 Paul Davis
Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker

Ardour comes with ABSOLUTELY NO WARRANTY
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is free software, and you are welcome to redistribute it
under certain conditions; see the source for copying conditions.
Loading UI configuration file /usr/local/etc/ardour/ardour_ui.rc
Loading system configuration file /usr/local/etc/ardour/ardour_system.rc
Loading user configuration file /Users/neuro/.ardour/ardour.rc
ardour: [WARNING]: no MIDI ports specified: no MMC or MTC control possible
ardour: [INFO]: Apple VecLib H/W specific optimizations in use

Gtk-WARNING **: gtk_type_create(): type `GtkScrolledWindow' already exists.

Gtk-CRITICAL **: file gtkwidget.c: line 1057 (gtk_widget_new): assertion `gtk_type_is_a (widget_type, GTK_TYPE_WIDGET)' failed.

Gtk-CRITICAL **: file gtkscrolledwindow.c: line 428 (gtk_scrolled_window_set_policy): assertion `scrolled_window != NULL' failed.
Bus error

It seems that I am still missing something?

Any ideas?
Thanks in advance.
E