Hi TAIGA, These are some lines from my emacs file. They will need to be adjusted for where you installed emacspeak. Hopefully enough to get you started. (setq load-path (cons "~/emacs/lisp/emacspeak/lisp" load-path)) (setq emacspeak-directory "~/emacs/lisp/emacspeak") (setq dtk-program "mac") (load-file "~/emacs/lisp/emacspeak/lisp/mac-voices.el") (setq mac-default-speech-rate 500) (load-file "/Users/bart/emacs/lisp/emacspeak/lisp/emacspeak-setup.el") Cheers Bart On Tue, 20 Dec 2011 17:55:30 +0900, Taiga Aoki <taiga.aoki@xxxxxxxxxxx> wrote: > I forgot to CC this thread to the mailing list. > Excuse me. > > Taiga > > 2011/12/20 Taiga Aoki <taiga.aoki@xxxxxxxxxxx>: > > Hi Bart, > > > > Thank you very much for helping me. > > I was encouraged that you have succeeded in a mac, so I tried it once again. > > Installing Emacs on Homebrew stopped at "make bootstrap", but a little > > googling helped me to find out "brew doctor". Following the message, I > > found some missing package, so I reinstalled it, and it went fine. Now > > I am able to start emacs from commandline successfully. > > > > One more question though. In the Howto you sent me, there seems to be > > a missing line after this "To get emacs to start up loading emacspeak > > with the e-mac-speak server place the following in your > > .emacs.d/init.el file." > > > > Would you please help me again? Is it the same as in the Makefile to > > run e-mac-speak server? > > > > Taiga > > > > 2011/12/19 Bart Bunting <bart@xxxxxxxxxxx>: > >> don't worry about pysox. > >> > >> What is the issue with brew install emacs? > >> > >> Are you using the command as shown in the howto? > >> > >> Bart > >> On Mon, 19 Dec 2011 21:16:53 +0900, Taiga Aoki <taiga.aoki@xxxxxxxxxxx> wrote: > >>> Hi Bart, > >>> > >>> Oh, That was the file! I read it before in this ML archive, but the > >>> last part on pysox, I didn't know. > >>> I'll try it again, but it seems that compiling "brew install emacs > >>> ...." doesn't work. > >>> I have to find a way around it.. > >>> > >>> anyway, thank you very much!! > >>> > >>> Taiga > >>> > >>> 2011/12/19 Bart Bunting <bart@xxxxxxxxxxx>: > >>> > Hi Taiga, > >>> > > >>> > Nope, I meant that there is a howto guide for installing on mac in the > >>> > e-mac-speak svn repository. > >>> > > >>> > It's a little incomplete at the end when it comes to configureing your > >>> > .emacs file but has all the steps for configureing the mac speech server > >>> > and emacspeak. > >>> > > >>> > It worked last time I tried it on a friends mac. ÂI wrote it a while > >>> > back and really should find time to flesh it out. > >>> > > >>> > Why don't you give it a go and see where you get stuck and I'll try and > >>> > help. > >>> > > >>> > I'm not sure what version of xcode I used. > >>> > > >>> > I'll append it to this mail for easy access. > >>> > > >>> > Once cleaned up Raman may include it as part of emacspeak. ÂProbably I > >>> > should add it to the info manual or something. > >>> > > >>> > Anyway here it is. ÂLet me know how it works for you. > >>> > > >>> > Cheers > >>> > > >>> > Bart > >>> > > >>> > * Introduction > >>> > > >>> > This document is a step by step guide showing how to configure emacspeak on a mac. ÂIt includes installation of emacs, emacspeak and the e-mac-server. > >>> > > >>> > These instructions are only one way to achieve the end result of having emacspeak working on a mac. ÂThis is the way I found worked best for me. ÂFor example I have chosen to use "brew" to install emacs, I had no luck with the seemingly popular "macports". ÂYour mileage may vary. > >>> > > >>> > > >>> > I have also made assumptions about file paths, feel free to put things where it feels most comfortable. > >>> > > >>> > I welcome any updates to this document and or questions or issues found when following these instructions. > >>> > > >>> > * Prerequisites > >>> > > >>> > - A mac running a recent version of os x. ÂI used snow leopard 10.6.7. > >>> > - An internet connection so we can download all the required bits. > >>> > > >>> > > >>> > > >>> > The version of emacs shipped with snow leopard (22.1) is not recent enough. ÂWe will be installing emacs 24. ÂIt also appears that the emacs shipped with snow leopard only runs in the terminal and not as a standalone app. > >>> > > >>> > > >>> > * XCODE4 > >>> > To be able to build packages using homebrew you will need to have apple xcode installed. ÂIf you are an apple developer it is a free download or can be purchased for around $5 from the mac appstore if you are not. > >>> > > >>> > It can be installed from the mac app store. > >>> > > >>> > Here is a link to the relevant apple developer page: > >>> > http://developer.apple.com/xcode/ > >>> > > >>> > It is a rather large download of about 4 gig so may take some time to install depending on your Internet connection speed. > >>> > > >>> > > >>> > * Homebrew > >>> > > >>> > Homebrew is a package management system for installing unix programs on mac. ÂYou can read all about it at the below URL or the blog post sighted in the following text: > >>> > https://github.com/mxcl/homebrew > >>> > > >>> > These instructions are mostly taken from the blog post at: > >>> > http://www.engineyard.com/blog/2010/homebrew-os-xs-missing-package-manager/ > >>> > > >>> > > >>> > To install homebrew, from the terminal run the following commands. ÂI suggest that if you are at all worried checkout the script that is being run by the curl command so as to not install anything on your system that may be in any way suspicious Â. > >>> > > >>> > #Note: I had to create the /usr/local directory on my mac which isn't in the blog post. > >>> > # create /usr/local if it doesn't already exist > >>> > sudo mkdir -p /usr/local > >>> > # Take ownership of /usr/local so you don't have to sudo > >>> > sudo chown -R `whoami` /usr/local > >>> > # Fix the permissions on your mysql installation, if you have one > >>> > sudo chown -R mysql:mysql /usr/local/mysql* > >>> > # Download and install Homebrew from github > >>> > curl -L http://github.com/mxcl/homebrew/tarball/master | tar xz --strip 1 -C /usr/local > >>> > > >>> > Once this is complete you should now have the "brew" program in your path. > >>> > > >>> > If typing "brew" at the terminal prompt gives a "command not found" error investigate if "/usr/local/bin" is in your PATH environment variable. > >>> > > >>> > If everything has worked up to this point typing "brew" should display an example usage message. > >>> > > >>> > * Install git > >>> > > >>> > Next we will install git as it is required to be able to update homebrew itself as well as to install many homebrew formula. > >>> > > >>> > From the terminal: > >>> > > >>> > brew install git > >>> > > >>> > * Install emacs > >>> > > >>> > This installs the current development branch of emacs24 from Ârepo.or.cz. > >>> > > >>> > It may be possible to use other emacson such as aquamax or other distributions specifically for the mac. ÂI had no luck doing so and this was the way that worked for me. > >>> > > >>> > If anyone else is using a different emacs I would love to hear about it so I can add aditional install options here. > >>> > > >>> > To install using brew, issue the following command from the terminal: > >>> > brew install emacs --HEAD --use-git-head --cocoa > >>> > > >>> > You will need to have added /usr/local/bin to the beginning of your PATH environment variable otherwise the shell will find the apple supplied version of emacs. > >>> > > >>> > You can check this has worked by issueing the following command at the terminal: > >>> > > >>> > which emacs > >>> > > >>> > It should report /usr/local/bin/emacs > >>> > > >>> > > >>> > * Install emacspeak > >>> > > >>> > We will keep emacspeak in a directory ~/src/emacspeak > >>> > # create the ~/src dir if it doesn't exist > >>> > mkdir -p ~/src > >>> > # changedir to ~/src > >>> > cd ~/src > >>> > # checkout a copy of emacspeak from the google svn repository > >>> > svn co http://emacspeak.googlecode.com/svn/trunk emacspeak > >>> > > >>> > cd emacspeak > >>> > make config > >>> > make emacspeak > >>> > > >>> > > >>> > * Test the e-mac-speak server > >>> > > >>> > Before trying to run emacspeak itself we need to verify that the e-mac-speak server is working. > >>> > > >>> > To do this, from the terminal: > >>> > > >>> > # Change to the emacspeak servers directory > >>> > cd ~/src/emacspeak/servers > >>> > # run the e-mac-speak server > >>> > ./mac > >>> > > >>> > At this point you should hear the words "emacspeak server" spoken. > >>> > > >>> > If not then we have a problem. > >>> > > >>> > To speak some text enter the following lines. > >>> > > >>> > q {This is a test.} > >>> > d > >>> > > >>> > You should hear the words "This is a test." > >>> > > >>> > If all goes well move on to the next step. ÂIf not troubleshoot the issue until the above steps work. > >>> > > >>> > * Emacs initialization > >>> > > >>> > To get emacs to start up loading emacspeak with the e-mac-speak server place the following in your .emacs.d/init.el file. > >>> > > >>> > This is the minimum required to ensure that emacspeak comes up talking. ÂYou will want to investigate further customizations of both emacs and emacspeak as you progress. > >>> > > >>> > A good place to look for emacspeak customizations is in the "tvr" directory of the emacspeak source. ÂThis is Raman's emacs customizations. > >>> > > >>> > > >>> > fixme > >>> > * pysox > >>> > > >>> > To compile pysox you will need the sox headers and libraries installed. ÂThey can be installed with: > >>> > brew install sox > >>> > > >>> > You can download the pysox package from: > >>> > http://pypi.python.org/pypi/pysox > >>> > > >>> > I have found it does not build cleanly for me. > >>> > > >>> > This is how I got it built and installed. > >>> > > >>> > First I run: > >>> > python setup.py build > >>> > as per the README. > >>> > > >>> > This will fail. > >>> > I then took the two build lines and ran them by hand. ÂOn each line I removed the --arch i386. > >>> > > >>> > So the two build lines I ended up with were: > >>> > llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c pysox/combiner.c -o build/temp.macosx-10.7-intel-2.7/pysox/combiner.o > >>> > llvm-gcc-4.2 -Wl,-F. -bundle -undefined dynamic_lookup -Wl,-F. -arch x86_64 build/temp.macosx-10.7-intel-2.7/pysox/combiner.o -lsox -o build/lib.macosx-10.7-intel-2.7/pysox/combiner.so > >>> > > >>> > After running these two commands I then was able to run the build again: > >>> > > >>> > python setup.py build > >>> > Then to install > >>> > python setup.py install > >>> > ----------------------------------------------------------------------------- To unsubscribe from the emacspeak list or change your address on the emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a subject of "unsubscribe" or "help".
If you have questions about this archive or had problems using it, please send mail to:
priestdo@xxxxxxxxxxx No Soliciting!Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998