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
festival-2.4-3.3.x86_64
~> rpm -ql festival-2.4-3.3.x86_64 | grep init.scm
/usr/share/festival/init.scm
/usr/share/festival/siteinit.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

TSU

I have reported as a comment to a long running bug: 981271 – KTTSMgr cannot use festival 2.4 in 15.0