need some help to compile A2 !

Hi,

have compile A2 many times, and now it doesn’t work anymore. when scons, system answer :

/ardour-2.8.16$ scons
scons: Reading SConscript files …
Checking for pkg-config version >= 0.8.0… (cached) yes
Checking for gthread-2.0… (cached) yes
Checking for jack… (cached) yes
Checking for sndfile… (cached) yes
Checking for libgnomecanvas-2.0… (cached) yes
Checking for glib-2.0… (cached) yes
Checking for samplerate… (cached) yes
Checking for liblo… (cached) yes
Checking for libxml-2.0… (cached) yes
Checking for lrdf… (cached) yes
Checking for aubio… (cached) yes
Checking for gtk±2.0… (cached) yes
Checking for raptor2… (cached) yes
Checking for fftw3f…(cached) yes
Checking for fftw3…(cached) yes
Checking for aubio…(cached) yes
Checking for C header file fftw3.h… (cached) yes
Checking for libcurl… (cached) yes
Checking for lilv-0… (cached) yes
Checking for lilv-0… (cached) yes
Checking for suil-0… (cached) yes
WIIMOTE not enabled. Build with ‘scons WIIMOTE=1’ to enable support.
Congratulations, you have a functioning C++ compiler.
system triple: i686-pc-linux-gnu
dist target: i686

Config CPU is i686

Checking for C header file fftw3.h… (cached) yes
Checking for usb_interrupt_write() in C library usb… (cached) no
Checking for C header file linux/input.h… (cached) yes
Checking for C++ header file boost/shared_ptr.hpp… (cached) yes
Checking for dmalloc_shutdown() in C library dmallocth… (cached) no
Checking for C header file alsa/asoundlib.h… (cached) yes
Disabled building Tranzport code because libusb could not be found
Checking for internationalization support …
Found xgettext
Found msgmerge
Checking for C header file libintl.h… (cached) yes
Libintl will be assumed to be part of the C library
International version will be built.
Checking for C header file /System/Library/Frameworks/CoreAudio.framework/Versions/A/Headers/CoreAudio.h… (cached) no
Checking for C function posix_memalign()… (cached) yes
Checking for C function gtk_widget_set_tooltip_text()… (cached) yes

scons: warning: Ignoring missing SConscript ‘manual/SConscript’
File “/home/f/ardour-2.8.16/SConstruct”, line 1455, in

scons: warning: Ignoring missing SConscript ‘libs/sigc++2/SConscript’
File “/home/f/ardour-2.8.16/SConstruct”, line 1459, in
Checking for C function getmntent()… (cached) yes
Checking for C header file execinfo.h… (cached) yes
Checking for jack_client_open()…(cached) yes
Checking for jack_port_type_get_buffer_size()…(cached) yes
Checking for jack_on_info_shutdown()…(cached) yes
Checking for jack_recompute_total_latencies()…(cached) yes
Checking for JackVideoFrameOffset in jack_position_bits_t enum…(cached) yes
Checking for jack_port_ensure_monitor_input()…(cached) yes
Checking for C header file wordexp.h… (cached) yes
Checking for C header file sys/vfs.h… (cached) yes
Checking for C header file /System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h… (cached) no
Checking for C header file /System/Library/Frameworks/AudioToolbox.framework/Headers/ExtendedAudioFile.h… (cached) no
Checking for C header file /System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudio.h… (cached) no
Checking for C header file /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h… (cached) no
FPU OPTIMIZATION WITH TARGET
i686
Checking for jack_set_thread_creator()…(cached) yes

scons: warning: Ignoring missing SConscript ‘libs/glibmm2/SConscript’
File “/home/f/ardour-2.8.16/SConstruct”, line 1459, in

scons: warning: Ignoring missing SConscript ‘libs/gtkmm2/pango/SConscript’
File “/home/f/ardour-2.8.16/SConstruct”, line 1459, in

scons: warning: Ignoring missing SConscript ‘libs/gtkmm2/atk/SConscript’
File “/home/f/ardour-2.8.16/SConstruct”, line 1459, in

scons: warning: Ignoring missing SConscript ‘libs/gtkmm2/gdk/SConscript’
File “/home/f/ardour-2.8.16/SConstruct”, line 1459, in

scons: warning: Ignoring missing SConscript ‘libs/gtkmm2/gtk/SConscript’
File “/home/f/ardour-2.8.16/SConstruct”, line 1459, in

scons: warning: Ignoring missing SConscript ‘libs/libgnomecanvasmm/SConscript’
File “/home/f/ardour-2.8.16/SConstruct”, line 1459, in
non-GTKOSX part

