RHVoice / RHVoice

a free and open source speech synthesizer for Russian and other languages
https://rhvoice.org
GNU General Public License v2.0
1.51k stars 229 forks source link

How to fix "Error: cannot link with expat"? #3

Closed sorbing closed 4 years ago

sorbing commented 12 years ago

Ubuntu 12.04 x32, all the dependencies installed..

sorbing commented 12 years ago

Its error trigger in master (trunc), tag Version 0.2 compiled and install succesfull.

Olga-Yakovleva commented 12 years ago

If I remember correctly, in Debian and Debian-based distros like Ubuntu header files come in separate packages. I am not sure about the names, but there must be two packages for expat: expat and expat-dev. Have you installed both of them? In any case, please post the contents of the file build/linux2/configure.log. Maybe it will show what the problem is.

sorbing commented 12 years ago

Yes, i install both package (expat, expat-dev). This file configure.log: http://dl.dropbox.com/u/2084786/configure.log P.S. I can write a Russian? I bad speak english.

sorbing commented 12 years ago

I was able to install v0.3 from deb-package, but I can not connect the dictionary and the voice Elena:

echo "Русский текст" | RHVoice -d ~/app/elena/wav/ -u ~/app/dict_example.txt | play -q -
play FAIL formats: can't determine type of  `-'

This is how:

echo "Русский текст" | RHVoice | play -q -
sorbing commented 12 years ago

The installation v0.2 (from source) and installation v.0.3 (from deb) described here: http://note.sectorit.net/os:linux:ubuntu:ubuntu-speak-text-to-voice

ghost commented 12 years ago
apt-get install libexpat1-dev

And delete following define in src/lib/lib.c:

#ifndef SOX_OPTION_DEFAULT
#define SOX_OPTION_DEFAULT sox_option_default
#endif