Install Festival onto FreeBSD 6.0

Source packages, voices and dependancies:

Main program:

US English voice dependancies:

British English voice dependancies:



Installation: Speech Tools 1.2.95 Beta

cd build
tar zxvf ../download/speech_tools-1.2.95-beta.tar.gz
cd speech_tools

Patch the source to point to the new location of soundcard.h on FreeBSD

diff -ur speech_tools-orig/audio/ speech_tools/audio/
--- speech_tools-orig/audio/  Fri Apr 30 16:56:49 2004
+++ speech_tools/audio/       Fri Oct  7 22:01:18 2005
@@ -61,11 +61,12 @@
 #include "EST_error.h"

-#include <machine/soundcard.h>
+#include <sys/soundcard.h>
 #include <fcntl.h>
 int freebsd16_supported = TRUE;
 int linux16_supported = FALSE;
 static char *aud_sys_name = "FreeBSD";
+static int stereo_only = 0;


Continue with the build

su root -c "gmake install"

Installation: Festival 1.95 Beta

Untar the festival package into your build directory, then untar each of the lexicon and voice tarballs into the same location. They will automatically be placed in the proper locations.

The following is for the basic US Male voice.

cd build
tar zxvf ../download/festival-1.95-beta.tar.gz
tar zxvf ../download/festlex-POSLEX.tar.gz
tar zxvf ../download/festlex-CMU.tar.gz
tar zxvf ../download/festvox-kallpc16k.tar.gz
cd festival
su root -c "gmake install"

Curiously, this will install the program to build/festival/bin and build/festival/lib, despite what is fed in to ./configure --prefix.