Building Audacity 2.1.2 on Debian unstable

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Witiko
Posts: 26
Joined: Mon Oct 08, 2012 1:22 pm
Operating System: OS X 10.7 - 10.8 Lion / Mountain Lion

Re: Building Audacity 2.1.2 on Debian unstable

Post by Witiko » Mon Feb 29, 2016 8:10 pm

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.
Attachments
build.txt
My build script.
(2.3 KiB) Downloaded 49 times

Post Reply