Using flite 2.1 with libs-gui results in build erros

Words
82
Reading
1 min
Listen
Play
9y

Expected behavior

The gnustep/libs-gui Repository should build fine using the latest version of flite to support speech synthesis.

Actual behavior

The configuration step detects that flite is installed

checking flite/flite.h usability... yes
checking flite/flite.h presence... yes
checking for flite/flite.h... yes

The build process, however, is unable to find the necessary library:

/usr/bin/ld: cannot find -lflite_cmu_us_kal

This happens, because the "flite_cmu_us_kal" was renamed to "flite_cmu_us_kal16". The same applies to the function "register_cmu_us_kal" which got renamed to "register_cmu_us_kal16" as well.

How to reproduce

git clone https://aur.archlinux.org/gnustep-gui.git
cd gnustep-gui/
pacman -S flite
makepkg -s



Posted on Utopian.io - Rewarding Open Source Contributors