[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #47566] Loosing LocalData with texi2any
From: |
Vincent Belaïche |
Subject: |
Re: [bug #47566] Loosing LocalData with texi2any |
Date: |
Wed, 30 Mar 2016 12:16:30 +0200 |
Answers embeded below...
Le 29/03/2016 22:27, Gavin Smith a écrit :
> (Replying by email.)
>
> On 29 March 2016 at 19:33, Vincent Belaïche <address@hidden> wrote:
>
>> Now the problem I have is that using this non-installed version lacks
>> the LocalData. The implication is that compiling latex2e-fr.texi from
>> latexrefman GNA! project this way will make ``Table of contents''
>> instead of ``Table des matières''.
>>
>> Please note that lacking the LocalData is is true whether I use the
>> activestate of the MSYS perl with my wrapper, the root cause seems that
>> I am using an uninstalled version.
>>
>> Please also note that I get this error message on any compilation:
>>
>>
>> Locales dir for document strings not found
>> (C:\Programmes\installation\texinfo-install\trunk\tp\LocaleData LocaleData
>> ..\..\..\tp\LocaleData ..\..\tp\LocaleData)
>
> Does the tp/LocaleData directory exist, and if so, what is in it?
No, it does not exist, the content of tp is as follows:
--8<----8<----8<----8<----8<-- begin -->8---->8---->8---->8---->8----
c:/Programmes/installation/texinfo-install/trunk/tp:
total used in directory 741 available 165730296
drwxrwxrwx 1 Vincent None 16384 02-27 17:53 ..
drwxrwxrwx 1 Vincent None 4096 02-26 18:29 .
drwxrwxrwx 1 Vincent None 0 2015-08-14 blib
drwxrwxrwx 1 Vincent None 0 2015-08-13 DebugTexinfo
-rw-rw-rw- 1 Vincent None 74 02-26 18:29 defs
-rw-rw-rw- 1 Vincent None 112 2014-01-25 defs.in
drwxrwxrwx 1 Vincent None 0 2015-08-13 init
drwxrwxrwx 1 Vincent None 4096 02-26 14:02 maintain
-rw-rw-rw- 1 Vincent None 137532 02-26 18:29 Makefile
-rw-rw-rw- 1 Vincent None 10534 02-26 14:07 Makefile.am
-rw-rw-rw- 1 Vincent None 5289 09-27 23:41 Makefile.docstr
-rw-rw-rw- 1 Vincent None 146247 02-26 18:26 Makefile.in
-rw-rw-rw- 1 Vincent None 1818 2015-09-13 Makefile.PL
-rw-rw-rw- 1 Vincent None 144986 09-28 09:18 Makefile.tmp
-rw-rw-rw- 1 Vincent None 65043 09-27 23:41 Makefile.tres
-rw-rw-rw- 1 Vincent None 64890 02-26 14:07 MANIFEST
-rw-rw-rw- 1 Vincent None 0 2015-08-14 pm_to_blib
-rw-rw-rw- 1 Vincent None 463 2014-01-25 prove.sh
-rw-rw-rw- 1 Vincent None 2418 2015-08-13 README
drwxrwxrwx 1 Vincent None 20480 02-26 14:07 t
drwxrwxrwx 1 Vincent None 8192 02-26 18:29 tests
-rw-rw-rw- 1 Vincent None 53426 2014-08-05 texi2any
-rw-rw-rw- 1 Vincent None 53797 02-26 14:09 texi2any.pl
drwxrwxrwx 1 Vincent None 4096 02-26 18:29 Texinfo
-rw-rw-rw- 1 Vincent None 14115 2015-08-13 TODO
--8<----8<----8<----8<----8<-- end -->8---->8---->8---->8---->8----
>
> Have you run "make" to generate the content of this directory? (Not
> "make install".)
I have tried make from the trunk directory. Anyway, if I use the
activestate perl, then the auto-tools won't work, and running make in
the tp directory gives this:
--8<----8<----8<----8<----8<-- begin -->8---->8---->8---->8---->8----
address@hidden /c/Programmes/installation/texinfo-install/trunk/tp
$ make
cd .. && /bin/sh
/c/Programmes/installation/texinfo-install/trunk/build-aux/missing
automake-1.15 --gnu tp/Makefile
Unescaped left brace in regex is deprecated, passed through in regex; marked by
<-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at
c:/Nos_Programmes/MinGW/local/bin/automake-1.15 line 3936.
'autoconf' n'est pas reconnu en tant que commande interne
ou externe, un programme ex‚cutable ou un fichier de commandes.
POSIX::WIFEXITED not implemented on this architecture at
c:/Nos_Programmes/MinGW/local/share/automake-1.15/Automake/FileUtils.pm line
241.
make: *** [Makefile.in] Error 1
--8<----8<----8<----8<----8<-- end -->8---->8---->8---->8---->8----
If now I configure msys fstab for using the MSYS perl, then it goes
quite further, but anyway ends in error. The problem seems to be that
command `:' which does nothing --- see
(info "(bash) Bourne Shell Builtins")
--- is called instead of some other command that should create some
`t-ca.us-ascii.gmo' file. See what it gives:
--8<----8<----8<----8<----8<-- begin -->8---->8---->8---->8---->8----
$ make
Making all in .
make[1]: Entering directory
`/c/Programmes/installation/texinfo-install/trunk/tp'
cd ./../po_document/ && make ca.us-ascii.gmo
make[2]: Entering directory
`/c/Programmes/installation/texinfo-install/trunk/po_document'
make texinfo_document.pot-update
make[3]: Entering directory
`/c/Programmes/installation/texinfo-install/trunk/po_document'
package_gnu="yes"; \
test -n "$package_gnu" || { \
if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null;
then \
LC_ALL=C find -L .. -maxdepth 1 -type f \
-size -10000000c -exec grep 'GNU texinfo' \
/dev/null '{}' ';' 2>/dev/null; \
else \
LC_ALL=C grep 'GNU texinfo' ../* 2>/dev/null; \
fi; \
} | grep -v 'libtool:' >/dev/null; then \
package_gnu=yes; \
else \
package_gnu=no; \
fi; \
}; \
if test "$package_gnu" = "yes"; then \
package_prefix='GNU '; \
else \
package_prefix=''; \
fi; \
if test -n 'address@hidden' || test 'address@hidden' =
'@'PACKAGE_BUGREPORT'@'; then \
msgid_bugs_address='address@hidden'; \
else \
msgid_bugs_address='address@hidden'; \
fi; \
case `: --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 |
0.16.[0-1]*) \
: --default-domain=texinfo_document --directory=.. \
--add-comments=TRANSLATORS: --language=Perl --keyword=gdt
--keyword=pgdt:1,2c --flag=error:3:c-format --flag=error_at_line:5:c-format
--flag=asprintf:2:c-format --flag=vasprintf:2:c-format \
--files-from=./POTFILES.in \
--copyright-holder='Free Software Foundation, Inc.' \
--msgid-bugs-address="$msgid_bugs_address" \
;; \
*) \
: --default-domain=texinfo_document --directory=.. \
--add-comments=TRANSLATORS: --language=Perl --keyword=gdt
--keyword=pgdt:1,2c --flag=error:3:c-format --flag=error_at_line:5:c-format
--flag=asprintf:2:c-format --flag=vasprintf:2:c-format \
--files-from=./POTFILES.in \
--copyright-holder='Free Software Foundation, Inc.' \
--package-name="${package_prefix}texinfo" \
--package-version='6.1dev' \
--msgid-bugs-address="$msgid_bugs_address" \
;; \
esac
test ! -f texinfo_document.po || { \
if test -f ./texinfo_document.pot-header; then \
sed -e '1,/^#$/d' < texinfo_document.po > texinfo_document.1po && \
cat ./texinfo_document.pot-header texinfo_document.1po >
texinfo_document.po; \
rm -f texinfo_document.1po; \
fi; \
if test -f ./texinfo_document.pot; then \
sed -f remove-potcdate.sed < ./texinfo_document.pot >
texinfo_document.1po && \
sed -f remove-potcdate.sed < texinfo_document.po >
texinfo_document.2po && \
if cmp texinfo_document.1po texinfo_document.2po >/dev/null 2>&1;
then \
rm -f texinfo_document.1po texinfo_document.2po
texinfo_document.po; \
else \
rm -f texinfo_document.1po texinfo_document.2po
./texinfo_document.pot && \
mv texinfo_document.po ./texinfo_document.pot; \
fi; \
else \
mv texinfo_document.po ./texinfo_document.pot; \
fi; \
}
make[3]: Leaving directory
`/c/Programmes/installation/texinfo-install/trunk/po_document'
make[3]: Entering directory
`/c/Programmes/installation/texinfo-install/trunk/po_document'
make texinfo_document.pot-update
make[4]: Entering directory
`/c/Programmes/installation/texinfo-install/trunk/po_document'
package_gnu="yes"; \
test -n "$package_gnu" || { \
if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null;
then \
LC_ALL=C find -L .. -maxdepth 1 -type f \
-size -10000000c -exec grep 'GNU texinfo' \
/dev/null '{}' ';' 2>/dev/null; \
else \
LC_ALL=C grep 'GNU texinfo' ../* 2>/dev/null; \
fi; \
} | grep -v 'libtool:' >/dev/null; then \
package_gnu=yes; \
else \
package_gnu=no; \
fi; \
}; \
if test "$package_gnu" = "yes"; then \
package_prefix='GNU '; \
else \
package_prefix=''; \
fi; \
if test -n 'address@hidden' || test 'address@hidden' =
'@'PACKAGE_BUGREPORT'@'; then \
msgid_bugs_address='address@hidden'; \
else \
msgid_bugs_address='address@hidden'; \
fi; \
case `: --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 |
0.16.[0-1]*) \
: --default-domain=texinfo_document --directory=.. \
--add-comments=TRANSLATORS: --language=Perl --keyword=gdt
--keyword=pgdt:1,2c --flag=error:3:c-format --flag=error_at_line:5:c-format
--flag=asprintf:2:c-format --flag=vasprintf:2:c-format \
--files-from=./POTFILES.in \
--copyright-holder='Free Software Foundation, Inc.' \
--msgid-bugs-address="$msgid_bugs_address" \
;; \
*) \
: --default-domain=texinfo_document --directory=.. \
--add-comments=TRANSLATORS: --language=Perl --keyword=gdt
--keyword=pgdt:1,2c --flag=error:3:c-format --flag=error_at_line:5:c-format
--flag=asprintf:2:c-format --flag=vasprintf:2:c-format \
--files-from=./POTFILES.in \
--copyright-holder='Free Software Foundation, Inc.' \
--package-name="${package_prefix}texinfo" \
--package-version='6.1dev' \
--msgid-bugs-address="$msgid_bugs_address" \
;; \
esac
test ! -f texinfo_document.po || { \
if test -f ./texinfo_document.pot-header; then \
sed -e '1,/^#$/d' < texinfo_document.po > texinfo_document.1po && \
cat ./texinfo_document.pot-header texinfo_document.1po >
texinfo_document.po; \
rm -f texinfo_document.1po; \
fi; \
if test -f ./texinfo_document.pot; then \
sed -f remove-potcdate.sed < ./texinfo_document.pot >
texinfo_document.1po && \
sed -f remove-potcdate.sed < texinfo_document.po >
texinfo_document.2po && \
if cmp texinfo_document.1po texinfo_document.2po >/dev/null 2>&1;
then \
rm -f texinfo_document.1po texinfo_document.2po
texinfo_document.po; \
else \
rm -f texinfo_document.1po texinfo_document.2po
./texinfo_document.pot && \
mv texinfo_document.po ./texinfo_document.pot; \
fi; \
else \
mv texinfo_document.po ./texinfo_document.pot; \
fi; \
}
make[4]: Leaving directory
`/c/Programmes/installation/texinfo-install/trunk/po_document'
make[3]: Leaving directory
`/c/Programmes/installation/texinfo-install/trunk/po_document'
: --update --lang=ca.us-ascii ca.us-ascii.po texinfo_document.pot
rm -f ca.us-ascii.gmo && : -c --statistics --verbose -o ca.us-ascii.gmo
ca.us-ascii.po
mv: cannot stat `t-ca.us-ascii.gmo': No such file or directory
make[2]: *** [ca.us-ascii.gmo] Error 1
make[2]: Leaving directory
`/c/Programmes/installation/texinfo-install/trunk/po_document'
make[1]: *** [../po_document/ca.us-ascii.gmo] Error 2
make[1]: Leaving directory `/c/Programmes/installation/texinfo-install/trunk/tp'
make: *** [all-recursive] Error 1
--8<----8<----8<----8<----8<-- end -->8---->8---->8---->8---->8----
Please note that I had to update my MinGW installation to get the
msgmerge utility.
>
>>
>> = Unable to install texi2any =
>>
>> So, why using an ``uninstalled'' version. Well, the thing is that trying
>> as much as I could, I never could install texi2any.
>>
>> When trying to install texi2any on MSWindows with MSYS and with MSYS
>> configured to use the MSYS perl (eg by having the fstab file having /perl
>> directory pointing that the MSYS perl), then I get the following error
>> message:
>>
>>
>> WARNING: BUILD_REQUIRES is not a known parameter.
>> 'BUILD_REQUIRES' is not a known MakeMaker parameter name.
>> ERROR from evaluation of
>> /c/Programmes/installation/texinfo-install/trunk/tp/Texinfo/Convert/XSParagraph/Makefile.PL:
>> Perl v5.18.1 required--this is only v5.8.8, stopped at ./Makefile.PL line 1.
>> BEGIN failed--compilation aborted at ./Makefile.PL line 1.
>
> That file (tp/Texinfo/Convert/XSParagraph/Makefile.PL) shouldn't be
> used at all. Why's it being used?
>
I don't know... maybe at some point of time I have run some wrong
command.
>
>> Now, if I change the MSYS fstab file so that the perl is activestate
>> perl, then installation of texi2any will make this error:
>>
>>
>> ERROR from evaluation of
>> C:\Programmes\installation\texinfo-install\trunk\tp\Texinfo\Convert\XSParagraph/Makefile.PL:
>> Could not open 'XSParagraph.pm': No such file or directory at
>> c:/Programmes/Perl64/lib/ExtUtils/MM_Unix.pm line 2781, <$fh> line 90.
>
> Again that file shouldn't be used. I expect it is breaking because
> files were moved around since the last time it worked.
>
> tp/Texinfo/Convert/XSParagraph/Makefile, when it exists, should have
> been generated from Makefile.am and Makefile.in, not Makefile.PL. Do
> you know why it is otherwise?
Well, at some point of time, I must have tried to do
perl Makefile.PL
also. So the work area is probably not so clean. I have tried to do
make clean
make realclean
only the `clean' target exists, but anyway, running make again after
`make clean' still does not work.
VBR,
Vincent.