Open eserte opened 8 years ago
how can such 'unix environment' requirements be properly encoded for cpan builds ?
The t/paymentslip.t test used also to fail on my Debian/jessie system --- until now, after installing the package texlive-fonts-extra, which apparently provided a required font. Unfortunately there was no message about this problem while running the tests --- I had to use strace resp. hack the Paymentslip module to not remove the temporary directories to see what was happening.
As to the question about specifying unix environment requirements --- unfortunately there's no standard way to do this in CPAN distributions. One can check for the existence of required programs and files in Makefile.PL and fail early if some are missing. To be more user friendly Makefile.PL could print installation instructions for popular operating systems and distributions.
There's also the experimental CPAN plugin CPAN::Plugin::Sysdeps::Mapping which has a manually maintained mapping of CPAN modules to OS package dependencies.
Even with all system prereqs satisfied (I think --- tex-luatex and tex-xetex packages are installed) the tests fail on a FreeBSD 10.3 system (various perl vesions):