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

Re: [Emacspeak] Installing Emacspeak on Ubuntu



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