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

Re: emacs upgrade in debian



Hi Daniel,

you will need to install tclx8.3 and maybe also tclx8.3-dev. I will
try to fix the compile errors with espeak and tcl8.4 later.

Best regards, Lukas

Daniel Dalton writes ("Re: emacs upgrade in debian"):
> If I use make -f makefile.tcl83 I get this: anyone know how to fix
> these errors?
> 
> libtool --mode=compile g++ -O2 -I/usr/include/espeak -fPIC  -DPIC  -I/usr/include/tcl8.3 -c tclespeak.cpp
> libtool: compile:  g++ -O2 -I/usr/include/espeak -fPIC -DPIC -I/usr/include/tcl8.3 -c tclespeak.cpp  -fPIC -DPIC -o .libs/tclespeak.o
> 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:603: warning: deprecated conversion from string constant to ‘char*’
> tclespeak.cpp:603: 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:607: warning: deprecated conversion from string constant to ‘char*’
> tclespeak.cpp:608: warning: deprecated conversion from string constant to ‘char*’
> tclespeak.cpp:609: warning: deprecated conversion from string constant to ‘char*’
> tclespeak.cpp:609: warning: deprecated conversion from string constant to ‘char*’
> tclespeak.cpp: In function ‘int getLangIndex(Tcl_Interp*, int*)’:
> tclespeak.cpp:617: warning: deprecated conversion from string constant to ‘char*’
> tclespeak.cpp:617: warning: deprecated conversion from string constant to ‘char*’
> libtool: compile:  g++ -O2 -I/usr/include/espeak -fPIC -DPIC -I/usr/include/tcl8.3 -c tclespeak.cpp -o tclespeak.o >/dev/null 2>&1
> libtool --mode=link g++ -O2 -I/usr/include/espeak -fPIC  -DPIC  -I/usr/include/tcl8.3 -g -o libtclespeak.so tclespeak.lo -ltcl8.3 -ltclx8.3 -L/usr/lib -lespeak -lm  -shared
> libtool: link: g++ -O2 -I/usr/include/espeak -fPIC -DPIC -I/usr/include/tcl8.3 -g -o libtclespeak.so .libs/tclespeak.o  -ltcl8.3 -ltclx8.3 -L/usr/lib -lespeak -lm
> /usr/bin/ld: cannot find -ltclx8.3
> collect2: ld returned 1 exit status
> make: *** [libtclespeak.so] Error 1
> 
> Tcl8.3 is installed
> 
> Thanks,
> Dan.
> 
> On Mon, Aug 24, 2009 at 09:26:30PM +1000, Daniel Dalton wrote:
> > Apologies for the delay for this reply, please see below.
> > 
> > On Sat, Aug 15, 2009 at 09:36:13AM +1000, Tim Cross wrote:
> > > 
> > > If your emacspeak is quite old, you will need to update it to work with
> > > emacs 23. I'm not sure if thre is a current version of emacspeak as a
> > 
> > Ok built that fine from svn.
> > 
> > > You will then need to cd to the server/linux-espeak directory and build the
> > > espeak server by running make. Note that there has been some
> > > incompatibility with libtool in recent versions of ubuntu, so you may need
> > > to modify the makefile. However, try it out first and see if it builds. If
> > > it doesn't and you get link errors, let us know and I'll try to provide an
> > > updated Makefile. 
> > 
> > An updated makefile would be greatly appreciated.
> > 
> > Here is output from make:
> > 
> > libtool --mode=compile g++ -O2 -I/usr/include/espeak -fPIC  -DPIC -pedantic  -Wall -I/usr/include/tcl8.4 -c tclespeak.cpp
> > libtool: compile:  g++ -O2 -I/usr/include/espeak -fPIC -DPIC -pedantic -Wall -I/usr/include/tcl8.4 -c tclespeak.cpp  -fPIC -DPIC -o .libs/tclespeak.o
> > In file included from tclespeak.cpp:40:
> > /usr/include/tcl8.4/tcl.h:416: error: ISO C++ 1998 does not support ‘long long’
> > /usr/include/tcl8.4/tcl.h:417: error: ISO C++ 1998 does not support ‘long long’
> > tclespeak.cpp: In function ‘void initLanguage(Tcl_Interp*)’:
> > tclespeak.cpp:559: warning: deprecated conversion from string constant to ‘char*’
> > make: *** [tclespeak.lo] Error 1
> > 
> > 
> > Thanks very much,
> > Dan.
> 
> 
> 
> [GNUPG:] ERRSIG 40262C3588CA2550 17 2 01 1251191167 9
> [GNUPG:] NO_PUBKEY 40262C3588CA2550

-----------------------------------------------------------------------------
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