Subject: | Undeclared external dependencies in Speech::Google::TTS |
Date: | Wed, 27 Nov 2013 03:39:14 +0100 |
To: | <bug-Speech-Google-TTS [...] rt.cpan.org> |
From: | "Selke, Gisbert W." <gisbert.selke [...] wido.bv.aok.de> |
The module contains a number of hard-coded requirements that will not
hold anywhere.
In particular, there is a hard-coded reference to /usr/bin/mpg123 and
one to /usr/bin/sox, which will, in all likelihood, not exist outside
Unix systems, and even there these may not be present.
Furthermore, the directory for tempfiles is hard-coded to /var/tmp,
which again will, in general, not exist on non-Unix systems. This latter
requirement can, incidentally, easily be dropped, since File::Temp uses
a sensible default for the tmp directory, viz., the one provided by
File::Spec->tmpdir. This default should be safe and portable enough.
The (as yet, minimal) module tests do not catch these error conditions,
because they check nothing beyond successful loading of the module.
\Gisbert