mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Update for Audacity 2.2.0
This commit is contained in:
parent
c613a0bd40
commit
72dec607bb
114
INSTALL
114
INSTALL
@ -1,57 +1,103 @@
|
|||||||
Compilation and install instructions for GNU/Linux
|
Compilation and install instructions for GNU/Linux
|
||||||
|
|
||||||
Download wxWidgets. Audacity 2.1.3 requires wxWidgets 3.0.x, preferably 3.0.2,
|
Note: Audacity 2.2.0 requires gcc 4.9 or later. For Ubuntu 14.04 which only
|
||||||
which can be obtained from:
|
has up to 4.8.4, see here for upgrade instructions:
|
||||||
https://github.com/wxWidgets/wxWidgets/releases/download/v3.0.2/wxWidgets-3.0.2.tar.bz2 .
|
http://wiki.audacityteam.org/wiki/Upgrade_to_gcc_4.9
|
||||||
|
|
||||||
Don't be tempted to use the Widgets version already installed on Linux because
|
Audacity 2.2.0 requires wxWidgets 3.0.x, preferably 3.0.2, built with gtk2.
|
||||||
this will cause problems.
|
If not available in your distribution repository, it may be downloaded from:
|
||||||
|
https://github.com/wxWidgets/wxWidgets/releases/download/v3.0.2/wxWidgets-3.0.2.tar.bz2 .
|
||||||
|
|
||||||
The libsndfile library is also required and is included in Audacity obtained
|
On openSUSE, be sure to install wxWidgets without STL.
|
||||||
from GitHub. Obtain the latest Audacity alpha development source code from
|
|
||||||
https://github.com/audacity/audacity then use the green "Clone or download"
|
|
||||||
button to git clone Audacity. You may need to install git first.
|
|
||||||
|
|
||||||
If you are not planning to do any development, you may be better to download
|
The latest Audacity development source code is available from:
|
||||||
the Audacity 2.1.3 release minimal source tarball from
|
https://github.com/audacity/audacity
|
||||||
|
|
||||||
|
If you are not planning to do any development, the Audacity 2.2.0 release
|
||||||
|
minimal source tarball is recommended from:
|
||||||
http://www.audacityteam.org/download/source/ .
|
http://www.audacityteam.org/download/source/ .
|
||||||
|
|
||||||
CMake ( http://www.cmake.org/ ) is required to build the local copy of
|
|
||||||
the libsoxr resampling library used by Audacity, unless you install
|
|
||||||
libsoxr-dev and use that system library.
|
|
||||||
|
|
||||||
Installation of other libraries is optional, see:
|
Other required dependencies:
|
||||||
http://wiki.audacityteam.org/wiki/Developing_On_Linux#optional .
|
|
||||||
|
The PortAudio and PortMidi libraries used by Audacity 2.2.0 include fixes
|
||||||
|
that are not yet available in the upstream versions, so the local (included)
|
||||||
|
versions must be used.
|
||||||
|
|
||||||
|
libsndfile library is required and is included in the Audacity source.
|
||||||
|
|
||||||
|
libsoxr resampling library. If libsoxr-dev is not available as a system library,
|
||||||
|
the source code is included in the Audacity tarball.
|
||||||
|
CMake ( http://www.cmake.org/ ) is required to build a local copy of libsoxr.
|
||||||
|
|
||||||
|
Information about optional libraries may be available on:
|
||||||
|
http://wiki.audacityteam.org/wiki/Developing_On_Linux#optional .
|
||||||
|
|
||||||
If you install libraries using a package management system like Apt or RPM,
|
If you install libraries using a package management system like Apt or RPM,
|
||||||
you need to install the "dev" (development) packages for each library.
|
you need to install the "dev" (development) packages for each library.
|
||||||
|
|
||||||
Compile wxWidgets with the default gtk2 option, not with gtk3:
|
|
||||||
|
|
||||||
./configure
|
Compiling wxWidgets:
|
||||||
|
|
||||||
|
wxWidgets must be built with the default gtk2 option, not with gtk3, and
|
||||||
|
without STL (also default). Full instructions for compilation can be found in:
|
||||||
|
wxWidgets-3.0.2/docs/gtk/
|
||||||
|
|
||||||
|
|
||||||
|
Compiling and installing Audacity:
|
||||||
|
|
||||||
|
As there have been fixes to several of the included libraries, compiling with
|
||||||
|
the included ('local') libraries is recommended, This also reduces the number of
|
||||||
|
dependencies that need to be installed. One common exception to this is the optional
|
||||||
|
FFmpeg library (see below)
|
||||||
|
|
||||||
|
From the root of the source tree, create a build directory, then change directory into it:
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
|
||||||
|
To see the compile-time options you can set:
|
||||||
|
../configure -h
|
||||||
|
|
||||||
|
Run the configure command with your preferred options, then 'make'
|
||||||
|
../configure -with-lib-preference="local system"
|
||||||
make
|
make
|
||||||
|
|
||||||
Install wxWidgets (this defaults to installation in /usr/local/).
|
On a multi-core system, build time can be considerably reduce by setting the -j (jobs)
|
||||||
|
switch equal to the number of cores. For example, on a quad core processor:
|
||||||
|
make -j4
|
||||||
|
|
||||||
make install # as root
|
To install:
|
||||||
ldconfig # as root
|
|
||||||
|
|
||||||
The root command is often sudo on GNU/Linux, for example 'sudo make install'.
|
|
||||||
|
|
||||||
Then to compile and install Audacity:
|
|
||||||
|
|
||||||
./configure -with-lib-preference="local system"
|
|
||||||
make
|
|
||||||
make install # as root
|
make install # as root
|
||||||
|
(The root command is often sudo on GNU/Linux, for example 'sudo make install'.)
|
||||||
To see the compile-time options you can set, type
|
|
||||||
./configure --help
|
|
||||||
|
|
||||||
If you want to do any development, you might want to generate a configure cache
|
If you want to do any development, you might want to generate a configure cache
|
||||||
and header dependencies:
|
and header dependencies:
|
||||||
|
|
||||||
./configure -C
|
./configure -C
|
||||||
make dep
|
make dep
|
||||||
|
|
||||||
|
To uninstall:
|
||||||
|
make uninstall #as root
|
||||||
|
|
||||||
|
To clean the build after modifying code:
|
||||||
|
make clean
|
||||||
|
|
||||||
|
To clean and remove previous configure options:
|
||||||
|
make distclean
|
||||||
|
|
||||||
|
|
||||||
|
FFmpeg support::
|
||||||
|
|
||||||
|
Audacity should be able to link dynamically to FFmpeg 1.2 to 2.3.x (libav 0.8 to 10),
|
||||||
|
but many distributions have more recent versions that fail to link dynamically.
|
||||||
|
To work around this issue, Audacity may be configured to use the system
|
||||||
|
FFmpeg library and disable dynamic loading. If this is done for both FFmpeg
|
||||||
|
and the optional LAME library, the "Libraries" option in Audacity's Preferences
|
||||||
|
is not required and is automatically removed.
|
||||||
|
../configure --with-lib-preference="local system" --with-ffmpeg=system \
|
||||||
|
--with-lame=system --disable-dynamic-loading
|
||||||
|
|
||||||
|
|
||||||
|
Additional information about compiling on Linux may be found on the Audacity wiki:
|
||||||
|
http://wiki.audacityteam.org/wiki/Developing_On_Linux
|
||||||
|
|
||||||
You can ask for help with compilation problems at:
|
You can ask for help with compilation problems at:
|
||||||
http://forum.audacityteam.org/viewforum.php?f=19 .
|
http://forum.audacityteam.org/viewforum.php?f=19 .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user