===========================================================================
Here is the step by step method that I used for building Audacity 1.3.6 on Ubuntu 8.10
Download tarball
Download "Audacity 1.3.6 release (source tarball) (.tar.bz2 file, 4.5 MB)" from the "Recommended Download" link on this page:
http://audacityteam.org/download/beta_source#recdown
Save file to desktop.
Uninstall Audacity 1.3.5
In a terminal window, type:
Code: Select all
sudo apt-get purge audacityNote: installing "ubuntu-restricted-extras" can save a bit of time as it includes several of the packages listed below.
To Install JACK
Note: I have not managed to get JACK working with Audacity 1.3.6,
but this installs jack and Audacity shows that it has jack support enabled (even if it doesn't work).
Use Synaptic to install:
jackd
libasound2-plugins
libjack-dev
jack-tools
libjack0-dev
libjack0.100.0-dev
libjackasyn-dev
Installing dependancies
Use Synaptic to check that the following are installed (and install any missing ones if necessary):
libgtk2.0-dev - note: this is essential for installing in Ubuntu 8.10
libwxbase2.8-dev
libwxgtk2.8-dev
libmp3lame-dev
libmad0-dev
libsndfile1-dev
libflac-dev
libflac++-dev
libogg-dev
ffmpeg
libvorbis0a
libvorbisenc2
libvorbis-dev
toolame
portaudio19-dev
libportaudio0
libportaudio2
libportaudio-dev
libportaudiocpp0
libid3tag0-dev
libsoundtouch1-dev
liblrdf0-dev
gcc
gcc-4.3
libgcc1
pkg-config
expat
libexpat1-dev
I'm not sure that these are all necessary, but these are what I have installed.
Unpack the Tarball
Double click on the Audacity Tarball to open it with the Archive Manager.
Extract it to your home directory.
Configure
In a terminal window change directory to go to the audacity-src-1.3.6 folder
Code: Select all
cd audacity-src-1.3.6Code: Select all
./configureWhen you return you will hopefully see at the bottom of the output:
"Run 'configure --help' for an explanation of these options,
otherwise run 'make' to build Audacity."
Checking the output of ./configure
Copying the output to a text editor can make it easier to search.
The output should contain items similar to these:
Code: Select all
configure: ---------------------------------------
configure: Including support for OSS
configure: Including support for ALSA
configure: ---------------------------------------Code: Select all
=== configuring in lib-src/portmixer (/home/user/audacity-src-1.3.6/lib-src/portmixer)
configure: running /bin/bash ./configure '--prefix=/usr/local/' '--with-wx-config=/usr/bin/wx-config' '--with-pa-include=../portaudio-v19/include' --cache-file=/dev/null --srcdir=.Code: Select all
checking for JACK... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yesMake
Now enter in the terminal:
Code: Select all
makeThen
Code: Select all
sudo make installYou should now have Audacity installed.
If the install fails, check the output of ./configure, any errors in Configure are likely to cause failure.
Audacity install directory:
Note that using the default configuration as above, the installation directory is different than the Ubuntu distribution version.
Audacity will be installed in: /usr/local/share/audacity/
The plug-in folder is now found at /usr/local/share/audacity/plug-ins
If you want to be able to easily edit, or manually add new plug-ins, change the permissions of the plug-ins folders to set your user account with group Read/Write permissions for that folder.
(The default Ubuntu distribution installs to /usr/share/audacity/)
How To Uninstall
So you've tried it out and now want to try the CVS version, or perhaps go back to the regular Ubuntu 1.3.5 version, so you need to uninstall Audacity 1.3.6.
In a terminal window, go to the source folder as before (cd audacity-src-1.3.6)
then enter;
Code: Select all
sudo make uninstall