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

Re: [Emacspeak] Installing Emacspeak on Ubuntu



Okay, speak_lib.h is where it should be. The error seems to be wanting a file called tcl.h, which I can't find anywhere.

On Sun, Apr 28, 2024 at 6:42 PM Tim Cross <theophilusx@xxxxxxxxx> wrote:

My guess would be that under your distro, the package you need is
libespeak-ng-dev/noble, which from you list, you seem to have
installed. So, next step is to verify whether

1. You are definitely getting the exact same error

2. Where the header file speak_lib.h is located on your
system. If it isn't in /usr/include/espeak-ng then you will need to
adjust the path the compiler searches in order to find it. However, just
to be certain, make sure you do a make clean and a make in the
native-espeak directory to verify it is the exact same error message.

Lanie Carmelo <laniegcarmelo@xxxxxxxxx> writes:

> Okay, I just looked again, and I can't find a package with the name espeak-ng-devel. These are all the packages I find when
> I do sudo apt search espeak:
> asterisk-espeak/noble 5.0~1-4ubuntu1 amd64
>   eSpeak module for Asterisk
>
> brltty-espeak/noble 6.6-4ubuntu5 amd64
>   Access software for a blind person - espeak driver
>
> emacspeak/noble,now 53.0+dfsg-2 all [installed]
>   speech output interface to Emacs
>
> emacspeak-espeak-server/noble,now 53.0+dfsg-2 amd64 [installed,automatic]
>   espeak synthesis server for emacspeak
>
> espeak/noble,now 1.48.15+dfsg-3build1 amd64 [installed]
>   Multi-lingual software speech synthesizer
>
> espeak-data/noble,now 1.48.15+dfsg-3build1 amd64 [installed,automatic]
>   Multi-lingual software speech synthesizer: speech data files
>
> espeak-ng/noble,now 1.51+dfsg-12build1 amd64 [installed]
>   Multi-lingual software speech synthesizer
>
> espeak-ng-data/noble,now 1.51+dfsg-12build1 amd64 [installed,automatic]
>   Multi-lingual software speech synthesizer: speech data files
>
> espeak-ng-espeak/noble 1.51+dfsg-12build1 all
>   Multi-lingual software speech synthesizer
>
> espeakedit/noble 1.48.15-2build3 amd64
>   Multi-lingual software speech synthesizer - editor
>
> espeakup/noble 1:0.90-13build2 amd64
>   Connector between speakup kernel modules and espeak
>
> foliate/noble 4.~really3.1.1-1 all
>   simple and modern ebook viewer
>
> gstreamer1.0-espeak/noble 0.5.0-1build2 amd64
>   GStreamer plugin for eSpeak speech synthesis
>
> libespeak-dev/noble,now 1.48.15+dfsg-3build1 amd64 [installed]
>   Multi-lingual software speech synthesizer: development files
>
> libespeak-ng-dev/noble,now 1.51+dfsg-12build1 amd64 [installed]
>   Multi-lingual software speech synthesizer: development files
>
> libespeak-ng-libespeak-dev/noble 1.51+dfsg-12build1 amd64
>   Multi-lingual software speech synthesizer: development files
>
> libespeak-ng-libespeak1/noble 1.51+dfsg-12build1 amd64
>   Multi-lingual software speech synthesizer: shared library
>
> libespeak-ng1/noble,now 1.51+dfsg-12build1 amd64 [installed,automatic]
>   Multi-lingual software speech synthesizer: shared library
>
> libespeak1/noble,now 1.48.15+dfsg-3build1 amd64 [installed,automatic]
>   Multi-lingual software speech synthesizer: shared library
>
> mbrola/noble 3.3+dfsg-9 amd64
>   Multilingual software speech synthesizer
>
> pykml/noble 0.2.0+dfsg-4 all
>   Python KML library -- scripts
>
> python3-espeak/noble,now 0.5-5build3 amd64 [installed]
>   Python bindings for eSpeak
>
> python3-py/noble 1.11.0-2 all
>   Advanced Python development support library (Python 3)
>
> python3-pykml/noble 0.2.0+dfsg-4 all
>   Python KML library
>
> ruby-espeak/noble 1.1.0-1 all
>   small Ruby API to create Text-To-Speech mp3 files
>
> speech-dispatcher-espeak/noble,now 0.12.0~rc2-2build3 amd64 [installed]
>   Speech Dispatcher: Espeak output module
>
> speech-dispatcher-espeak-ng/noble,now 0.12.0~rc2-2build3 amd64 [installed,automatic]
>   Speech Dispatcher: Espeak-ng output module
>
> speechd-up/noble 0.5~20110719-15 amd64
>   Interface between Speech Dispatcher and SpeakUp
>
> stardict-plugin/noble 3.0.7+git20220909+dfsg-4build4 amd64
>   International dictionary lookup program - common plugins
>
> stardict-plugin-espeak/noble 3.0.7+git20220909+dfsg-4build4 amd64
>   International dictionary lookup program - eSpeak TTS plugin
>
> yt-dlp/noble,now 2024.04.09-1 all [installed,automatic]
>   downloader of videos from YouTube and other sites
>
> On Sun, Apr 28, 2024 at 5:56 PM Tim Cross <theophilusx@xxxxxxxxx> wrote:
>
>  The initial error you reported is telling you that the make process
>  cannot find a espeak-ng header file. As reported by others, this
>  typically indicates you don't have the epseak-ng development package
>  installed which contains the shared libraries and header files needed to
>  build the espeak speech server. Development packages typically share the
>  name of the main binary package, but with the extension -devel.
>
>  If you have verified you have espeak-ng-devel (and not espeak-devel, the
>  'ng' is important) installed, verify you are getting the exact same
>  error and not just another error. Do a make clean and then a make in the
>  native-espeak directory. If you get the exact same error message, that
>  would indicate that for some reason, the build process is not finding
>  the header files. This would indicate they are in a different location
>  to where the build process expects them, so the next step would be to
>  identify where the files are located. On Fedora, the files are in
>  /usr/include/espeak-ng and I would expect a similar location in
>  Ubuntu/debian.
>
>  So, first step, confirm it is the exact same error message and if it is,
>  confirm you have espeak-ng-devel installed and where the
>  espeak-ng/speak_lib.h file is located.
>
>  If it is actually a slightly different error message your now getting,
>  then post that message and we will look at that. Hope it is a slightly
>  different message as that means progress!
>
>  BTW you say you just installed Linux on an old system you had. Can you
>  also indicate how familiar and/or comfortable you are with Linux. This
>  will help in knowing what level of detail we need to provide when making
>  suggestions.
>
>  "Lanie Carmelo" (via emacspeak Mailing List) <emacspeak@xxxxxxxxxxxxx> writes:
>
>  > I think I have all the right eSpeak packages installed, but it still doesn't work. A file showing my available packages and
>  > what I have installed is attached. Hopefully this will help clear things up.
>  >
>  > On Sun, Apr 28, 2024 at 4:51 AM John Covici <covici@xxxxxxxxxxxxxx> wrote:
>  >
>  >  I think you need the espeak-ng package as opposed to just espeak --
>  >  not just the -dev package.
>  >
>  >  On Sun, 28 Apr 2024 01:43:23 -0400,
>  >  Lanie Carmelo (via emacspeak Mailing List) wrote:
>  >  >
>  >  > [1  <multipart/alternative (7bit)>]
>  >  > [1.1  <text/plain; UTF-8 (quoted-printable)>]
>  >  > Hi. I installed the dev package, but it's still not seeing that file.
>  >  >
>  >  > On Sat, Apr 27, 2024 at 11:44 PM Bart Bunting <bart@xxxxxxxxxxxxxx> wrote:
>  >  >
>  >  > > Looks like you’re missing the espeak ng dev package
>  >  > > Regards
>  >  > >
>  >  > > Bart
>  >  > >
>  >  > > > On 28 Apr 2024, at 2:23 PM, Lanie Carmelo <emacspeak@xxxxxxxxxxxxx>
>  >  > > wrote:
>  >  > > >
>  >  > > > 
>  >  > > > Hi all. New subscriber here. I just put Linux on an old computer I have,
>  >  > > and I'm trying to install Emacspeak. I've tried both the directions on the
>  >  > > Emacspeak website and just installing the package found when I type sudo
>  >  > > apt install emacspeak. When I tried the first option for the first time,
>  >  > > make config didn't work, so I tried the second and got a Dpkg error code 1.
>  >  > > I then tried following the directions on the website again, and this time I
>  >  > > got to where I'm supposed to build a speech server. I chose eSpeak and made
>  >  > > sure all eSpeak packages were installed. I tried to build it by typing make
>  >  > > and got:
>  >  > > >
>  >  > > > g++ -g    -O2 -fPIC  -DPIC  -pedantic -ansi -Wall -Wno-long-long
>  >  > > --std=c++11 -I/usr/include/tcl8.6   -c -o tclespeak.o tclespeak.cpp
>  >  > > > 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: *** [<builtin>: tclespeak.o] Error 1
>  >  > > > rarebird15@rarebird15-HP-Laptop-14-dq0xxx:~/emacspeak/servers/native-espeak$
>  >  > > ^C
>  >  > > > rarebird15@rarebird15-HP-Laptop-14-dq0xxx
>  >  > > :~/emacspeak/servers/native-espeak$
>  >  > > >
>  >  > > > Has anyone else encountered this? Can you give me any suggestions on how
>  >  > > to fix it? Thanks.
>  >  > > > Emacspeak discussion list -- emacspeak@xxxxxxxxxxxxx
>  >  > > > To unsubscribe send email to:
>  >  > > > emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe
>  >  > >
>  >  > [1.2  <text/html; UTF-8 (quoted-printable)>]
>  >  > [2  <text/plain; UTF-8 (8bit)>]
>  >  > Emacspeak discussion list -- emacspeak@xxxxxxxxxxxxx
>  >  > To unsubscribe send email to:
>  >  > emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe
>  >
>  >  --
>  >  Your life is like a penny.  You're going to lose it.  The question is:
>  >  How do
>  >  you spend it?
>  >
>  >           John Covici wb2una
>  >           covici@xxxxxxxxxxxxxx
>  >
>  > [4. text/plain; espeak.txt]...
>  >
>  > Emacspeak discussion list -- emacspeak@xxxxxxxxxxxxx
>  > To unsubscribe send email to:
>  > emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe


|Full archive May 1995 - present by Year|Search the archive|


If you have questions about this archive or had problems using it, please contact us.

Contact Info Page