[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: complain.c:(.text+0x6df): undefined reference to `ostream_printf'
From: |
Akim Demaille |
Subject: |
Re: complain.c:(.text+0x6df): undefined reference to `ostream_printf' |
Date: |
Fri, 24 Jul 2020 07:31:06 +0200 |
Hi Lars,
> Le 23 juil. 2020 à 21:58, Lars Wendler <polynomial-c@gentoo.org> a écrit :
>
> Hi Akim,
>
>> I think the problem is "simply" that your version of libtextstyle is
>> too old.
>>
>> I'm using 0.20.5.
>>
>> https://alpha.gnu.org/gnu/gettext/libtextstyle-0.20.5.tar.gz
>
> In Gentoo libtextstyle is provided by gettext and neither version
> 0.20.2 nor 0.21-rc1 seem to provide a recent enough libtextstyle. Do
> you really expect distros to split libtextstyle out from gettext?
Yes, I believe this is something that should happen. In the gettext
package, there's a PACKAGING file that starts with:
> Packaging hints for binary package distributors
> ===============================================
>
> Although the source of the gettext package comes as a single package,
> I recommend that in distributions of binary packages the installed files
> be split into three packages:
>
> gettext-runtime
> Contents: Runtime libraries and programs.
> Audience: Anyone who wants to run internationalized programs.
>
> libtextstyle
> Contents: Text styling library.
> Audience: Anyone who wants to run or develop programs that produce
> styled text, to be displayed in a terminal emulator.
>
> gettext-tools
> Contents: Tools and documentation for developers and translators.
> Audience: Anyone who wants to develop or localize internationalized
> programs, i.e. developers and translators.
> Dependencies: requires gettext-runtime.
But Bison should use a stricter Autoconf check to rule out versions
of libtextstyle that don't support it. I'll do that eventually.
Meanwhile, disable text styling with configure --without-libtextstyle-prefix.
Cheers!