On 14 August 2015 at 20:03, Vincent Belaïche <vincen...@users.sourceforge.net> wrote: >>> Can't locate Texinfo/ModulePath.pm in @INC (@INC contains: >>> c:/Nos_Programmes/msys/lib/perl5/site_perl/5.8/../tp /usr/lib/perl5/5.8/msys >>> /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/msys >>> /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8 >>> /usr/lib/perl5/vendor_perl/5.8/msys /usr/lib/perl5/vendor_perl/5.8 >>> /usr/lib/perl5/vendor_perl/5.8 .) at >>> texi2any.pl line 72 >>
>> From this line: >> >>> c:/Nos_Programmes/msys/lib/perl5/site_perl/5.8/texi2any.pl line 72 >> >> it appears that you are running an installed texi2any.pl, which isn't >> supposed to happen - only texi2any (without the .pl suffix) is >> supposed to be installed. > PS-1: I did a file comparation between the texi2any.pl in the source (aka > « trunk/tp » directory, and the one in the installation directory, and > they are identical. > > PS-2: My msys perl installation seems to be incomplete, here is what I get > when I run > « perl Makefile.PL »: > > $ /perl/bin/perl ./Makefile.PL > error-> WARNING: BUILD_REQUIRES is not a known parameter. > error-> Warning: prerequisite Locale::Messages 0 not found. > error-> Warning: prerequisite Text::Unidecode 0 not found. > error-> Warning: prerequisite Unicode::EastAsianWidth 0 not found. > -| 'BUILD_REQUIRES' is not a known MakeMaker parameter name. > -| Writing Makefile for Texinfo > I get: bash $perl Makefile.PL Warning: prerequisite Locale::Messages 0 not found. Warning: prerequisite Text::Unidecode 0 not found. Warning: prerequisite Unicode::EastAsianWidth 0 not found. Writing Makefile for Texinfo Writing MYMETA.yml and MYMETA.json However, up until this point I didn't even know there was such a file as Makefile.PL in that directory! When you run "make install" under the "tp/" subdirectory, that is supposed to use a Makefile generated from Makefile.am, not Makefile.PL. This is probably the root of your problems: your "svn update" updated Makefile.am, but there were no Makefile-updating rules in your current Makefile, so you were still using the old Makefile, generated from Makefile.PL. That also explains why texi2any.pl was installed. I'm not sure what the Makefile.PL is doing there; we should probably delete it (okay Patrice?). Vincent: there've been changes to the top-level configure.ac script as well, so for the best chance of success, I suggest running ./autogen.sh at the top-level, followed by configure and make. If you get errors relating to an "XSParagraph" subdirectory, try using a different Perl installation, if you have one, with "./configure PERL=/where/ever/perl". The Perl installation must be set up to compile extension modules. Running "perl -V" can provide some clues as to whether this is possible. If this fails, try "./configure --disable-perl-xs"; this, however, will lead makeinfo to be considerably slower when outputting an Info file.