Skip to Content.
Sympa Menu

emacspeak - Re: [Emacspeak] Compiling emacspeak on Nix OS

Subject: Emacspeak discussion list

List archive

Re: [Emacspeak] Compiling emacspeak on Nix OS


Chronological Thread 
  • From: Tim Cross <theophilusx AT gmail.com>
  • To: emacspeak AT emacspeak.net
  • Subject: Re: [Emacspeak] Compiling emacspeak on Nix OS
  • Date: Mon, 03 Jul 2023 07:31:11 +1000


that error would indicate you don't have the espeak-ng development
sources installed OR the headers/libraries are not on the default search
path used by the compiler.

I'm not familiar with nix, but you typically need to install the source
code for espeak to get the development libraries and header files. On
other systems, this is often a package with the -devel suffix.

I would search your system for the speech_lib.h file. If it isn't there,
then you know there is additional sources you need to install. If it is
on your system, then you probably need to modify the espeak Makefile to
tell the compiler where to find the included header files and libraries.

"Harley Richardson" (via emacspeak Mailing List) <emacspeak AT emacspeak.net>
writes:

> Hello,
>
> I've been trying to get the latest emacspeak to work on nix OS, as 56.0 has
> some issues,
> mainly to do with sounds not playing and shortcuts I'm used to not being
> there. Everything
> is fine until it tries to compile the espeak server. I end up getting the
> following error:
>
> tclespeak.cpp:41:10: fatal error: espeak-ng/speak_lib.h: No such file or
> directory
>    41 | #include <espeak-ng/speak_lib.h>
>       |          ^~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make[1]: *** [<builtin>: tclespeak.o] Error 1
> Can't build espeak server!
>
> This was after I ran make espeak in the emacspeak directory. I tried
> installing espeak-ng
> both in regular and environment packages, that didn't fix it. Am I doing
> something wrong,
> or is this just me being new to nix?
>
> Harley
>
> Emacspeak discussion list -- emacspeak AT emacspeak.net
> To unsubscribe send email to:
> emacspeak-request AT emacspeak.net with a subject of: unsubscribe




Archive powered by MHonArc 2.6.19+.

Top of Page