[Kde-accessibility] KDE Speech API Draft 2 and new KTTSD

Gary Cramblitt garycramblitt at comcast.net
Fri May 21 22:22:55 CEST 2004


On Friday 21 May 2004 8:04 am, Gunnar Schmi Dt wrote:
>
> Sorry, but I could not compile kttsd. The compiler produced the following
> errors:
>
> gunnars at aragorn:~/kde32/builddir/kdenonbeta> make -k
> [...]
> In file included from ../../../../../kdenonbeta/kttsd/plugins/festivalint/
> festivalintconf.h:32,
>                  from ../../../../../kdenonbeta/kttsd/plugins/festivalint/
> festivalintconf.cpp:36:
> festivalintconfwidget.h:15:44: /home/share/scratch/pluginconf.h: No such
> file or directory

Sorry about that.  Friggin' designer.  Fixed.

> [...]
> In file included from ../../../../kdenonbeta/kttsd/kttsjobmgr/
> kttsjobmgr.cpp:12:
> ../../../../kdenonbeta/kttsd/kttsjobmgr/kttsjobmgr.h:18:26: kspeech_stub.h:
> No such file or directory
> [...]

kttsd/libktts should have been built first, which would have run the dcopidl 
compiler to produce /kttsd/libktts/kspeech_stub.h.  libktts should build 
first because of this line in kttsd/Makefile.am:

SUBDIRS = libktts libkttsd plugins kttsd icons kttsjobmgr kcmkttsmgr kttsmgr 
kcmkttsd app-plugins

And it should run the dcopidl compiler because of this line in 
kttsd/libktts/Makefile.am:

libktts_la_SOURCES =  ktts.cpp kspeech.skel kspeech.stub kspeechsink.skel

Then in kttsd/kttsjobmgr/Makefile.am, the lines

INCLUDES = -I$(top_srcdir)/kttsd/libktts
AM_CPPFLAGS = -I$(top_srcdir)/kttsd/libktts $(all_includes)

should have found the kspeech_stub.h file.  (Well, that's my rather limited 
understanding of some of the mysteries of Automake.)

Did you start with "make -f Makefile.cvs"?  The commands I use to build kttsd 
are:

cd kdenonbeta
echo kttsd>inst-apps
make -f Makefile.cvs
./configure
make
make install
make apidox      (assuming you doxygen installed)

Let me know please if this helps any.

-- 
Gary Cramblitt (aka PhantomsDad)


More information about the kde-accessibility mailing list