Re: complain.c:(.text+0x6df): undefined reference to `ostream_printf'

Akim Demaille <[email protected]>
Newsgroups gmane.comp.parsers.bison.bugs
Message-ID <[email protected]>
Hi Lars,

> Le 23 juil. 2020 à 21:58, Lars Wendler <[email protected]> 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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.