CSTR-Edinburgh / merlin

This is now the official location of the Merlin project.
http://www.cstr.ed.ac.uk/projects/merlin/
Apache License 2.0
1.31k stars 441 forks source link

Installing Dependencies: Festival, Festvox, Speech-Tools #96

Closed JRMeyer closed 7 years ago

JRMeyer commented 7 years ago

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

m-toman commented 7 years ago

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

ronanki commented 7 years ago

From an old document of installation instructions for speech_tools, I found this.

Before the installation, make sure you have the following installed:

libncurses5 libncurses5-dbg libncurses5-dev libncursesw5 build-essential gcc-4.3 gcc-4.3-multilib g++-4

JRMeyer commented 7 years ago

Dear Markus & Srikanth,

I installed libncurses5-dev and speech_tools seems to be correctly installed now.

As a side-note, when I run sudo apt-get instal libncurses-dev (on Ubuntu 14.04) it automatically defaults to libncurses5-dev.

Now when I run the rest of the install and compilation, and run the tests, speech_tools passes the test:

josh@yoga:~/git/merlin/misc/scripts/alignment/phone_align/speech_tools$ sudo 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   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
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_regression.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o xml_regression xml_regression.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
test xml (module)
xml_example completed
xml example status: CORRECT
xml_regression completed
xml regression status: CORRECT

