On Sat, May 27, 2006 at 10:44:29AM -0500, Randy McMurchy wrote:
> 
> Be forewarned, I could never get festival to work right with Gnome
> Speech and Gnopernicus. This was quite a while ago, and those issues
> may be resolved now. I use FreeTTS exclusively now, as it works first
> time every time.
Ho, dear I can't compile gnome-speech with freetts, even the cvs gnome-speech 
will not accept my installation of freetts.  I've tried all variations of the 
path specification but I can't get to work.  Using 
--with-freetts-dir=/opt/freetts as well as the java specification, I got the 
following:

make[5]: Leaving directory 
`/usr/src/gnome-speech-0.3.7/drivers/freetts/java/org'
make[5]: Entering directory `/usr/src/gnome-speech-0.3.7/drivers/freetts/java'
/opt/jdk/jdk-precompiled-/jdk1.5.0_07/bin/javac -source 1.4 \
-classpath 
../../../java/gnome-speech.jar:NONE/share/jar/gnome-java-bridge.jar:/opt/freetts/freetts.jar:/opt/freetts/en_us.jar:/opt/freetts/cmulex.jar:/opt/freetts/cmu_us_kal.jar
 \
org/GNOME/Speech/*.java
org/GNOME/Speech/FreeTTSSpeaker.java:2: package org.GNOME.Bonobo does not exist
import org.GNOME.Bonobo.*;
^
org/GNOME/Speech/FreeTTSSpeaker.java:4: package org.GNOME.Accessibility does 
not exist
import org.GNOME.Accessibility.*;
^
org/GNOME/Speech/FreeTTSSpeaker.java:8: package org.GNOME.Bonobo does not exist
import org.GNOME.Bonobo.*;
^
org/GNOME/Speech/FreeTTSSpeaker.java:9: package com.sun.speech.freetts does not 
exist
import com.sun.speech.freetts.Voice;
                              ^
org/GNOME/Speech/FreeTTSSpeaker.java:10: package com.sun.speech.freetts.audio 
does not exist
import com.sun.speech.freetts.audio.JavaClipAudioPlayer;
                                    ^
org/GNOME/Speech/FreeTTSSpeaker.java:12: cannot find symbol
symbol: class UnknownImpl
public class FreeTTSSpeaker extends UnknownImpl implements SpeakerOperations {
                                    ^
org/GNOME/Speech/FreeTTSSpeaker.java:12: cannot access 
org.GNOME.Bonobo.UnknownOperations
file org/GNOME/Bonobo/UnknownOperations.class not found
public class FreeTTSSpeaker extends UnknownImpl implements SpeakerOperations {
       ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:2: package org.GNOME.Bonobo does 
not exist
import org.GNOME.Bonobo.*;
^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:4: package org.GNOME.Accessibility 
does not exist
import org.GNOME.Accessibility.*;
^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:9: package com.sun.speech.freetts 
does not exist
import com.sun.speech.freetts.Voice;
                              ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:10: package com.sun.speech.freetts 
does not exist
import com.sun.speech.freetts.VoiceManager;
                              ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:11: package com.sun.speech.freetts 
does not exist
import com.sun.speech.freetts.Gender;
                              ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:12: package 
com.sun.speech.freetts.audio does not exist
import com.sun.speech.freetts.audio.JavaClipAudioPlayer;
                                    ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:13: package 
com.sun.speech.freetts.audio does not exist
import com.sun.speech.freetts.audio.JavaStreamingAudioPlayer;
                                    ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:15: cannot find symbol
symbol: class UnknownImpl
public class FreeTTSSynthesisDriver extends UnknownImpl implements 
SynthesisDriverOperations {
                                            ^
org/GNOME/Speech/FreeTTSSpeaker.java:16: cannot find symbol
symbol  : class Voice
location: class org.GNOME.Speech.FreeTTSSpeaker
        public Voice v;
               ^
org/GNOME/Speech/FreeTTSSpeaker.java:23: cannot find symbol
symbol  : class Voice
location: class org.GNOME.Speech.FreeTTSSpeaker
                               Voice v) {
                               ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:18: cannot find symbol
symbol  : class VoiceManager
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
        private VoiceManager vm = null;
                ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:19: cannot find symbol
symbol  : class Voice
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
        private Voice[] voices = null;
                ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:84: cannot find symbol
symbol  : class Voice
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
        private VoiceInfo getVoiceInfo (Voice v) {
                                        ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:98: cannot find symbol
symbol  : class Voice
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
        private boolean voiceMatchesSpec (Voice voice, String specLocale) {
                                          ^
org/GNOME/Speech/FreeTTSSpeaker.java:24: cannot find symbol
symbol  : variable poa
location: class org.GNOME.Speech.FreeTTSSpeaker
                poa = JavaBridge.getRootPOA ();
                ^
org/GNOME/Speech/FreeTTSSpeaker.java:24: cannot find symbol
symbol  : variable JavaBridge
location: class org.GNOME.Speech.FreeTTSSpeaker
                poa = JavaBridge.getRootPOA ();
                      ^
org/GNOME/Speech/FreeTTSSpeaker.java:25: cannot find symbol
symbol  : variable tie
location: class org.GNOME.Speech.FreeTTSSpeaker
                tie = new SpeakerPOATie (this, poa);
                ^
org/GNOME/Speech/FreeTTSSpeaker.java:25: cannot find symbol
symbol  : variable this
location: class org.GNOME.Speech.FreeTTSSpeaker
                tie = new SpeakerPOATie (this, poa);
                                         ^
org/GNOME/Speech/FreeTTSSpeaker.java:25: cannot find symbol
symbol  : variable poa
location: class org.GNOME.Speech.FreeTTSSpeaker
                tie = new SpeakerPOATie (this, poa);
                                               ^
org/GNOME/Speech/FreeTTSSpeaker.java:27: cannot find symbol
symbol  : variable tie
location: class org.GNOME.Speech.FreeTTSSpeaker
                        poa.activate_object(tie);
                                            ^
org/GNOME/Speech/FreeTTSSpeaker.java:27: cannot find symbol
symbol  : variable poa
location: class org.GNOME.Speech.FreeTTSSpeaker
                        poa.activate_object(tie);
                        ^
org/GNOME/Speech/FreeTTSSpeaker.java:31: cannot find symbol
symbol  : variable this
location: class org.GNOME.Speech.FreeTTSSpeaker
                this.driver = driver;
                ^
org/GNOME/Speech/FreeTTSSpeaker.java:32: cannot find symbol
symbol  : variable this
location: class org.GNOME.Speech.FreeTTSSpeaker
                this.v = v;
                ^
org/GNOME/Speech/FreeTTSSpeaker.java:33: cannot find symbol
symbol  : method ref()
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
                driver.ref ();
                      ^
org/GNOME/Speech/FreeTTSSpeaker.java:84: cannot find symbol
symbol  : variable this
location: class org.GNOME.Speech.FreeTTSSpeaker
                return driver.say (this, text);
                                   ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:25: cannot find symbol
symbol  : variable AccessUtil
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
                ORB orb = AccessUtil.getORB ();
                          ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:26: cannot find symbol
symbol  : variable tie
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
                String ior = orb.object_to_string (tie._this_object());
                                                   ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:38: cannot find symbol
symbol  : variable poa
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
                poa = JavaBridge.getRootPOA ();
                ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:38: cannot find symbol
symbol  : variable JavaBridge
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
                poa = JavaBridge.getRootPOA ();
                      ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:39: cannot find symbol
symbol  : variable tie
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
                tie = new SynthesisDriverPOATie (this, poa);
                ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:39: cannot find symbol
symbol  : variable poa
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
                tie = new SynthesisDriverPOATie (this, poa);
                                                       ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:41: cannot find symbol
symbol  : variable tie
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
                        poa.activate_object(tie);
                                            ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:41: cannot find symbol
symbol  : variable poa
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
                        poa.activate_object(tie);
                        ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:71: cannot find symbol
symbol  : variable VoiceManager
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
                vm = VoiceManager.getInstance ();
                     ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:85: cannot find symbol
symbol  : class Gender
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
                Gender g = v.getGender ();
                ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:89: cannot find symbol
symbol  : variable Gender
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
                if (g == Gender.MALE)
                         ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:91: cannot find symbol
symbol  : variable Gender
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
                else if (g == Gender.FEMALE)
                              ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:214: cannot find symbol
symbol  : class JavaStreamingAudioPlayer
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
                                        voices[i].setAudioPlayer (new 
JavaStreamingAudioPlayer());
                                                                      ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:216: cannot find symbol
symbol  : class JavaClipAudioPlayer
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
                                        voices[i].setAudioPlayer (new 
JavaClipAudioPlayer());
                                                                      ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:219: cannot find symbol
symbol  : method tie()
location: class org.GNOME.Speech.FreeTTSSpeaker
                        speaker = SpeakerHelper.narrow ((new FreeTTSSpeaker 
(this, voices[i])).tie());
                                                        ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:230: cannot find symbol
symbol  : variable AccessUtil
location: class org.GNOME.Speech.FreeTTSSynthesisDriver
                        AccessUtil.getORB().run();
                        ^
org/GNOME/Speech/FreeTTSSynthesisDriver.java:303: cannot access 
org.GNOME.Bonobo.Unknown
file org/GNOME/Bonobo/Unknown.class not found
                                                        
current.s.getCallback()._notify 
(speech_callback_type.speech_callback_speech_started,
                                                                             ^
49 errors
make[5]: *** [org/GNOME/Speech/*.class] Error 1
make[5]: Leaving directory `/usr/src/gnome-speech-0.3.7/drivers/freetts/java'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/gnome-speech-0.3.7/drivers/freetts/java'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/gnome-speech-0.3.7/drivers/freetts'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gnome-speech-0.3.7/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnome-speech-0.3.7'
make: *** [all] Error 2

Sorry, I'd thought I'd trimmed it enough but there's more than I'd thought.  
I've installed libbonobo and my install fo freetts talks when running the test 
as shown in the book.  I had to use the streaming version of the test.  Other 
than taking about 4 seconds to respond, it works well.

Any pointers please?

Gena

> 
> One more thing that I remember now, the 1.95 beta version is what I
> couldn't get working. It has been a long time, but if I remember
> correctly GNOME speech only worked with the 1.4.3 version you can
> get here: http://festvox.org/packed/festival/free-1.4.3/
> 
> If the 1.95 version doesn't work (test speech program won't even
> work), then use the 1.4.3. If there is anything I can do to help
> out, let me know.
> 
> I worked fairly hard learning the gnome-speech, gnopernicus, free-tts
> stuff as I wanted to get something in the book for the speech
> impaired. Don't be afraid to ask questions if things don't work right.
> 
> Trust me, a Free TTS setup will work perfectly. The voices aren't
> that great, but it does work. If you need any help getting any of
> the Java stuff working, let me know. Hopefully everything is in the
> BLFS book that you should need.
> 
> Good luck!
> 
> -- 
> Randy
> 
> rmlscsi: [bogomips 1003.27] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
> [GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
> 10:33:00 up 15 days, 2:33, 1 user, load average: 0.20, 0.16, 0.36
> -- 
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
---end quoted text---

-- 
2E0AXU

Freedom & Power provided by debian GNU Linux
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to