Here's how to do it. It can be tough, but if you follow the instructions it shouldn't be a big problem. However, if you have never built packages from source before, this is probably not the time to learn. Aqualung depends on quite a few libraries and installing them the right way before attempting to compile Aqualung is an earnest of success.
Aqualung uses the GNU autotools (autoconf, automake, autoheader), make, and relies on pkg-config to gain information about your system and installed libraries needed to setup a working build environment. So, it is the usual ./configure, make, make install stuff, with a few specialized points.
Part of Aqualung's functionality is optionally built. That means you can build Aqualung without certain features if you don't need them, and in such cases you won't need the libraries supporting that particular functionality either. When running ./configure without options, the script will detect the libraries present on the system and try to adapt the configuration accordingly. If an optional library is missing, the feature provided by that library will not be compiled in Aqualung. The absence of mandatory libs will cause hard errors.
You can use the appropriate --without-foo option from the table if you want to turn something off that would otherwise be automatically detected and compiled in. Conversely, use --with-foo to make sure that the absence of the corresponding optional library causes a hard error and doesn't get through unnoticed.
Upon successful completion of the configure step, the configuration is printed in tabular form. You can also access this info later by looking in the About box or typing aqualung --version.
To get a list of all the valid configuration options, type ./configure --help.
Note that you can turn off any and all input format support libraries – naturally, you should not turn them off at once, or the program will be completely useless. The same applies for output drivers.
The configure option --enable-debug builds Aqualung with debugging support enabled (gcc -rdynamic -ggdb -g -O0). Furthermore, a signal handler is installed which runs when the program receives a SEGV, FPE, ILL, BUS or ABRT signal, and prints useful debug info (most notably a stack trace). If you get such a report, please email it to the mailing list along with a short description of what you were doing when the program crashed. Please also send the output of `aqualung -v'.
Aqualung compiles under FreeBSD and OpenBSD (and perhaps other BSDs too, but this is untested) without much hassle. However, the LDFLAGS environment variable has to be set in the shell before running ./configure, or else no libraries will be found. For example:
has to be issued instead of plain ./configure.
Aqualung compiles and runs on Microsoft Windows natively or using the Cygwin UNIX emulation layer. If you use the native version (strongly recommended), all you have to do is download the installer and proceed through the steps of the setup wizard.
Aqualung builds out of the box in a standard Cygwin shell. Naturally, you have to install relevant dependency libs (with their respective development packages) before compiling, just like on UNIX. Some libs may not be part of the Cygwin distribution; you'll have to build and install them from source.
Please note that running Aqualung on Windows (esp. under Cygwin) may suffer from stability and usability problems. While we are striving to provide stable and easily usable software on all platforms, keep in mind that this is still experimental.
make install will put the executable, the manpage, the icons and the skins in the right places. What the right places are depends on your system, and can be set manually by using standard ./configure options, most notably --prefix. If you are not familiar with this, ./configure --help is your friend.