On Tue, Nov 27, 2012 at 10:33:53AM +0100, Stefano Lattarini wrote: > > Perl version is 5.6.1. Maybe the Encode module should be bundled > within the Texinfo tarball, for better compatibility?
I don't think so, for the reason you state, Encode should be present when the corresponding perl is present. > So the new Texinfo is not going to work with older perls apparently. > Given that, I think you should add a configure-time check on the perl > version, so that the user will be warned if his perl is too old, > instead of just seeing a misterious failure at build time. In fact, running texi2any from the build tree should only be needed to regenerate info files, doc/tp_api texis, man pages and for tests. For some of those there are automake conditionals, for man pages, we distribute results so there should not be a need for running texi2any. We could avoid regenerating info files if we shipped them. Or we could add a test for perl with Encode similarly with the checks used to set automake conditionals. Karl, what would you prefer? -- Pat
