[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libintl glitches in XS
From: |
Hans-Bernhard Bröker |
Subject: |
Re: libintl glitches in XS |
Date: |
Sun, 28 Apr 2019 14:48:15 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Am 28.04.2019 um 11:38 schrieb Gavin Smith:
> On Fri, Apr 12, 2019 at 11:00:11PM +0200, Hans-Bernhard Bröker wrote:
>> I'm really not suffiiently clear on what the difference between
>> $(LTLIBINTL) and $(LIBINTL) is supposed to be, including the question
>> which is supposed to be used where.
>
> I've used $(LTLIBINTL) and $(LTLIBICONV) and put them in the _LDFLAGS
> variables, which I think is what is recommended when you run gnulib-tool
> --add-import. Change made in commit ad0a09c.
Thanks.
> If this works for you, it would be helpful if you could test if
> texi2any works when you set TEXINFO_XS_PARSER=1 in the environment.
Hmmm. Right now every single test in tp/tests reports "failed",
apparently they fail to find their locale dir:
> diff -a -u -r
> formatting//diffs/staging_res/texi_ignore_and_comments/ignore_and_comments.2
> formatting//out_parser/texi_ignore_and_comments/ignore_and_comments.2
> ---
> formatting//diffs/staging_res/texi_ignore_and_comments/ignore_and_comments.2
> 2018-12-01 18:03:01.898973800 +0100
> +++ formatting//out_parser/texi_ignore_and_comments/ignore_and_comments.2
> 2019-04-28 13:13:31.511104000 +0200
> @@ -0,0 +1 @@
> +Locales dir for document strings not found: No such file or directory
I suspected these might be happening because I do out-of-tree builds
only, or because I have some other changes in my local working copy
(mostly related to Makefile cosmetics and compiler warning removal), so
I checked out a pristine copy to build in-tree. And indeed, that made
them work.
So next I built the clean version out-of-tree --- problem is back. It
looks like the C version needs some help to find non-installed po files.