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

Compiling espeak server Ubuntu 8.04 (Cannot find tclx8.4)



Hello all:
I am trying to compile the espeak server with tcl 8.04. Everything seems to go okay until Make gets to this line: libtool --mode=link g++ -O2 -I/usr/include/espeak -fPIC -DPIC -ansi -Wall -I/usr/include/tcl8.4 -g -o libtclespeak.so tclespeak.lo -ltclx8.4 -L/usr/lib -lespeak -shared g++ -O2 -I/usr/include/espeak -fPIC -DPIC -ansi -Wall -I/usr/include/tcl8.4 -g -o libtclespeak.so .libs/tclespeak.o -shared -ltclx8.4 -L/usr/lib -lespeak
/usr/bin/ld: cannot find -ltclx8.4
collect2: ld returned 1 exit status
make: *** [libtclespeak.so] Error 1
Looking on my system I discover that tclx can be found in /usr/lib/tclx8.4. Looking in this directory I find a bunch of files with a .tcl extention. What can I do to modify the make file so /usr/bin/ld can find tclx? I have already patched the make file to locate tcl8.4. The patch is below.

Thanks, Doug


---cut hear ---
--- makefile.tcl83	2007-06-30 02:14:51.000000000 -0230
+++ makefile.tcl84	2008-07-22 18:19:55.000000000 -0230
@@ -14,8 +14,8 @@
 INSTALL = install
 libparentdir = ${PREFIX}/share/emacs/site-lisp
 libdir2 =$(libparentdir)/emacspeak/servers/linux-espeak
-CFLAGS= -O2 -I$(ESPEAKDIR)/include/espeak -fPIC -DPIC -pedantic -ansi -Wall -I/usr/include/tcl8.3
-LIBS= -ltclx8.3 -L$(ESPEAKDIR)/lib -lespeak
+CFLAGS= -O2 -I$(ESPEAKDIR)/include/espeak -fPIC -DPIC -pedantic -ansi -Wall -I/usr/include/tcl8.4
+LIBS= -ltclx8.4 -L$(ESPEAKDIR)/lib -lespeak

 TTS=libtclespeak.so
 all: libtclespeak.so

-----------------------------------------------------------------------------
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 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog