[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Directory names hard-coded in Texinfo Perl scripts
From: |
Nikolay Kudryavtsev |
Subject: |
Re: Directory names hard-coded in Texinfo Perl scripts |
Date: |
Sun, 19 Dec 2021 05:17:09 +0300 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 |
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.
- Re: Directory names hard-coded in Texinfo Perl scripts, (continued)
- Re: Directory names hard-coded in Texinfo Perl scripts, Eli Zaretskii, 2021/12/17
- Re: Directory names hard-coded in Texinfo Perl scripts, Patrice Dumas, 2021/12/16
- Re: Directory names hard-coded in Texinfo Perl scripts, Eli Zaretskii, 2021/12/17
- Re: Directory names hard-coded in Texinfo Perl scripts, Gavin Smith, 2021/12/18
- Re: Directory names hard-coded in Texinfo Perl scripts, Eli Zaretskii, 2021/12/18
- Re: Directory names hard-coded in Texinfo Perl scripts, Gavin Smith, 2021/12/18
- Re: Directory names hard-coded in Texinfo Perl scripts, Per Bothner, 2021/12/18
Re: Directory names hard-coded in Texinfo Perl scripts, Eli Zaretskii, 2021/12/17
- Re: Directory names hard-coded in Texinfo Perl scripts, Gavin Smith, 2021/12/18
- Re: Directory names hard-coded in Texinfo Perl scripts, Eli Zaretskii, 2021/12/18
- Re: Directory names hard-coded in Texinfo Perl scripts,
Nikolay Kudryavtsev <=
- Re: Directory names hard-coded in Texinfo Perl scripts, Gavin Smith, 2021/12/19
- Re: Directory names hard-coded in Texinfo Perl scripts, Gavin Smith, 2021/12/19
- Re: Directory names hard-coded in Texinfo Perl scripts, Eli Zaretskii, 2021/12/19
- Re: Directory names hard-coded in Texinfo Perl scripts, Nikolay Kudryavtsev, 2021/12/20
Re: Directory names hard-coded in Texinfo Perl scripts, Nikolay Kudryavtsev, 2021/12/20
Re: Directory names hard-coded in Texinfo Perl scripts, Eli Zaretskii, 2021/12/20
Re: Directory names hard-coded in Texinfo Perl scripts, Nikolay Kudryavtsev, 2021/12/21
Re: Directory names hard-coded in Texinfo Perl scripts, Eli Zaretskii, 2021/12/21
Re: Directory names hard-coded in Texinfo Perl scripts, Patrice Dumas, 2021/12/21
Re: Directory names hard-coded in Texinfo Perl scripts, Eli Zaretskii, 2021/12/21