Ardour fails to compile with missing glibmm/miscutils.h

I’m trying to compile Ardour. It ends with errors:

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: x86_64-unknown-linux-gnu dist target: x86_64

Config CPU is x86_64

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
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/audiodef/ardour/ardour-2.8.14/SConstruct”, line 1452, in

scons: warning: Ignoring missing SConscript ‘libs/sigc++2/SConscript’
File “/home/audiodef/ardour/ardour-2.8.14/SConstruct”, line 1456, 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
x86_64
Checking for jack_set_thread_creator()…(cached) yes

scons: warning: Ignoring missing SConscript ‘libs/glibmm2/SConscript’
File “/home/audiodef/ardour/ardour-2.8.14/SConstruct”, line 1456, in

scons: warning: Ignoring missing SConscript ‘libs/gtkmm2/pango/SConscript’
File “/home/audiodef/ardour/ardour-2.8.14/SConstruct”, line 1456, in

scons: warning: Ignoring missing SConscript ‘libs/gtkmm2/atk/SConscript’
File “/home/audiodef/ardour/ardour-2.8.14/SConstruct”, line 1456, in

scons: warning: Ignoring missing SConscript ‘libs/gtkmm2/gdk/SConscript’
File “/home/audiodef/ardour/ardour-2.8.14/SConstruct”, line 1456, in

scons: warning: Ignoring missing SConscript ‘libs/gtkmm2/gtk/SConscript’
File “/home/audiodef/ardour/ardour-2.8.14/SConstruct”, line 1456, in

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

scons: warning: Ignoring missing SConscript ‘tools/sanity_check/SConscript’
File “/home/audiodef/ardour/ardour-2.8.14/SConstruct”, line 1456, 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 -DHAVE_LV2 -DHAVE_NEW_LILV -DHAVE_SUIL -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce -pipe -DARCH_X86 -mmmx -m3dnow -msse -mfpmath=sse -DUSE_XMMINTRIN -DBUILD_SSE_OPTIMIZATIONS -DUSE_X86_64_ASM -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 -pthread -fPIC -I/usr/include/glib-2.0 -Ilibs/sigc++2 -Ilibs/glibmm2 -I/usr/lib64/glib-2.0/include -Ilibs/pbd -I/usr/include/libxml2 libs/pbd/basename.cc
libs/pbd/basename.cc:21:30: fatal error: glibmm/miscutils.h: No such file or directory
compilation terminated.
scons: *** [libs/pbd/basename.os] Error 1
scons: building terminated because of errors.

How do I fix this?

Ah, never mind. I was going to leave it at “never mind”, but I see in the new online docs a line for installing on Gentoo, so I’ll go ahead and say changing the USE flag from nls to -nls fixes the “cannot find -lintl” error for me.