Festival text to speech install issues

I installed the festival text to speech application from zypper and tried to run it and got an error message:

~> festival --tts test.txt
Initialization file /usr/share/festival/lib/init.scm not found

~> rpm -qf which festival
~> rpm -ql festival-2.4-3.3.x86_64 | grep init.scm

It seems that program is expecting stuff to be in /usr/share/festival/lib/ when it is all in /usr/share/festival/

After making a lib sub folder of /usr/share/festival/ and then linking all the files to it I got the thing running though I did have to add the lines

(Parameter.set 'Audio_Required_Format 'aiff)
(Parameter.set 'Audio_Method 'Audio_Command)
(Parameter.set 'Audio_Command “paplay $FILE --client-name=Festival --stream-name=Speech”)

to the bottom of festival.scm.

Recommend you report your findings to https://bugzilla.opensuse.org


I have reported as a comment to a long running bug: https://bugzilla.opensuse.org/show_bug.cgi?id=981271