Building wxSA on Linux
Checking out the code
The Subversion repository is at
http://linux.lsdev.sil.org/svn/SpeechAnalyzer. You can check out the trunk as follows:
$ svn co http://linux.lsdev.sil.org/svn/SpeechAnalyzer/trunk SpeechAnalyzer
It's also possible to set up a local git repository which mirrors the main Subversion one. You can create your own local branches and make a series of commits to them. Then, when you're ready, you can push a series of commits back to the trunk. Consult the git-svn man page for instructions on how to do this.
Installing necessary packages
First, you will need to install various packages to get yourself a standard C++ development environment. Start with
build-essential and work up. Gedit is a very adequate programmer's editor, although you'll probably want an IDE. KDevelop is good for C++, although there are various others if you don't already have a preferred one. Eclipse is the 600 pound gorilla, but is very capable if you have a reasonably recent machine.
Beyond this, SA needs wx libraries and headers. Although it's possible to build a specific release of wx from source, the system-supplied wx is usually sufficient if you are working on a reasonably recent release of your distro. On Ubuntu 11.04, for example, the following packages can be installed:
SA also uses the libsndfile library, which is found in the following Ubuntu packages:
SA will soon be using the RtAudio library, but this doesn't have an Ubuntu package and so must be built from source.
There is no configure step, so running
make is all that needs to be done. The application can then be launched by executing