first I typed ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man it finished successfully.
but when I typed make after some moment it give me errors :
- Code: Select all
/../src -I/usr/include/speech-tools/EST -ffriend-injection -Wno-deprecated -g -O2 -MT stardict_festival.lo -MD -MP -MF .deps/stardict_festival.Tpo -c stardict_festival.cpp -fPIC -DPIC -o .libs/stardict_festival.o
In file included from stardict_festival.cpp:2:
/usr/include/festival/festival.h:44:17: error: EST.h: No such file or directory
/usr/include/festival/festival.h:45:24: error: EST_cutils.h: No such file or directory
/usr/include/festival/festival.h:46:18: error: siod.h: No such file or directory
/usr/include/festival/Phone.h:44: error: 'EST_String' does not name a type
/usr/include/festival/Phone.h:45: error: 'EST_StrStr_KVL' does not name a type
/usr/include/festival/Phone.h:48: error: expected ';' before '&' token
/usr/include/festival/Phone.h:49: error: expected `;' before 'void'
/usr/include/festival/Phone.h:49: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:50: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:52: error: expected ';' before '&' token
/usr/include/festival/Phone.h:54: error: expected `;' before 'const'
/usr/include/festival/Phone.h:54: error: expected ';' before '&' token
/usr/include/festival/Phone.h:56: error: expected `;' before 'int'
/usr/include/festival/Phone.h:58: error: 'ostream' is neither function nor member function; cannot be declared friend
/usr/include/festival/Phone.h:58: error: 'ostream' declared as an 'inline' field
/usr/include/festival/Phone.h:58: error: expected ';' before '&' token
/usr/include/festival/Phone.h: In constructor 'Phone::Phone()':
/usr/include/festival/Phone.h:47: error: 'name' was not declared in this scope
/usr/include/festival/Phone.h: In member function 'void Phone::set_phone_name(int)':
/usr/include/festival/Phone.h:49: error: 'name' was not declared in this scope
/usr/include/festival/Phone.h:49: error: 'p' was not declared in this scope
/usr/include/festival/Phone.h: In member function 'void Phone::add_feat(int)':
/usr/include/festival/Phone.h:51: error: 'features' was not declared in this scope
/usr/include/festival/Phone.h:51: error: 'f' was not declared in this scope
/usr/include/festival/Phone.h:51: error: 'v' was not declared in this scope
/usr/include/festival/Phone.h: At global scope:
/usr/include/festival/Phone.h:63: error: expected initializer before '&' token
/usr/include/festival/Phone.h: In member function 'Phone& Phone::operator=(const Phone&)':
/usr/include/festival/Phone.h:72: error: 'name' was not declared in this scope
/usr/include/festival/Phone.h:72: error: 'const class Phone' has no member named 'name'
/usr/include/festival/Phone.h:73: error: 'features' was not declared in this scope
/usr/include/festival/Phone.h:73: error: 'const class Phone' has no member named 'features'
/usr/include/festival/Phone.h: At global scope:
/usr/include/festival/Phone.h:80: error: 'EST_String' does not name a type
/usr/include/festival/Phone.h:81: error: 'LISP' does not name a type
/usr/include/festival/Phone.h:82: error: 'LISP' does not name a type
/usr/include/festival/Phone.h:83: error: 'LISP' does not name a type
/usr/include/festival/Phone.h:84: error: 'LISP' does not name a type
/usr/include/festival/Phone.h:90: error: expected ';' before '&' token
/usr/include/festival/Phone.h:91: error: expected `;' before 'void'
/usr/include/festival/Phone.h:91: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:92: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:94: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:95: error: 'LISP' has not been declared
/usr/include/festival/Phone.h:96: error: 'LISP' has not been declared
/usr/include/festival/Phone.h:97: error: 'LISP' does not name a type
/usr/include/festival/Phone.h:98: error: 'LISP' does not name a type
/usr/include/festival/Phone.h:99: error: 'LISP' does not name a type
/usr/include/festival/Phone.h:101: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:105: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:109: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:111: error: 'ostream' is neither function nor member function; cannot be declared friend
/usr/include/festival/Phone.h:111: error: 'ostream' declared as an 'inline' field
/usr/include/festival/Phone.h:111: error: expected ';' before '&' token
/usr/include/festival/Phone.h: In constructor 'PhoneSet::PhoneSet()':
/usr/include/festival/Phone.h:86: error: 'psetname' was not declared in this scope
/usr/include/festival/Phone.h:86: error: 'phones' was not declared in this scope
/usr/include/festival/Phone.h:86: error: 'feature_defs' was not declared in this scope
/usr/include/festival/Phone.h:86: error: 'map' was not declared in this scope
/usr/include/festival/Phone.h:86: error: 'silences' was not declared in this scope
/usr/include/festival/Phone.h:86: error: 'NIL' was not declared in this scope
/usr/include/festival/Phone.h:87: error: 'gc_protect' was not declared in this scope
/usr/include/festival/Phone.h: In member function 'void PhoneSet::set_phone_set_name(int)':
/usr/include/festival/Phone.h:91: error: 'psetname' was not declared in this scope
/usr/include/festival/Phone.h:91: error: 'p' was not declared in this scope
/usr/include/festival/Phone.h: In member function 'int PhoneSet::present(int) const':
/usr/include/festival/Phone.h:93: error: 'phone' was not declared in this scope
/usr/include/festival/Phone.h:93: error: 'phones' was not declared in this scope
/usr/include/festival/Phone.h:93: error: 'siod_assoc_str' was not declared in this scope
/usr/include/festival/Phone.h:93: error: 'NIL' was not declared in this scope
/usr/include/festival/Phone.h: In member function 'int PhoneSet::num_phones() const':
/usr/include/festival/Phone.h:100: error: 'phones' was not declared in this scope
/usr/include/festival/Phone.h:100: error: 'siod_llength' was not declared in this scope
/usr/include/festival/Phone.h: In member function 'int PhoneSet::feat_val(int)':
/usr/include/festival/Phone.h:106: error: 'val' was not declared in this scope
/usr/include/festival/Phone.h:107: error: 'feat' was not declared in this scope
/usr/include/festival/Phone.h:107: error: 'feature_defs' was not declared in this scope
/usr/include/festival/Phone.h:107: error: 'siod_assoc_str' was not declared in this scope
/usr/include/festival/Phone.h:107: error: 'cdr' was not declared in this scope
/usr/include/festival/Phone.h:107: error: 'car' was not declared in this scope
/usr/include/festival/Phone.h:107: error: 'siod_member_str' was not declared in this scope
/usr/include/festival/Phone.h:108: error: 'NIL' was not declared in this scope
/usr/include/festival/Phone.h: At global scope:
/usr/include/festival/Phone.h:117: error: expected initializer before '&' token
/usr/include/festival/Phone.h:122: error: expected initializer before '&' token
/usr/include/festival/Phone.h:125: error: expected initializer before '&' token
/usr/include/festival/Phone.h:126: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:127: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:128: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:129: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:130: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:131: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:132: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:133: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:134: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:135: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:136: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:137: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:138: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:139: error: expected ',' or '...' before '&' token
/usr/include/festival/Phone.h:140: error: 'EST_String' does not name a type
/usr/include/festival/Phone.h:142: error: expected ',' or '...' before '&' token
/usr/include/festival/festival.h:58: error: expected initializer before '*' token
/usr/include/festival/festival.h:70: error: expected ',' or '...' before '&' token
/usr/include/festival/festival.h:71: error: expected ',' or '...' before '&' token
/usr/include/festival/festival.h:72: error: expected ',' or '...' before '&' token
/usr/include/festival/festival.h:73: error: expected ',' or '...' before '&' token
/usr/include/festival/festival.h:74: error: expected ',' or '...' before '&' token
/usr/include/festival/festival.h:75: error: expected ',' or '...' before '&' token
/usr/include/festival/festival.h:81: error: typedef 'FT_Module' is initialized (use __typeof__ instead)
/usr/include/festival/festival.h:81: error: 'EST_Utterance' was not declared in this scope
/usr/include/festival/festival.h:81: error: 'utt' was not declared in this scope
/usr/include/festival/festival.h:84: error: expected ',' or '...' before '&' token
/usr/include/festival/festival.h:86: error: typedef 'EST_Val' is initialized (use __typeof__ instead)
/usr/include/festival/festival.h:86: error: 'FT_ff_pref_func' was not declared in this scope
/usr/include/festival/festival.h:87: error: expected ',' or '...' before '&' token
/usr/include/festival/festival.h:89: error: 'EST_Val' does not name a type
/usr/include/festival/festival.h:96: error: expected ',' or '...' before '&' token
/usr/include/festival/festival.h:100: error: expected ',' or '...' before '&' token
/usr/include/festival/festival.h:103: error: 'LISP' has not been declared
/usr/include/festival/festival.h:103: error: expected ',' or '...' before '(' token
/usr/include/festival/festival.h:107: error: 'EST_Val' does not name a type
/usr/include/festival/festival.h:108: error: 'LISP' does not name a type
/usr/include/festival/festival.h:109: error: 'EST_Val' does not name a type
/usr/include/festival/festival.h:112: error: expected constructor, destructor, or type conversion before '*' token
/usr/include/festival/festival.h:114: error: expected constructor, destructor, or type conversion before '*' token
/usr/include/festival/festival.h:116: error: 'LISP' does not name a type
/usr/include/festival/festival.h:118: error: 'EST_String' does not name a type
/usr/include/festival/festival.h:119: error: 'LISP' does not name a type
/usr/include/festival/festival.h:127: error: 'LISP' has not been declared
/usr/include/festival/festival.h:127: error: expected ',' or '...' before '(' token
/usr/include/festival/festival.h:130: error: variable or field 'utt_cleanup' declared void
/usr/include/festival/festival.h:130: error: 'EST_Utterance' was not declared in this scope
/usr/include/festival/festival.h:130: error: 'u' was not declared in this scope
/usr/include/festival/festival.h:131: error: 'EST_String' does not name a type
/usr/include/festival/festival.h:132: error: 'LISP' does not name a type
/usr/include/festival/festival.h:133: error: 'EST_String' does not name a type
/usr/include/festival/festival.h:134: error: variable or field 'add_item_features' declared void
/usr/include/festival/festival.h:134: error: 'EST_Item' was not declared in this scope
/usr/include/festival/festival.h:134: error: 's' was not declared in this scope
/usr/include/festival/festival.h:134: error: 'LISP' was not declared in this scope
/usr/include/festival/festival.h:134: error: initializer expression list treated as compound expression
/usr/include/festival/festival.h:142: error: 'LISP' does not name a type
/usr/include/festival/festival.h:159: error: 'LISP' was not declared in this scope
stardict_festival.cpp: In function 'void saytext(const char*)':
stardict_festival.cpp:24: error: invalid conversion from 'const char*' to 'int'
stardict_festival.cpp:24: error: initializing argument 1 of 'int festival_say_text(int)'
stardict_festival.cpp: In function 'void configure()':
stardict_festival.cpp:81: error: invalid conversion from 'const char*' to 'int'
stardict_festival.cpp:81: error: initializing argument 1 of 'int festival_eval_command(int)'
stardict_festival.cpp: In function 'bool stardict_tts_plugin_init(StarDictTtsPlugInObject*)':
stardict_festival.cpp:126: error: invalid conversion from 'const char*' to 'int'
stardict_festival.cpp:126: error: initializing argument 1 of 'int festival_eval_command(int)'
make[3]: *** [stardict_festival.lo] Error 1
make[3]: Leaving directory `/home/zero/Desktop/stardict-3.0.0/stardict-3.0.0/stardict-plugins/stardict-festival-tts-plugin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/zero/Desktop/stardict-3.0.0/stardict-3.0.0/stardict-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zero/Desktop/stardict-3.0.0/stardict-3.0.0'
make: *** [all] Error 2
BTW I've installed festiveal.
Plz help me to install Stardic . I really need it .
thx

