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

Re: trying to find documentation for emacspeak with espeak.

Hi Krishnakant,

Here is a script for building emacspeak 27-0 with eSpeak support under your home directory.

The original Makefile has been slightly patched (issue when installing *.so for outloud).

Finally, please update your .bashrc file with the short instructions which will be displayed at the end of the script.

Its URL is:

Just for the archive, I copy its files below (Makefile.patch and install.sh)

Best regards

* Makefile.patch

--- emacspeak-27.0/Makefile	2007-11-23 17:34:17.000000000 +0100
+++ emacspeak-27.0.new/Makefile	2007-12-29 10:13:18.000000000 +0100
@@ -284,7 +284,7 @@
 	$(INSTALL) -d $(libdir)/servers
 	$(INSTALL) -d $(libdir)/servers/python
 	$(INSTALL) -d $(libdir)/servers/linux-outloud
-	$(INSTALL)  -m 755 ${OUTLOUD}  $(libdir)/servers/linux-outloud
+	$(INSTALL)  -m 755 `ls ${OUTLOUD}`  $(libdir)/servers/linux-outloud
 	cp -r  ${PYLIB}  $(libdir)/servers/python
 	$(INSTALL) -d $(libdir)/servers/linux-espeak
 	$(INSTALL)  -m 755 ${ESPEAK}  $(libdir)/servers/linux-espeak

* install.sh


# Indicate the emacspeak archive to download
# and its URL

[ ! -e /usr/include/tcl8.3 ] && (echo "please install tcl8.3 tclx8.3 tcl8.3-dev tclx8.3-dev" ; exit 1)

[ ! -e /usr/include/espeak/speak_lib.h ] && (echo "please install espeak"; exit 2)

wget $URL
tar -jxf $FILE
cd emacspeak-27.0

patch -p1 < ../Makefile.patch

make config
make emacspeak

# the bin and share directory will be installed under 'target'
make prefix=$PWD1/target install

# compile the espeak driver
cd $PWD1/target/share/emacs/site-lisp/emacspeak/servers/linux-espeak
cp Makefile Makefile.sav
cp makefile.tcl83 Makefile
make all

echo "please add these lines to your .bashrc file"
echo "export EMACSPEAK_DIR=$PWD1/target/share/emacs/site-lisp/emacspeak"
echo "alias emacspeak=\"$PWD1/target/bin/emacspeak\""
echo "then start a new shell and type"
echo "emacspeak -e"

Oralux.org http://association.oralux.org

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