question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing Dependencies: Festival, Festvox, Speech-Tools

See original GitHub issue

Dear All,

I’m trying to follow the instructions in merlin/misc/scripts/alignment/phone_align/README.md, and I’m running into problems.

For now, I’m just trying to install and compile as indicated in Step 0:

Step 0: Install [speech_tools] (http://festvox.org/packed/festival/2.4/speech_tools-2.4-release.tar.gz), [festival] (http://festvox.org/packed/festival/2.4/festival-2.4-release.tar.gz), 
and [festvox] (http://festvox.org/download.html).

To do this, I’ve written a short script (once it’s working I’ll add it to the repo):

#!/bin/sh

# Joshua MEYER (2017)
# this script will download and install the necessary packages for using the 
# Festival vocoder

# Download and extract Speech Tools
wget http://festvox.org/packed/festival/2.4/speech_tools-2.4-release.tar.gz
tar -xvzf speech_tools-2.4-release.tar.gz
# Download and extract Festival
wget http://festvox.org/packed/festival/2.4/festival-2.4-release.tar.gz
tar -xvzf festival-2.4-release.tar.gz
# Download and extract Festvox
wget http://festvox.org/festvox-2.7/festvox-2.7.0-release.tar.gz
tar -xvzf festvox-2.7.0-release.tar.gz

# Compile Speech Tools
cd speech_tools
./configure
make
# Compile Festival
cd ../festival
./configure
make
# Compile Festvox
cd ../festvox
./configure
make

And, it works without any errors, but lots of warnings.

I go and try to run make test on the new dirs, and I get the following: (ive translated the messages into English, so they wont be exact)

FESTIVAL:

josh@yoga:~/git/merlin/misc/scripts/alignment/phone_align/festival$ make test
testinstall.sh: ligne 41: ../bin/festival: No file or dir of this type
make[1]: *** [testinstall] Erreur 1
make: *** [test] Erreur 2

FESTVOX:

josh@yoga:~/git/merlin/misc/scripts/alignment/phone_align/festvox$ make test
make: *** No rule to make the target « test ». Stop.

SPEECH_TOOLS:

josh@yoga:~/git/merlin/misc/scripts/alignment/phone_align/speech_tools$ make test
Making in directory ./audio ...
Making in directory ./utils ...
Making in directory ./base_class ...
Making in directory base_class/string ...
Making in directory base_class/inst_tmpl ...
Making in directory ./ling_class ...
Making in directory ./speech_class ...
Making in directory ./sigpr ...
Making in directory sigpr/pda ...
Making in directory ./stats ...
Making in directory stats/kalman_filter ...
Making in directory stats/wagon ...
Making in directory ./grammar ...
Making in directory grammar/ngram ...
Making in directory grammar/scfg ...
Making in directory grammar/wfst ...
Making in directory ./intonation ...
Making in directory intonation/tilt ...
Making in directory ./siod ...
Making in directory ./rxp ...
make --no-print-directory tests 2>&1 | tee .test_out
rm -rf tmp
mkdir tmp
remake libraries ../lib/libestools.a
Making in directory ./audio ...
Making in directory ./utils ...
Making in directory ./base_class ...
Making in directory base_class/string ...
Making in directory base_class/inst_tmpl ...
Making in directory ./ling_class ...
Making in directory ./speech_class ...
Making in directory ./sigpr ...
Making in directory sigpr/pda ...
Making in directory ./stats ...
Making in directory stats/kalman_filter ...
Making in directory stats/wagon ...
Making in directory ./grammar ...
Making in directory grammar/ngram ...
Making in directory grammar/scfg ...
Making in directory grammar/wfst ...
Making in directory ./intonation ...
Making in directory intonation/tilt ...
Making in directory ./siod ...
Making in directory ./rxp ...
build xml (module)
gcc -c -fno-implicit-templates -O3 -Wall -DDATA="\"/home/josh/git/merlin/misc/scripts/alignment/phone_align/speech_tools/lib/example_data\"" -DTVECTOR_BOUNDS_CHECKING -I../include -DINSTANTIATE_TEMPLATES xml_example.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o xml_example xml_example.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lcurses -lasound   -ldl -lncurses -lm  -lstdc++ 
/usr/bin/ld : ne peut trouver -lcurses
/usr/bin/ld : ne peut trouver -lncurses
collect2: error: ld returned 1 exit status
make[3]: *** [xml_example] Erreur 1
xml example status: FAILED
make[2]: *** [xml_module_rebuild] Erreur 1
-------------
Tests failed:
xml example status: FAILED

Any Idea on what I’m doing wrong?

I’ve spend some time already reading the docs and install instructions for these programs, but I’m not getting too far.

Any help is greatly appreciated.

Best, Josh

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
m-tomancommented, Feb 21, 2017

Just from a brief look: for speech tools it seems you are missing ncurses, so try e.g. sudo apt-get install libncurses-dev

0reactions
Kazi-bablu1commented, Dec 15, 2018

plz help me…

ashraf@ashraf-Inspiron-5570:~/Desktop/Speech-sythesis/speech_tools$ make test

test tilt (script)

tilt script completed

tilt script status: CORRECT

test lpc (script)

LPC params

MFCC params

lpc script completed

lpc script status: CORRECTtest tilt (script)

tilt script completed

tilt script status: CORRECT-------------

Tests failed:

Warning: ignoring host part in file URL “file://EST//Test/eg”

xml example status: INCORRECT

string example status: INCORRECT

string regression status: INCORRECT

named_enum example status: FAILED

ling example status: FAILED

ling regression status: FAILED

ch_wave script status: INCORRECT

viterbi script status: FAILED

On Sat, Dec 15, 2018 at 7:18 PM bablu shofi bablushofi82@gmail.com wrote: http://festvox.org/packed/festival/2.4/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Festival Speech Synthesis System: 6. Installation - Festvox
Each voice may have other dependencies such as requiring particular lexicons ... We have compiled both the speech tools and Festival under Windows...
Read more >
Festival installation - speech.zone
I'll answer my own question – it worked perfectly and seems to install all the required dependencies. I would say it's definitely worth...
Read more >
Festival Speech Synthesis System - 6 Installation
Each voice may have other dependencies such as requiring particular ... We have compiled both the speech tools and Festival under Windows NT...
Read more >
Install it - FestCat
The first command adds our package source which contains the compiled voices and data. Other distributions. Install Festival-2.1. Install the basic package: ...
Read more >
Festival - ArchWiki
This should add support for the german voices de1 through de4. Install at least one of the voices (listed as optional dependencies), e.g....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found