Browse Source

Expand the README build documentation.

master
Reece H. Dunn 9 years ago
parent
commit
b8aa4a3559
1 changed files with 25 additions and 5 deletions
  1. 25
    5
      README.md

+ 25
- 5
README.md View File



## Building ## Building


The `espeak-ng` and `speak-ng` programs, along with the espeak-ng voices, can
be built via the standard autotools commands:
The first time you build eSpeak NG, or when you want to change how to build
eSpeak NG, you need to run the following standard autotools commands:


./autogen.sh ./autogen.sh
./configure --prefix=/usr ./configure --prefix=/usr

__NOTE:__ The `--prefix` option above will install the files to the `/usr`
directory, instead of the default `/usr/local` location. You can use other
standard `configure` options to control the output. For more information,
you can run:

./configure --help

The `espeak-ng` and `speak-ng` programs, along with the espeak-ng voices, can
then be built with:

make make


The documentation can be built by running: The documentation can be built by running:


make docs make docs


Specific languages can be compiled by running:

make LANG

where `LANG` is the language code of the given language. More information can
be found in the [Adding or Improving a Language](docs/add_language.md)
documentation.

### Audio Output Configuration ### Audio Output Configuration


The following `configure` options control which audio interfaces to use: The following `configure` options control which audio interfaces to use:


## Testing ## Testing


Before installing, you can test the built espeak-ng using the following command:
Before installing, you can test the built espeak-ng using the following command
from the top-level directory of this project:


ESPEAK_DATA_PATH=`pwd` LD_LIBRARY_PATH=src:${LD_LIBRARY_PATH} src/espeak-ng ... ESPEAK_DATA_PATH=`pwd` LD_LIBRARY_PATH=src:${LD_LIBRARY_PATH} src/espeak-ng ...




sudo make LIBDIR=/usr/lib/x86_64-linux-gnu install sudo make LIBDIR=/usr/lib/x86_64-linux-gnu install


The `LIBDIR` path may be different to the one on your system (the above
is for 64-bit Debian/Ubuntu releases that use the multi-arch package
__NOTE:__ The `LIBDIR` path may be different to the one on your system (the
above is for 64-bit Debian/Ubuntu releases that use the multi-arch package
structure -- that is, Debian Wheezy or later). structure -- that is, Debian Wheezy or later).


You can find out where espeak-ng is installed to on your system if you You can find out where espeak-ng is installed to on your system if you

Loading…
Cancel
Save