Yes "Can't locate Texinfo/ModulePath.pm" is the error message.

Sorry, maybe I should have joined in and corrected immediately, but the latest working version is actually 6.5, not 6.6, I do not have a 6.6 binary in my collection, so I had no knowledge if this problem exists there.

As to how 6.5 works, it has this rather confusing looking piece of code at makeinfo:85:

    # try to make package relocatable, will only work if
    # standard relative paths are used
    if (! -f File::Spec->catfile($lib_dir, 'Texinfo', 'Parser.pm')
        and -f File::Spec->catfile($command_directory, $updir, 'share',
                                   'texinfo', 'Texinfo', 'Parser.pm')) {
      $lib_dir = File::Spec->catdir($command_directory, $updir,
                                          'share', 'texinfo');
    }

So it checks if Parser.pm exists using the absolute path and if not, but it does using the relative path, it uses that one instead.


Reply via email to