build string (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 string_example.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o string_example string_example.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
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 string_regression.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o string_regression string_regression.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
test string (module)
string_example completed
string example status: CORRECT
string_regression completed
string regression status: CORRECT

build hash (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 hash_example.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o hash_example hash_example.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
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 hash_regression.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o hash_regression hash_regression.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
test hash (module)
hash_example completed
hash example status: CORRECT
hash_regression completed
hash regression status: CORRECT

build pathname (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 pathname_example.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o pathname_example pathname_example.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
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 pathname_regression.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o pathname_regression pathname_regression.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
test pathname (module)
pathname_example completed
pathname example status: CORRECT
pathname_regression completed
pathname regression status: CORRECT

build track (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 track_example.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o track_example track_example.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
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 track_regression.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o track_regression track_regression.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
test track (module)
track_example completed
track example status: CORRECT
track_regression completed
track regression status: CORRECT

build token (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 token_example.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o token_example token_example.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
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 token_regression.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o token_regression token_regression.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
test token (module)
token_example completed
token example status: CORRECT
token_regression completed
token regression status: CORRECT

build complex (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 complex_example.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o complex_example complex_example.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
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 complex_regression.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o complex_regression complex_regression.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
test complex (module)
complex_example completed
complex example status: CORRECT
complex_regression completed
complex regression status: CORRECT

build list (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 list_example.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o list_example list_example.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
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 list_regression.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o list_regression list_regression.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
test list (module)
list_example completed
list example status: CORRECT
list_regression completed
list regression status: CORRECT

build kvl (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 kvl_example.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o kvl_example kvl_example.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
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 kvl_regression.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o kvl_regression kvl_regression.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
test kvl (module)
kvl_example completed
kvl example status: CORRECT
kvl_regression completed
kvl regression status: CORRECT

build handle (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 handle_example.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o handle_example handle_example.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
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 handle_regression.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o handle_regression handle_regression.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
test handle (module)
handle_example completed
handle example status: CORRECT
handle_regression completed
handle regression status: CORRECT

build named_enum (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 named_enum_example.cc
named_enum_example.cc: In function ‘int main()’:
named_enum_example.cc:183:35: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
       system("cat tmp/colour.map");
                                   ^
named_enum_example.cc:203:43: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
       system("cat tmp/colour_spanish.map");
                                           ^
named_enum_example.cc:218:32: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
       system("cat tmp/tmp.map");
                                ^
named_enum_example.cc:231:32: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
       system("cat tmp/tmp.map");
                                ^
gcc  -fno-implicit-templates  -O3 -Wall    -o named_enum_example named_enum_example.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
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 named_enum_regression.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o named_enum_regression named_enum_regression.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
test named_enum (module)
named_enum_example completed
named_enum example status: CORRECT
named_enum_regression completed
named_enum regression status: CORRECT

build deq (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 deq_example.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o deq_example deq_example.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
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 deq_regression.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o deq_regression deq_regression.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
test deq (module)
deq_example completed
deq example status: CORRECT
deq_regression completed
deq regression status: CORRECT

build ling (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 ling_example.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o ling_example ling_example.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
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 ling_regression.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o ling_regression ling_regression.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
test ling (module)
ling_example completed
ling example status: CORRECT
ling_regression completed
ling regression status: CORRECT

build feature (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 feature_example.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o feature_example feature_example.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
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 feature_regression.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o feature_regression feature_regression.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses -lasound   -ldl -lncurses -lm  -lstdc++ 
test feature (module)
feature_example completed
feature example status: CORRECT
feature_regression completed
feature regression status: CORRECT

test ch_wave (script)
esps 
snd 
riff 
audlab 
aiff 
est 
raw
byte order
63+1 enregistrements lus
63+1 enregistrements écrits
32292 octets (32 kB) copiés, 0.00103568 s, 31.2 MB/s
stdio
subrange
channels
default file type
keylab divide and extract
info and help
ch_wave script completed
ch_wave script status: CORRECT

test ch_track (script)
+ echo
+ test_conversions
+ echo conversion
conversion
+ /bin/rm -f tmp/ch_track.htk tmp/ch_track.track
+ ../bin/ch_track -otype htk ../lib/example_data/ch_track.htk -o tmp/ch_track.htk
+ ../bin/ch_track -otype esps tmp/ch_track.htk -o tmp/ch_track.track
+ ../bin/ch_track -otype htk tmp/ch_track.track -o tmp/ch_track.htk2
+ cmp tmp/ch_track.htk tmp/ch_track.htk2
+ echo ch_track htk to esps to nist: pass
+ ../bin/ch_track -otype ascii tmp/ch_track.htk -o tmp/ch_track.track
+ ../bin/ch_track -itype ascii -s 0.010 -otype htk_fbank tmp/ch_track.track -o tmp/ch_track.htk2
+ ../bin/ch_track -otype ascii tmp/ch_track.htk2 -o tmp/ch_track.ascii
+ cmp tmp/ch_track.track tmp/ch_track.ascii
+ echo ch_track htk to ascii to htk: pass
+ ../bin/ch_track -otype htk ../lib/example_data/ch_track.htk -o tmp/ch_track.htk
+ ../bin/ch_track -otype htk_user tmp/ch_track.htk -o tmp/ch_track.track
+ ../bin/ch_track -otype htk tmp/ch_track.track -o tmp/ch_track.htk2
+ cmp tmp/ch_track.htk tmp/ch_track.htk2
+ echo ch_track htk to htk_user to htk: pass
+ test_info
+ echo info and help
info and help
+ ../bin/ch_track -info ../lib/example_data/ch_track.htk
+ ../bin/ch_track -h
+ ../bin/ch_track ../lib/example_data/ch_track.htk -otype esps -o tmp/ch_track.esps
+ ../bin/ch_track -info ../lib/example_data/ch_track.htk tmp/ch_track.esps
+ exit 0
ch_track script completed
ch_track script status: CORRECT

test viterbi (script)
viterbi script completed
viterbi script status: CORRECT

test wagon (script)
regression tree
wagon script completed
wagon script status: CORRECT

test tilt (script)
tilt script completed
tilt script status: CORRECT

test lpc (script)
LPC params
MFCC params
lpc script completed
lpc script status: CORRECT

-------------
Test OK

When I run make test on the festival dir, I get a failure, but it's because I don't have the sample voices installed. I'm assuming I don't actually need to install these examples... is that correct?

josh@yoga:~/git/merlin/misc/scripts/alignment/phone_align/festival$ sudo make test

WARNING
No default voice found in ("/home/josh/git/merlin/misc/scripts/alignment/phone_align/festival/lib/voices/")
either no voices unpacked or voice-path is wrong
Scheme interpreter will work, but there is no voice to speak with.
WARNING

WARNING
No default voice found in ("/home/josh/git/merlin/misc/scripts/alignment/phone_align/festival/lib/voices/")
either no voices unpacked or voice-path is wrong
Scheme interpreter will work, but there is no voice to speak with.
WARNING

SIOD ERROR: unbound variable : voice_kal_diphone

The festival tests require the kal and rab diphone voices to be
installed.  Festival may work without that diphone set, but the results of
these tests aren't relevant.
make[1]: *** [testinstall] Erreur 1
make: *** [test] Erreur 2

And like before, festvox doesn't run the make test at all because there's no target:

josh@yoga:~/git/merlin/misc/scripts/alignment/phone_align/festvox$ sudo make test
make: *** Pas de règle pour fabriquer la cible « test ». Arrêt.

Even though only one of the three make tests passed, I'm assuming I can move on... is that correct or am I missing something?

Best, Josh

m-toman commented 7 years ago

The festival tests usually fail for me too, but I don't really care :). I'll really need to try to gather all the dependencies needed to get festival/Festvox compiled on a new minimal machine...

I've gathered a few for merlin: sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-dev git libc6-dev-i386 glibc-devel.i686 csh sudo yum install python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-dev git libc6-dev-i386 glibc-devel.i686 csh python-lxml libxslt-devel sudo env "PATH=$PATH" pip install Theano sudo env "PATH=$PATH" pip install matplotlib sudo env "PATH=$PATH" pip install bandmat sudo env "PATH=$PATH" pip install lxml

The yum line is for Amazon RHEL. glibc-devel.i686 does not seem to exist everywhere either.

ronanki commented 7 years ago

You need to download some of the voices from here: http://festvox.org/packed/festival/2.4/

After festival has been installed you need to put the voices to let festival speak for you. For this check for existence of directory

srikanth@maverick:~/Tools/festival$ cd lib

srikanth@maverick:~/Tools/festival/lib$ ls -l | grep dr

if "voices" directory is not present then create it manually.

srikanth@maverick:~/Tools/festival/lib$ mkdir voices

Go to directory Tools

srikanth@maverick:~/Tools/festival/lib$ cd ../../

    tar xvfz festlex_CMU.tar.gz
    tar xvfz festlex_OALD.tar.gz
    tar xvfz festlex_POSLEX.tar.gz
    tar xvfz festvox_rablpc16k.tar.gz
    tar xvfz festvox_kallpc16k.tar.gz
    tar xvfz festvox_cmu_us_bdl_cg.tar.gz
    tar xvfz festvox_cmu_us_slt_cg.tar.gz
ronanki commented 7 years ago

Untar the festvox software using "tar xvfz festvox-s-tar.gz" This will creat a directory called "festvox".

        1. Enter festvox dir 
           $cd festvox
       $./configure     
       $vi config/config #open config/config file

    #In the config set the ESTDIR to your speech_tools
    #directory ON YOUR MACHINE.

    #ESTDIR=[$HOMEof the user]/Festival/speech_tools

        2. make info
        3. make
JRMeyer commented 7 years ago

This looks good to me, thanks!

Kazi-bablu1 commented 5 years ago

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/