Troubleshooting:
* See http://de.gentoo-wiki.com/Mbrola
* txt2pho needs a config file
-> ~/.txt2phorc or /etc/txt2pho
committer: Markus Bröker <mbroeker@largo.homelinux.org>
--- a/src/Makefile
+++ b/src/Makefile
@@ -28,12 +28,20 @@
$(CC) -c $(PCFLAGS) $(INCLUDE) $(DEBUG) -o $@ $<; \
elif [ -x $(MBROLA) ]; \
then \
+ if [ ! -f /etc/txt2pho ]; \
+ then \
+ if [ ! -f ~/.txt2phorc ]; \
+ then \
+ echo "Warning: ~/.txt2phorc or /etc/txt2pho is missing"; \
+ fi; \
+ fi; \
$(CC) -c $(MCFLAGS) $(INCLUDE) $(DEBUG) -o $@ $<; \
elif [ -x $(FESTIVAL) ]; \
then \
$(CC) -c $(FCFLAGS) $(INCLUDE) $(DEBUG) -o $@ $<; \
else \
echo "Cannot find any TTS-System on your Machine"; \
+ exit 1; \
fi;
@echo "CC $<"