festvox / festival

Festival Speech Synthesis System
Other
391 stars 58 forks source link

Error compiling festival #25

Closed justinvdh closed 5 years ago

justinvdh commented 5 years ago

When compiling festival I run into this error:

-bash-4.2$ gmake
Check system type
Remake modincludes.inc
        NATIVE_AUDIO
                ok
        EDITLINE
                config/modules/editline.mak
        SIOD
                ok
        WAGON
                ok
        SCFG
                ok
        WFST
                ok
        OLS
                ok
        RXP
                src/modules/rxp/rxp.mak
        clunits
                unknown module in src/modules/clunits
        clustergen
                unknown module in src/modules/clustergen
        MultiSyn
                unknown module in src/modules/MultiSyn
        hts_engine
                unknown module in src/modules/hts_engine
        LINUX16_AUDIO
                config/modules/linux16_audio.mak
Making in directory ./src ...
Making in directory src/arch ...
Making in directory src/arch/festival ...
gcc -c -fno-implicit-templates -O3 -Wall -I../../../src/include -I../../../../speech_tools/include utterance.cc
utterance.cc: In function ‘obj* stream_tree_to_lisp(EST_Item*)’:
utterance.cc:299:51: error: ‘idown’ was not declared in this scope
  return cons(cons(desc,stream_tree_to_lisp(idown(s))),
                                                   ^
utterance.cc:300:34: error: ‘inext’ was not declared in this scope
       stream_tree_to_lisp(inext(s)));
                                  ^
utterance.cc: In function ‘obj* item_next(LISP)’:
utterance.cc:417:51: error: ‘inext’ was not declared in this scope
     return (li == NIL) ? NIL : siod(inext(item(li)));
                                                   ^
utterance.cc: In function ‘obj* item_prev(LISP)’:
utterance.cc:422:51: error: ‘iprev’ was not declared in this scope
     return (li == NIL) ? NIL : siod(iprev(item(li)));
                                                   ^
utterance.cc: In function ‘obj* item_up(LISP)’:
utterance.cc:427:49: error: ‘iup’ was not declared in this scope
     return (li == NIL) ? NIL : siod(iup(item(li)));
                                                 ^
utterance.cc: In function ‘obj* item_down(LISP)’:
utterance.cc:432:51: error: ‘idown’ was not declared in this scope
     return (li == NIL) ? NIL : siod(idown(item(li)));
                                                   ^
utterance.cc: In function ‘obj* stream_tree_to_lisp(EST_Item*)’:
utterance.cc:302:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
utterance.cc: In function ‘obj* item_down(LISP)’:
utterance.cc:433:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
utterance.cc: In function ‘obj* item_up(LISP)’:
utterance.cc:428:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
utterance.cc: In function ‘obj* item_prev(LISP)’:
utterance.cc:423:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
utterance.cc: In function ‘obj* item_next(LISP)’:
utterance.cc:418:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
gmake[3]: *** [utterance.o] Error 1
gmake[2]: *** [festival] Error 2
gmake[1]: *** [arch] Error 2
gmake: *** [src] Error 2

There is also one test of speech_tools that fails, while all the others succeed. I'm not sure if this error is relevant but here it is:

build pathname (module)
gcc -c -fno-implicit-templates -O3 -Wall -DDATA="\"/tudelft.net/staff-bulk/ewi/insy/SpeechLab/modules/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   -ldl  -lm  -lstdc++
gcc -c -fno-implicit-templates -O3 -Wall -DDATA="\"/tudelft.net/staff-bulk/ewi/insy/SpeechLab/modules/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   -ldl  -lm  -lstdc++
test pathname (module)
pathname_example completed
11a12
>     VCMakefile
pathname example status: INCORRECT
pathname_regression completed
pathname regression status: CORRECT
saikrishnarallabandi commented 5 years ago

Hi,

Can you specify machine details

justinvdh commented 5 years ago

I'm trying to install it on a server cluster of my university which runs on Linux CentOS 7 64-bits. gcc version is 4.8.5 I'm not sure which hardware is relevant because that differs for every node.

Zoltandhaese commented 5 years ago

Hi!

We are trying to install it on a university server. The machine details are the following ones: http://insy.ewi.tudelft.nl/content/server-information

Justin & Zoltán

saikrishnarallabandi commented 5 years ago

Hi,

Sorry for the delay in response. I am traveling currently. Okay.

Can you try installing using this script: http://www.cs.cmu.edu/~srallaba/utils/fest_build.sh

It installs all the 4 tools: speechtools, festival, festvox and SPTK with patch

Let me know if you encounter issues using this script

saikrishnarallabandi commented 5 years ago

@awbcmu

ddavout commented 5 years ago

just to signal a small mistake .. in the script There is a repetition FESTIVAL_VOICES=http://festvox.org/packed/festival/2.5/voices/ FESTIVAL_VOICES=http://tts.speech.cs.cmu.edu/awb/festival-2.5/voices but the second url is wrong and once the wget gave up .. if we correct that, nothing more is downloaded as the condition [ -d packed ] is fulfilled

justinvdh commented 5 years ago

I think it's installed correctly now. Thank you for your help.

saikrishnarallabandi commented 5 years ago

gave up .. if we correct that, nothing more is downloaded as the condition [ -d packed ] is fulfilled

sorry. that server was down then. its back up now and the link shud work