[Homeros] исправленный RHVoice
Anatoly
tolyangin на mail.ru
Вт Фев 1 17:53:29 UTC 2011
Anatoly wrote:
Olga Yakovleva wrote:
>
> Попробую снова привлечь на помощь Virtualbox.
Проверил, на Sid, собрался - установился, работает.
Загрузился в федору13 , предпринял в ней попытку собрать RHVoice.
при сборке из git, компиляция заканчивается ошибкой
$scons
[?1034hscons: Reading SConscript files ...
Mkdir("build/linux2")
Checking whether the C compiler worksyes
Checking for C library m... yes
Checking for C header file flite.h... no
trying to search in /usr/local/include/flite
Checking for C header file flite.h... yes
Checking for flite_init() in C library flite... yes
Checking for cst_utf8_explode() in C library flite... yes
Checking for C library flite_cmulex... yes
Checking for u8_strchr("a",'a') in C library unistring... no
Perhaps libunistring requires libiconv on this platform
Checking for C library iconv... no
Error: cannot link with libunistring
№
стоит пакет libunistring-0.9.3-1.fc13.i686
сборка синтезатора из архива Olga-Yakovleva-RHVoice-302e762]# scons,
заканчиваеться следующим:
$scons
[?1034hscons: Reading SConscript files ...
Mkdir("build")
Checking whether the C compiler works(cached) yes
Checking for C library m... (cached) yes
Checking for C header file flite.h... (cached) no
trying to search in /usr/local/include/flite
Checking for C header file flite.h... (cached) yes
Checking for flite_init() in C library flite... (cached) yes
Checking for cst_utf8_explode() in C library flite... (cached) yes
Checking for C library flite_cmulex... (cached) yes
Checking for u8_strchr("a",'a') in C library unistring... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
gcc -o build/bin/main.o -c -DPACKAGE=\"RHVoice\" -DVERSION=\"0.2\" -DVOXDIR=\"/opt/voiceman/share/RHVoice/voice\" -I/usr/local/include/flite -Ibuild/bin -Isrc/bin src/bin/main.c
ar rc build/lib/libRHVoice.a build/lib/lib.o build/lib/ru_ffeatures.o build/lib/ru_lex.o build/lib/ru_phrasing.o build/lib/ru_postlex.o build/lib/russian.o build/lib/ru_text.o build/lib/ru_user_dict.o build/lib/ru_cst_regexes.o build/lib/ru_en_lts.o build/lib/ru_number_lts.o build/lib/ru_hyphen_lts.o build/lib/ru_vpair_cart.o build/lib/ru_gpos.o build/lib/ru_phoneset.o build/lib/ru_lts.o build/lib/ru_downcase_lts.o build/lib/ru_vowel_reduction_cart.o build/lib/ru_dict.o build/lib/ru_stress_cart.o build/lib/ru_consonants_lts.o build/lib/ru_phrasing_cart.o build/hts_engine_api/lib/HTS_audio.o build/hts_engine_api/lib/HTS_engine.o build/hts_engine_api/lib/HTS_gstream.o build/hts_engine_api/lib/HTS_label.o build/hts_engine_api/lib/HTS_misc.o build/hts_engine_api/lib/HTS_model.o build/hts_engine_api/lib/HTS_pstream.o build/hts_engine_api/lib/HTS_sstream.o build/hts_engine_api/lib/HTS_vocoder.o
ranlib build/lib/libRHVoice.a
gcc -o build/bin/RHVoice build/bin/main.o -Lbuild/lib -Lsrc/lib -lRHVoice -lunistring -lflite_cmulex -lflite -lm
/usr/bin/ld: cannot find -lunistring
collect2: ld returned 1 exit status
Подробная информация о списке рассылки Homeros