Bug 218597 - app-accessibility/espeak-1.36 - Can't access (r) file 'en_rules'
|
Bug#:
218597
|
Product: Gentoo Linux
|
Version: 2007.0
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: williamh@gentoo.org
|
Reported By: foad.nh@gmail.com
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: app-accessibility/espeak-1.36 - Can't access (r) file 'en_rules'
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-04-20 15:47 0000
|
~x86 espeak 1.36 USE="portaudio pulseaudio"
When I use # espeak "hello" I can't hear anything,
But # espeak -w 1.wav "hello" makes a wave file that works!
I try # espeak --compile=en it says: Can't access (r) file 'en_rules'
I committed version 1.37 to the tree.
Also, I made a change in the ebuild so that you can only have either portaudio
or pulseaudio in use, but not both, since there is no way to support two audio
systems simultaneously in espeak.
Please test with 1.37 and let me know if you still have this issue. If you
still can't compile the rules files, I need to know if you are attempting this
as a user, or as root, and what happens when you do this.
Thanks,
William
Thank you William,
Now $ espeak "text" works all right, but still there is problem with
--compile as both user and root.
output as user:
foad@tux ~ $ espeak --compile=en
Can't access (r) file 'en_rules'
as root:
tux foad # espeak --compile=en
Can't access (r) file 'en_rules'
I test --compile with other languages but the result is same:
tux foad # espeak --compile=es
Can't access (r) file 'es_rules'
The first part of this issue was that the pronounciation rules were not being
installed at all. This has been fixed in 1.37-r1. The rules are now
installed in /usr/share/espeak-data/dictsource.
Everything in the /usr/share/espeak-data directory can be customised on a
per-user basis, and this is how I recommend making changes if you are
interested in doing this since /usr/share/espeak-data will be over-written
each time you upgrade espeak.
Please check the espeak documentation for how to set this up and let me know
if you have any questions.
Thanks,
William
Thank you William,
I test it,
Everything done in right way.
thanks