Hi Liz, Perhaps I missed it, but what version of emacspeak are you working with? Thanks, -Greg On Fri, Mar 9, 2012 at 10:08 AM, Liz Hare <doggene@xxxxxxxxxxx> wrote: > Hi Alex, and all, > > Thanks. After making sure these are installed and tcl.h is in > /usr/include/tcl8.4/tcl.h, I still get the error about not being able to > find tcl.h when running make. > > I'd really appreciate any suggestions you guys might have. > > Liz > > On 3/9/2012 12:31 PM, Alex Midence wrote: >> >> You are over thinking the problem. All you have to do is: >> >> apt-get build-dep espeak >> apt-get build-dep tclx >> >> Then, from the emacspeak source directory, cd servers/linux-espeak >> make >> make install >> >> You don't have to go out and untar anything, edit any make files or >> install anything from source other than emacspeak and the speech >> server of your choice. Debian's package management system takes care >> of the rest of that stuff for you. It'll basicaly bring in a package >> with a name like >> libespeak-dev >> and another called something along the lines of libtcl8.4-dev. Once >> those are installed in your system, you will have the necessary files >> for inclusion by the c++ file you are compiling. >> >> Sorry if I was vague, >> Alex M >> >> On 3/9/12, Liz Hare<doggene@xxxxxxxxxxx> wrote: >>> >>> Hi Alex (and everyone who can help), >>> >>> Thanks so much for your suggestion. I downloaded the sources you >>> suggested. >>> >>> I adapted the makefile.tcl83 file in the >>> /usr/share/emacs/site-lisp/emacspeak/servers/linux-espeak directory for >>> tcl/tclx 8.4. I got a warning about long-long integers and as discussed >>> a couple of years ago on this list, added -Wno-long-long. I removed >>> references to libtool which seemed to cause problems for people before. >>> >>> I still get errors which make me wonder if the changes to tcl 8.4 are >>> just incompatible with tclespeak. >>> >>> root:/usr/share/emacs/site-lisp/emacspeak/servers/linux-espeak >>> make -f makefile.hare >>> g++ -O2 -I/usr/include/espeak -Wno-long-long -fPIC -DPIC -pedantic >>> -ansi -Wall -I/usr/include/tcl8.4 -c tclespeak.cpp >>> tclespeak.cpp: In function int Tclespeak_Init(Tcl_Interp*): >>> tclespeak.cpp:140:7: warning: variable rc set but not used >>> [-Wunused-but-set-variable] >>> tclespeak.cpp: In function void initLanguage(Tcl_Interp*): >>> tclespeak.cpp:559:19: warning: deprecated conversion from string >>> constant to char* [-Wwrite-strings] >>> tclespeak.cpp:596:40: error: invalid conversion from const char* to >>> char* [-fpermissive] >>> make: *** [tclespeak.o] Error 1 >>> >>> >>> What would you guys suggest? Should I try to install tcl/tclx 8.3, which >>> is no longer available using apt-get? Is there a newer version of >>> tclespeaktclespeak.cpp (mine is dated 12/31/11)? >>> >>> Thanks, >>> Liz >>> >>> Liz Hare PhD >>> Dog Genetics LLC >>> doggene@xxxxxxxxxxx >>> http://www.doggenetics.com >>> >>> On 3/9/2012 8:51 AM, Alex Midence wrote: >>>> >>>> Hi, >>>> >>>> You're missing a package with development files. I had the exact same >>>> thing happen to me. You need the development package for tclx and the >>>> development files for espeak. Use the apt-get build-dep command in >>>> both instances to retrieve them. Then, run the make and make install >>>> command again. Once you've added it, to make sure emacspeak comes up >>>> with it each time, add the following line to your .bashrc file in your >>>> home directory: >>>> >>>> export DTK_PROGRAM=espeak >>>> >>>> This way, Emacspeak knows to use it when it comes up. >>>> >>>> Regards, >>>> Alex M >>>> >>>> >>>> On 3/8/12, Liz Hare<doggene@xxxxxxxxxxx> wrote: >>>>> >>>>> >>>>> Hi all, >>>>> >>>>> I'm trying to set up Emacspeak with Espeak on Debian Wheezy. I'm having >>>>> difficulty making the linux-espeak server. This may be related to the >>>>> fact that I have tcl8.4, but I'm not sure. >>>>> >>>>> root:/usr/share/emacs/site-lisp/emacspeak/servers/linux-espeak >>>>> make >>>>> libtool --mode=compile g++ -O2 -I/usr/include/espeak -fPIC -DPIC >>>>> -pedantic -ansi -Wall -c tclespeak.cpp >>>>> libtool: compile: g++ -O2 -I/usr/include/espeak -fPIC -DPIC -pedantic >>>>> -ansi -Wall -c tclespeak.cpp -fPIC -DPIC -o .libs/tclespeak.o >>>>> tclespeak.cpp:40:17: fatal error: tcl.h: No such file or directory >>>>> compilation terminated. >>>>> make: *** [tclespeak.lo] Error 1 >>>>> >>>>> I think I saw a past discussion saying that just changing the version >>>>> in >>>>> the makefile was not a good approach. My tcl.h is in >>>>> /usr/include/tcl8.4. Can anyone suggest how to get this working? >>>>> >>>>> Thanks, >>>>> Liz >>>>> >>>>> >>>>> ----------------------------------------------------------------------------- >>>>> 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". >>>>> >>>>> >>>> >>> >> > > ----------------------------------------------------------------------------- > 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". > -- Greg Priest-Dorman gregpd@xxxxxxxxxxx ----------------------------------------------------------------------------- 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