To compile and install Libpt 1.3 under Linux you need the Michael Pruett's Audio File Library http://www.68k.org/~michael/audiofile/ and Fastest Fourier Transform of the West library by Matteo Frigo and Steven G. Johnson http://theory.lcs.mit.edu/~fftw.
RedHat has included the Pruett's Audio File Library in the RH6.0 standard distribution since it's part of the GNOME project. Unfortunately the header files in that release are broken and don't work correctly with C++ programs. So please uninstall AFL with rpm
rpm --nodeps --erase audiofile-devel(as Joakim Verona suggested), download the sources from the site above, build and install AFL from scratch.
You may need the GNU autoconf utility (if your distribution has
configure.in but lacks of the
If you have an old version of Libpt and you want to wipe out that old stuff, you can do it if you have the old release tarball. Untar the old release and do
autoconf ; ./configure ; make uninstall
possibly as root. Remember to use the same
configure switches that
you used for installing.
If your system satisfy all requirements, try
autoconf ; ./configure ; make installYou may have to do
make installas root.
This will install Libpt in the
/usr/local directory tree.
If you want to put the library in another path, specify that path with
--prefix option to
configure. Something like this:
./configure --prefix=/YOUR/PATHof course, do this before you run
If you want to uninstall this version of Libpt do
make uninstallas root in the main directory of this source distribution. Once again,
configureparameters must be the same as installation.
Please report problems to the author.