A compilação funciona aqui com um pequeno ajuste:
sudo apt-get install build-essential automake
mkdir $HOME/shout_build && cd $HOME/shout_build
wget http://downloads.sourceforge.net/project/shout-toolkit/release-2010-version-0-3.tar.gz
tar xvf release-2010-version-0-3.tar.gz && cd release-2010-version-0-3
sed -i_bak 's/LDFLAGS="-lpthread"/LDFLAGS="-pthread"/' configure-make.sh
./configure-make.sh
Isso deixa os executáveis construídos em $HOME/shout_build/release-2010-version-0-3/release/src
, pois não há um destino de instalação gravado. Você teria que transferi-los manualmente para alguma parte do seu PATH, como /usr/local/bin
ou $HOME/bin
. Isso pode ser um pouco feio:
cd $HOME/shout_build/release-2010-version-0-3/release/src
sudo mv -v \
shout shout_maketrainset shout_preprocess shout_train_mmi \
shout_adapt_am shout_merge_am shout_segment shout_train_model \
shout_avgEnergy shout_merge_trainset shout_spkrec shout_update_version \
shout_cluster shout_normalize_am shout_spkrec_stats shout_vtln \
shout_dct2lextree shout_online shout_train_finish \
shout_lm2bin shout_prepare_adapt shout_train_finish_sat \
/usr/local/bin
Mas isso funcionou bem no meu sistema e pode ser facilmente revertido:
cd /usr/local/bin
sudo rm -v \
shout shout_maketrainset shout_preprocess shout_train_mmi \
shout_adapt_am shout_merge_am shout_segment shout_train_model \
shout_avgEnergy shout_merge_trainset shout_spkrec shout_update_version \
shout_cluster shout_normalize_am shout_spkrec_stats shout_vtln \
shout_dct2lextree shout_online shout_train_finish \
shout_lm2bin shout_prepare_adapt shout_train_finish_sat
As bibliotecas geradas pelo processo de construção permanecem na pasta src
...