scons: warning: Ignoring missing SConscript ‘tools/sanity_check/SConscript’
File “/home/f/ardour-2.8.16/SConstruct”, line 1459, in
scons: done reading SConscript files.
scons: Building targets …
scons: `ardour_system.rc’ is up to date.
g++ -o libs/pbd/basename.os -c -Woverloaded-virtual -DGTK_NEW_TOOLTIP_API -DPACKAGE=“libpbd” -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DLIBSIGC_DISABLE_DEPRECATED -DHAVE_EXECINFO -DBOOST_SYSTEM_NO_DEPRECATED -DHAVE_LV2 -DHAVE_NEW_LILV -DHAVE_SUIL -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce -pipe -DARCH_X86 -mmmx -march=i686 -msse -mfpmath=sse -DUSE_XMMINTRIN -march=i686 -DBUILD_SSE_OPTIMIZATIONS -Wall -DHAVE_LIBLO -DPROGRAM_NAME=“Ardour” -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_FORMAT_MACROS -Ilibs -DENABLE_NLS -DHAVE_GETMNTENT -DBOOST_SYSTEM_NO_DEPRECATED -pthread -fPIC -I/usr/include/glib-2.0 -I/usr/local/include -Ilibs/sigc++2 -Ilibs/glibmm2 -Ilibs/pbd -I/usr/include/libxml2 -I/usr/lib/i386-linux-gnu/glib-2.0/include libs/pbd/basename.cc
libs/pbd/basename.cc:21:30: fatal error: glibmm/miscutils.h: Aucun fichier ou dossier de ce type
compilation terminated.
scons: *** [libs/pbd/basename.os] Error 1
scons: building terminated because of errors.

Thanks for your ideas !

Oh, by the way, Ardour3 compile is ok on the same machine…

a guess would be that you are using SYSLIBS=1 but have not installed the required devel packages of various libraries (e.g. glibmm)

Thanks for the quick answer Paul :slight_smile:

libglibmm-2.4-dev version 2.36.2-1 is onboard (Debian)
/usr/include/glibmm-2.4/glibmm/miscutils.h is present, and /usr/include is in $PATH

On the other hand, scons --help says SYSLIBS: default: 0 actual: False
That means that scons use libraries from ~/ardour-2.8.16/libs , no?

Oh, I don’t modify anything from the ardour-2.8.16.tar.bz2, just tar -xjvf, cd into it and scons. Then system complains Raptor is not up-to-date. So I install libraptor2-dev 2.0.10-1, and scons again to have the result upthere

Dependencies are at least the version mentionned in http://ardour.org/current_dependencies.html, and I install from this page the patched ones that could help for my system

Still fail to build !

The 2.8.16 tarball will not build on many current systems.

You need to use the 2.0-ongoing branch from git, and you need to build with: scons SYSLIBS=1 (this is not optional on most current Linux systems at this point)

Hey ! It was under my eyes & don’t seen it… on that page mentionned in case one meets the same problem :

http://ardour.org/building_linux.html

Many thanks, one more time, Paul. Have a nice sunday !

Hum, I was too quickly enthousiastic !

W/launch ardour2, system says :

/usr/local/lib/ardour2/ardour-2.8.16: error while loading shared libraries: liblrdf.so.2: cannot open shared object file: No such file or directory

As said before, liblrdf comes from the Ardour site.

Any idea is welcome !!!

Hurrah ! It works !!

the thing was to run :
~/lilv-0.16.0$ ./waf configure --dyn-manifest

in fact, Ardour3 have compiled without it, but doesn’t launch for the same reason than Ardour2

3 things are strange :

  • the log when the session open & the change VS the last closing of that session (the bass track lose its plugins and out patching, and the B3 track have 2 aux send, one of them was deleted before, PLUS some plugins just disappeared on some tracks. I just made “just quit” and will take some time to inspect the xml file) here is the log session, not sure if it’s a good idea to post here, but really not sure if it’s a good idea to go to Mantis with that particulary case !! :
    [ERROR]: Connexion inconnue « Master Out » listée pour la sortie de basse
    [ERROR]: No la sortie connections available as a replacement
    [ERROR]: MoteurAudio : impossible de connecter basse/out 1 (ardour:basse/out 1) à ardour:master/in 1 (ardour:master/in 1)
    [ERROR]: MoteurAudio : impossible de connecter basse/out 2 (ardour:basse/out 2) à ardour:master/in 2 (ardour:master/in 2)
    [ERROR]: Connexion inconnue « Master Out » listée pour la sortie de basse
    [ERROR]: No la sortie connections available as a replacement
    [INFO]: Loading session /media/lennyHOME/polar using snapshot polar (1)
    Chargement de l’historique depuis ‘/media/lennyHOME/polar/polar.history’.

  • the fr translation, e.g. you don’t have to translate fader in french, cause eveybody who speaks french knows what a fader is if he’s able to use Ardour, and the chosen word is technically correct but may disturb, but maybe it’s due to “(ardour-2.8.16:12175): Gtk-WARNING **: EnableTranslation: missing action EnableTranslation” down here ? (by the way, as said in another post, am volunteer to complete the french .po)))

  • some comments when launch ardour2 from the console (if somebody please may explain the double “underrun for b3” at the end, B3 is a track in the session):
    ~$ ardour2
    Ardour 2.8.16
    (built using 2.8.16-73-g3e7a7df and GCC version 4.7.2)
    Copyright © 1999-2008 Paul Davis
    Some portions Copyright © 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.
Chargement du fichier de configuration de l’ihm par défaut /usr/local/etc/ardour2/ardour2_ui_default.conf
Chargement du fichier utilisateur de configuration l’ihm /home/f/.ardour2/ardour2_ui.conf
Loading ui configuration file /usr/local/etc/ardour2/ardour2_ui_dark.rc
ardour: [INFO]: Ardour sera limité à 4096 fichiers ouverts
chargement du fichier de configuration système /usr/local/etc/ardour2/ardour_system.rc
chargement du fichier de configuration utilisateur /home/f/.ardour2/ardour.rc
ardour: [INFO]: Using SSE optimized routines
ardour: [INFO]: recherche des protocoles de contrôle dans /home/f/.ardour2/surfaces/:/usr/local/lib/ardour2/surfaces/
ardour: [INFO]: Protocole de surface de contrôle trouvé : « Generic MIDI »
ardour: [INFO]: Protocole de surface de contrôle trouvé : « Mackie »
powermate: Opening of powermate failed - Aucun fichier ou dossier de ce type
ardour: [INFO]: Protocole de contrôle powermate inutilisable
NSD response -5 folder = /media/lennyHOME/polar
loading bindings from /home/f/.ardour2/ardour.bindings

(ardour-2.8.16:12175): Gtk-WARNING **: EnableTranslation: missing action EnableTranslation
Session writable based on /media/lennyHOME/polar/
underrun for B3
underrun for B3