[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Installation and Execution: Voxin, Emacspeak, and Ubuntu 8.10 - Intrepid Ibex



Hi,
What you are missing is the compiled shared library that tcl uses to
communicate with viavoice.

See the file viavoice in the Linux-outloud directory for instructions on
compiling it.

Also if you are running debian or ubuntu you may hit compiler errors not
able to find tcl.h etc.  This is because the libraries are called tcl8.3
under debian and ubuntu.

You will most probably have to edit the .cpp files and Makefile if this
happens.

Off the top of my head you have to fix the #include tcl.h to #include
tcl8.3/tcl.h in the .cpp files and change -ltcl to -ltcl8.3 in the Makefile.

This may not be entirely correct check the sources but it is the general
idea.
 
I have to run right now but if you are having trouble still email me and
I'll try and help.

Bart

-----Original Message-----
From: djringjr@gmail.com [mailto:djringjr@gmail.com] On Behalf Of David Ring
Sent: Saturday, 3 January 2009 7:34 AM
To: emacspeak@cs.vassar.edu
Subject: Installation and Execution: Voxin, Emacspeak, and Ubuntu 8.10 -
Intrepid Ibex

I keep on getting the error speech process not running.  I've searched
for documentation, found several comments about "incorporating the
solution" to the documentation, but not found a documentation that is
written clearly enough for me.  I see shorthand which is excellent for
telling a programmer, or very skilled user what to do, but there is
enough gaps so that a user will not be clear about what to do.

One case in point is the notice in the Voxin documentation (and also
when running  ./voxin-installer.sh) is that the bash.rc should be
modified with certain lines.

If I just type in a root bash terminal "say", I get:
The program 'say' is currently not installed.  You can install it by typing:
sudo apt-get install epos

Not knowing if "say" is a command that has to be run from a particular
location (off the search path for programs), I haven't installed epos.
 But I find nothing either way saying I should or shouldn't install
this.

I find this page speaking of ViaVoice
http://www.faqs.org/docs/Linux-HOWTO/Emacspeak-HOWTO.html and it
mentions the incorrect installation sequence of viavoice, but all I
have is the Voxin file, so I cannot be sure this was done correctly.

This supplied this information:

-------------------
Using the cd command, change directories to the /etc directory and
open your profile file with your favorite text editor (you must be
root to edit the profile). Scroll to the bottom of the file, then add
the following two lines: export DTK_PROGRAM DTK_PROGRAM=name of your
speech server


The value of DTK_PROGRAM must be the name of your speech server. A
list of standard Emacspeak-supported speech synthesizers and the names
of their respective speech servers is below.
ViaVoice TTS	Outloud
DecTalk Xpress	dtk-exp
DecTalk MultiVoice	dtk-mv

--------------

It is probable that the ViaVoice TTS should have "outloud" instead of
"Outloud" but I'll put in what they say.  The "read me" file in the
voxin-enu-0.19 folder (from the downloaded archive package) always
used "outloud" in the commands.  It is so difficult to follow
directions accurately if they're wrong.

 The "read me" file in the voxin-enu-0.19 folder mentions editing the
bash.rc file.  For those that might not know, the location of the file
isn't given.

The only file I found that was "close enough" was the bash.bash.rc
file (hidden file) which was in the /etc directory.  But I know with
computers, close enough, doesn't count.  Darned computers want the
name and location exactly.

Since I found no file with that name - and I read that the bash.bashrc
file was a global file for bash, I put in:

export ECIINI=/var/opt/IBM/ibmtts/cfg/eci.ini
export EMACSPEAK_DIR=/usr/share/emacs22/site-lisp/emacspeak
export DTK_PROGRAM=outloud

At least those named locations and files are there.

OK - run the installer again.

Everything works ok when I finally type y or yes as the script demands.

Oops!  What's this?

# Reversed (or previously applied) patch detected!  Assume -R? [n]

I google search for "Assume -R? [n]" doesn't help.

So I press "enter" and I get:
# Apply anyway? [n] n

Hmm, it seems to be saying that the patch has already been applied, so
I'll just say "n".

I answer "y" to each prompt of what programs do I want to use tts with.

Nothing happens.  So I run emacspeak at the command line:

# emacspeak

The program emacs22 runs!

But at the bottom when I click on one of the hyperlinked texts (text
in blue), I get the ominous "emacspeak-dtk-sync: Process speaker not
running"

Here is what the messages are:

("emacs22" "-q" "-l"
"/usr/share/emacs22/site-lisp/emacspeak/lisp/emacspeak-setup.el")
Loading 00debian-vars...done
Loading /etc/emacs/site-start.d/50a2ps.el (source)...
Error while loading 50a2ps
Loading /etc/emacs/site-start.d/50autoconf.el (source)...done
Loading /etc/emacs/site-start.d/50devhelp.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el
(source)...done
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el
(source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50emacspeak.el (source)...done
Loading /etc/emacs/site-start.d/50festival.el (source)...done
Loading /etc/emacs/site-start.d/50lilypond-data.el (source)...done
Loading /etc/emacs/site-start.d/50psvn.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading cl-macs...done
Loading emacspeak...
Loading cl-extra...done
Loading /usr/share/emacs22/site-lisp/emacspeak/lisp/emacspeak-loaddefs.el
(source)...done
Loading /usr/share/emacs22/site-lisp/emacspeak/lisp/emacspeak-cus-load.el
(source)...done
Loading cl-seq...done
Not auto-advicing local-set-key
Loading byte-opt...done
Not auto-advicing global-set-key
Loading emacspeak...done
Loading voice-setup...done
Loading voice-setup...done
ad-handle-definition: `zap-to-char' got redefined
ad-handle-definition: `point-to-register' got redefined
ad-handle-definition: `copy-to-register' got redefined
ad-handle-definition: `jump-to-register' got redefined
ad-handle-definition: `insert-register' got redefined
ad-handle-definition: `window-configuration-to-register' got redefined
Loading replace...
ad-handle-definition: `occur-mode-goto-occurrence' got redefined
ad-handle-definition: `occur-next' got redefined
ad-handle-definition: `occur-prev' got redefined
Loading replace...done
Loading
/usr/share/emacs22/site-lisp/emacspeak/sounds/default-8k/define-theme.el
(source)...done
Loading tutorial...done
emacspeak-dtk-sync: Process speaker not running

---------------------------------------
There is no program that I can find that is "emacspeak-dtk-sync" but
as I said, perhaps it isn't in the path.

Hey good guess maybe, the documentation at
says  I have to be in the /usr/share/emacs/site-lisp/emacspeak/servers
directory and issue the command "tcl outloud" command.

Let's try:

root@david-desktop:/usr/share/emacs/site-lisp/emacspeak/servers# tcl outloud
Error: couldn't load file "./linux-outloud/tcleci.so":
./linux-outloud/tcleci.so: cannot open shared object file: No such
file or directory
    while executing
"load $tclTTS/tcleci.so"
    invoked from within
"if {[file exists /usr/include/alsa/asoundlib.h]
    && [file exists  $tclTTS/atcleci.so]} {
    load $tclTTS/atcleci.so
    proc closeDSP {} {
       ..."
    (file "outloud" line 502)

-----------------------

Good - getting "closer"!  I see the line above:
Error: couldn't load file "./linux-outloud/tcleci.so":
./linux-outloud/tcleci.so: cannot open shared object file: No such
file or directory

I know that ./ means "in the current directory" so I look:

The only file I find that is close in the linux-outloud directory is:
tcleci.cpp

=================

OK, so after I few months of trying this - and still not finding any
good documentation on this - but about 30 messages from this list
asking the same question (but I guess I didn't answer the answers!),
I'm still lost.

I wrote most of this down because if all my questions had appeared as
the result of my google search, I would (could?) have found the
answers much quicker.

Anyone who can point me in the right direction (hopefully) is welcome
to hear my joy at getting this to finally work.

If there are required steps needed to execute before calling for
"emacspeak" to get this to work, would you tell me so?

Best new year wishes to all,

David J. Ring, Jr.
Green Harbor, MA
USA

-30-

----------------------------------------------------------------------------
-
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help"

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help"



If you have questions about this archive or had problems using it, please send mail to:

priestdo@cs.vassar.edu No Soliciting!

Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog | Search the archive