How to get espeak working
Thursday Dec 13, 2007
I was trying to install this amarok script called amarokEspeak. If you get the message, "amarokEspeak cannot find the executeable 'aplay'" then this guide is for you.
Looking at the source, I figured out that this error message is actually coded to appear when eSpeak is missing! This script depends on two things - aplay and espeak. Further investigation revealed that espeak was missing, while aplay was installed. aplay is a part of the ALSA library, which mostly comes installed on most boxes.
So, I set about getting espeak. You can download the precomiled zip here. Extract it to wherever(I'm using /home/user1 as an example.)
Then execute these commands in your terminal window
sudo cp -r /home/user1/espeak-1.29-linux/espeak-data/ /usr/share/
sudo cp -r /home/user1/espeak-1.29-linux/shared_library/ /usr/lib/
cp /home/user1/espeak-1.29-linux/espeak /usr/bin/
cp /home/user1/espeak-1.29-linux/speak /usr/bin/
after this try executing "espeak --help" on your command line. If it throws an error saying
"espeak: error while loading shared libraries: libespeak.so.1: cannot open shared object file: No such file or directory"
then, just rename the libespeak.so.1.29 to libespeak.so.1 using this command
sudo cp /usr/lib/libespeak.so.1.29 /usr/lib/libespeak.so.1
This should solve all your issues. Now if you're using espeak, like me for the amarok script - then just load and run the script from amarok script manager and you're good to go.
Note that if you use a different version of espeak, then replace the version numbers appropriately in the above commands.










