Talk:Speech Server: Difference between revisions

From OLPC
Jump to navigation Jump to search
(speak n spell suggestion)
 
(can't make the sugar-speechd)
Line 1: Line 1:
== How to "make" the speech-server?==
This looks really good. I`d like to use this in Pippy - is it possible? I`d love to make a Speak n Spell type activity...
Hi, I tried installing "make" (yum install make), then running make in the /projects/screen-reader/sugarspeechd directory, but received this error:

dbus-binding-tool --mode=glib-server --prefix=speech_server data/speech-server.xml > speech-server-glue.h
import random
Compilation failed: Failed to execute child process "glib-genmarshal" (No such file or directory)
wordlist = [ "hello","children","of","the","world" ]
make: *** [all] Error 1
Any ideas? I'm on an OLPC B4 running build 650. --[[User:Tomhannen|Tomhannen]] 18:37, 1 January 2008 (EST)
size = len(wordlist)
index = random.randint(0, size-1)
elem = wordlist[index]
for x in range(size):
print "Can you spell: " + elem
answer = raw_input("Your answer: ")
print "You typed", answer
if answer == elem:
print "Correct!"
break
print "Incorrect answer."

--[[User:Tomhannen|Tomhannen]] 11:36, 24 December 2007 (EST)

Revision as of 23:37, 1 January 2008

How to "make" the speech-server?

Hi, I tried installing "make" (yum install make), then running make in the /projects/screen-reader/sugarspeechd directory, but received this error:

dbus-binding-tool --mode=glib-server --prefix=speech_server data/speech-server.xml > speech-server-glue.h
Compilation failed: Failed to execute child process "glib-genmarshal" (No such file or directory)
make: *** [all] Error 1

Any ideas? I'm on an OLPC B4 running build 650. --Tomhannen 18:37, 1 January 2008 (EST)