Compilation and Installation
Prev
Next

Compilation and Installation

In order to compile KTTS, you must have a recent (KDE 3.4 or greater) copy of the KDE development files, including kdelibs and arts.

If you downloaded KTTS as a tarball, log in as a normal user and untar the tarball to a suitable folder, change to that folder, and enter the following commands.

./configure
make

The following configure options are available:

Default OptionDescriptionAlternate
--with-artsBuilds the arts audio plugin.--without-arts
--with-alsa=checkBuilds the ALSA audio plugin.--with-alsa=no
--with-gstreamer=noDoes not build the GStreamer audio plugin.--with-gstreamer=check
--with-akode=noDoes not build the aKode audio plugin.--with-akode=check

Note

In KDE 4, the aRts plugin will likely be removed or at least not built by default.

The following speech synthesizer plugins are all built by default. Some of them are runtime only dependent upon non-free software. (Non-free according to Debian Policy). The "Configure Option to not build" column shows the configure command to not build the plugin:

SynthLicenseConfigure Option to not build
Festivalfree--disable-kttsd-festivalint
Festival Litefree--disable-kttsd-flite
Eposfree--disable-kttsd-epos
Commandfree--disable-kttsd-command
Hadifixnon-free--disable-kttsd-hadifix
FreeTTSnon-free--disable-kttsd-freetts

By default, the commands above will install KTTS to /opt/kde3. If this folder is not in your $KDEDIRS path, you may need to add a --prefix=target option. For example,

./configure --prefix=/usr/local
make

Note

On Debian systems, /usr/local is the usual place to install applications compiled from source code.

Login as root and install the compiled KTTS using the following commands.

su
make install

If you downloaded the KTTS source from the kdeaccessibility code repository module, or downloaded the nightly tarball, use the following commands to compile and install.

cd kdeaccessibility
echo kttsd>inst-apps
make -f Makefile.cvs
./configure
cd kttsd
make
su
make install
Prev
Next
Home


Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team