Package Details: ekho 8.6-1

Git Clone URL: https://aur.archlinux.org/ekho.git (read-only, click to copy)
Package Base: ekho
Description: Multilingual text-to-speech (TTS) software for Cantonese, Mandarin, Toisanese, Zhaoan Hakka, Tibetan, Ngangien, Korean and English
Upstream URL: https://www.eguidedog.net/ekho.php
Keywords: blind multilingual text-to-speech tts
Licenses: GPL
Submitter: Spyhawk
Maintainer: 0b100100
Last Packager: 0b100100
Votes: 11
Popularity: 0.006507
First Submitted: 2011-12-25 20:17 (UTC)
Last Updated: 2021-12-14 13:30 (UTC)

Latest Comments

0b100100 commented on 2021-12-13 03:04 (UTC)

Somehow the environment variables of /etc/makepkg.conf are not passed to the configure script (anymore?). This led to a failed build. Manually passing them successfully builds ekho.

I am open for any feedback.

Popolon commented on 2020-08-11 21:19 (UTC) (edited on 2020-08-12 08:19 (UTC) by Popolon)

ok, found a 2 line working patch on the current PKGBUILD, probably need to upstream to the original authors:

diff --git a/PKGBUILD b/PKGBUILD
index ce46d58..dc44f54 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,7 +29,8 @@ prepare() {

build() { cd "${srcdir}/${pkgname}-${pkgver}" - + export LDFLAGS=-lomp + sed -i 's/^LIBS = -lestools -lespeak -lsndfile -lpthread/LIBS = -lestools -lespeak -lsndfile -lpthread -lomp/' Makefile make }

then :
export LDFLAGS=-lomp ; makepkg

works

Popolon commented on 2020-08-11 21:10 (UTC)

Still the same problem with patched version.

In src/ekho-7.7.1/config.log :

configure:13448: g++ -o conftest -g -O2   conftest.cpp -lestools -lncurses
           -leststring -lestbase -lespeak -lsndfile -lpthread  >&5
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib/libestools.so: undefined reference to omp_get_thread_num'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib/libestools.so: undefined reference toomp_get_num_threads'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib/libestools.so: undefined reference to GOMP_parallel'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib/libestools.so: undefined reference toGOMP_barrier'

omp_get_thread_num is both defined in: * /usr/include/c++/10.1.0/parallel/compiletime_settings.h * /usr/include/omp.h

So instead of the patch, I put export LDFLAGS=-lomp juste before make in the build() function. The configure ans compilation corks, but it still fails at link time because of missing libomp functions. the LDFLAGS seems to not be take in account at the link time.

dkasak commented on 2020-02-19 13:44 (UTC) (edited on 2020-02-19 13:57 (UTC) by dkasak)

I was annoyed that ekho was not building anymore, so I found some time today to fix it. I'm not sure what changed to require these changes, but the following made it build for me:

@Huulivoide: Does the package still build for you without these changes? If not, could you please apply them?

dkasak commented on 2019-12-22 11:17 (UTC)

I'm getting a build failure:

checking for main in -lsndfile... yes
checking for main in -lespeak... yes
checking for main in -lpulse... yes
checking for main in -lncurses... yes
checking for main in -lestools... no
configure: error: in `/home/dkasak/.cache/yay/ekho/src/ekho-7.7.1':
configure: error: estool test failed
See `config.log' for more details
==> ERROR: A failure occurred in prepare().

Huulivoide commented on 2019-09-19 10:37 (UTC)

@Vitrum-cnkj34kr8 libestools should be provided by the festival package.

Vitrum-cnkj34kr8 commented on 2019-09-17 20:12 (UTC)

Fails on prepare():

checking for main in -lestools... no

farseerfc commented on 2019-08-28 09:41 (UTC)

Here is a PKGBUILD to update to 7.7.1 https://github.com/archlinuxcn/repo/blob/2178488ec5f26aa9872fa8ecddd195804e20e703/archlinuxcn/ekho/PKGBUILD

dkasak commented on 2019-07-17 08:59 (UTC)

I'm not using ekho anymore, so I'm disowning it so someone else can jump in.

bruceutut commented on 2019-06-21 03:48 (UTC)

please update to 7.7.1 thanks

dkasak commented on 2016-10-26 10:50 (UTC)

It seems it is. The upstream website says ekho can use either espeak or festival, but I can't find a way to disable espeak so it seems it's required even if you use festival for synthesis. I had espeak installed due to other reasons so I didn't notice. I'll add the dependency.

xjpvictor commented on 2016-10-25 02:08 (UTC)

I have to install espeak for this package to be built. Is it a dependency?

dkasak commented on 2016-10-09 12:14 (UTC)

Updated to version 7.0.

doctorcolossus commented on 2015-09-08 07:41 (UTC)

I have festival-patched-hts installed.

doctorcolossus commented on 2015-09-08 07:40 (UTC)

I get this error: libtool: link: g++ -I./utfcpp/source -I./sonic -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -O0 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o test_ekho src/test_ekho-test_ekho.o libekho.a -lpulse-simple -lpulse ./lib/libFestival.a ./lib/libestools.a ./lib/libestbase.a ./lib/libeststring.a -lncurses -lmp3lame -lm -lestools -lsndfile -lpthread libtool: link: g++ -I./include -I./utfcpp/source -I./sonic -pthread -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -O0 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o ekho src/ekho-ekho.o libekho.a -lpulse-simple -lpulse ./lib/libFestival.a ./lib/libestools.a ./lib/libestbase.a ./lib/libeststring.a -lncurses -lmp3lame -lm -lestools -lsndfile -lpthread -pthread g++: error: ./lib/libFestival.a: No such file or directory g++: error: ./lib/libestools.a: No such file or directory g++: error: ./lib/libestbase.a: No such file or directory g++: error: ./lib/libeststring.a: No such file or directory distcc[3174] ERROR: compile (null) on localhost failed g++: error: ./lib/libFestival.a: No such file or directory g++: error: ./lib/libestools.a: No such file or directory g++: error: ./lib/libestbase.a: No such file or directory g++: error: ./lib/libeststring.a: No such file or directory distcc[3175] ERROR: compile (null) on localhost failed Makefile:624: recipe for target 'test_ekho' failed make: *** [test_ekho] Error 1 make: *** Waiting for unfinished jobs.... Makefile:618: recipe for target 'ekho' failed

commented on 2014-12-31 06:17 (UTC)

Just tested festival support and it works nicely. I agree with luoyi's suggestion to enable it. Just add 'festival' to depends --enable-festival to the configure line.

commented on 2014-12-31 06:11 (UTC)

6.0 (2014-05-21) is the current version.

luoyi commented on 2014-11-17 02:26 (UTC)

I suggest add Festival support in the default build. it just require change the configure argument and add a package dependence .