Page 2 of 2

Re: Building Audacity 2.1.2 on Debian unstable

Posted: Mon Feb 29, 2016 8:10 pm
by Witiko
I'm also glad, thank you for the assistance. ;) I understand the need to regenerate the main configure file, when working with a non-release revision, but I'm wondering why the libraries don't compile correctly without regenerating their configure files. Also, building in a `build/` directory fails with the following error:

Code: Select all

mv -f gtk/.deps/libFileDialog_la-FileDialogPrivate.Tpo gtk/.deps/libFileDialog_la-FileDialogPrivate.Plo
/bin/bash ./libtool    --mode=link g++     -o libFileDialog.la -rpath /usr/local/lib libFileDialog_la-FileDialog.lo gtk/libFileDialog_la-FileDialogPrivate.lo    -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
libtool:   error: 'libFileDialog_la-FileDialog.lo' is not a valid libtool object
Makefile:536: recipe for target 'libFileDialog.la' failed
make[2]: *** [libFileDialog.la] Error 1
make[2]: Leaving directory '/home/witiko/programs/audacity/build/lib-src/FileDialog'
Makefile:1010: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/witiko/programs/audacity/build/lib-src'
Makefile:805: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
so there definitely seems to be something peculiar about my setup. But at least I now have a working build script (attached). Prior to 2.1.2, I somehow compiled Audacity without taking notes and after the update it just fell apart.

P.S.: I just noticed that there is a dedicated subforum for compiling, which contains up to date compilation instructions. I am sorry about the misplacement of the thread; I will check it out, if I encounter building issues in the future.