[Ardour-Users] Problems with 2.4.1

Jonathan Stowe jns at gellyfish.com
Sun Apr 27 02:21:19 PDT 2008


Hi,
On Sat, 2008-04-26 at 22:59 -0300, Felipe Machado wrote:
> hi all, 
> 
> i'm trying to compile the 2.4.1 in my slackware 12.0 with a presonus
> firepod and support to VST, fftw and freesound but the instalations
> stop with...
> 
> VST meta-package discovered.
> scons: done reading SConscript files.
> scons: Building targets ...
> scons: `ardour_system.rc' is up to date.
> scons: `libs/sigc++2/sigc++config.h' is up to date.
> scons: `libs/sigc++2/libsigc++2.so' is up to date.
> scons: `libs/libsndfile/src/sndfile.h' is up to date.
> scons: `libs/libsndfile/libsndfile-ardour.so' is up to date.
> scons: `libs/glibmm2/glibmmconfig.h' is up to date.
> g++ -o libs/pbd/base_ui.os -c -g -DARCH_X86 -msse -mfpmath=sse
> -DUSE_XMMINTRIN -DBUILD_SSE_OPTIMIZATIONS -Wall -DHAVE_LIBLO -Ilibs
> -DENABLE_NLS -DHAVE_GETMNTENT -pthread -fPIC -I/usr/include/glib-2.0
> -Ilibs/sigc++2 -Ilibs/glibmm2 -I/usr/lib/glib-2.0/include -Ilibs/pbd
> -I/usr/include/libxml2 libs/pbd/base_ui.cc
> libs/pbd/base_ui.cc: In member function 'int
> BaseUI::setup_signal_pipe()':
> libs/pbd/base_ui.cc:87: error: 'PACKAGE' was not declared in this
> scope
> libs/pbd/base_ui.cc:94: error: 'PACKAGE' was not declared in this
> scope
> libs/pbd/base_ui.cc:100: error: 'PACKAGE' was not declared in this
> scope
> scons: *** [libs/pbd/base_ui.os] Error 1
> scons: building terminated because of errors.

This appears to be something to do with the localization macro _( )
around the strings on those lines. However having experimentally removed
those uses of the macro the same problem appears all over the code. I
couldn't see any recent changes in the ardour code that would have
obviously caused this so determined that there was some external
problem. Having just updated scons to the latest version (0.98.2) I
downgraded this to the previous version I knew to work (0.97) and ardour
compiled successfully.

So I guess the latest version of scons is not doing something with
regard to the macro expansions that previous versions did. I'll leave it
to someone who likes python to take a closer look at it, but the bottom
line is that you shouldn't get this problem with scons 0.97 (but it
won't work for other reasons with older versions.)

/J\


-- 
This signature kills bloggers



More information about the Ardour-Users mailing list