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

Re: Emacspeak on Ubuntu 8.10: best way to go about it?



Hi

Jason white posted some patches   a while ago which you will need to
apply to be able to compile the espeak server.

I agree the build is rather awkward but once you have the server
compiled you never need worry about it again.  I expect it would be
rather difficult to sort it so that it compiles directly on all
distributions because of all the potential variations in paths for tcl,
etc, as well as different versions of compilers.

If you still have problems I can try and send you my server binary off
list, but don't expect it would work because there's probably
differences between our systems.

Alastair

David Picón Álvarez wrote:
> OK, I've moved along a bit, but still haven't managed to build the
> server for eSpeak, just got fewer errors now!
> 
> Following Tim's suggestion I removed libtool invocation. For some reason
> I had to add the -I line with the path for tcl.h, which I did. Compiling
> with tcl8.4 the list of errors is quite extensive, with errors in the
> Tcl files themselves, from what I've seen. I install tcl8.3 also per
> Tim's suggestion, and now I get fewer errors. I copy here the script:
> 
> tclespeak.cpp: In function ‘int Tclespeak_Init(Tcl_Interp*)’:
> 
> tclespeak.cpp:145: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:145: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:160: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:162: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:164: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:165: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:166: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:168: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:169: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:171: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:173: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:175: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:177: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:179: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:181: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:189: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp: In function ‘void initLanguage(Tcl_Interp*)’:
> 
> tclespeak.cpp:559: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:563: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:563: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:563: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:572: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:572: error: invalid conversion from ‘const char*
> const’ to ‘char*’
> 
> tclespeak.cpp:596: error: invalid conversion from ‘const char*’ to
> ‘char*’
> 
> tclespeak.cpp:600: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:604: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:604: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:605: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:605: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:608: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:608: error: invalid conversion from ‘const char*
> const’ to ‘char*’
> 
> tclespeak.cpp:609: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:610: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:610: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp: In function ‘int getLangIndex(Tcl_Interp*, int*)’:
> 
> tclespeak.cpp:618: warning: deprecated conversion from string constant
> to ‘char*’
> 
> tclespeak.cpp:618: warning: deprecated conversion from string constant
> to ‘char*’
> 
> make: [libtclespeak.so] Error 1 (ignored)
> 
> 
> 
> Sorry about the codepage mismatch, the file's in UTF8. Anyway, there
> seem to be quite a few errors on typecasts or the like. At this stage I
> am stuck... I must say this build process is rather.... involved.
> 
> 
> 
> Thanks all.
> 
> --David.
> 
> 
> 
> -----------------------------------------------------------------------------
> 
> 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