Re: bistromathic doesn't build

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

Long time no see :)

> Le 30 avr. 2020 à 02:36, Horst von Brand <[email protected]> a écrit :
> 
> Bison 3.5.90.41-3b05-dirty (built from git, *no* changes, dunno where the "dirty" comes from),

That's weird.  Maybe it's something inside gnulib/?  git status reports nothing at all?

> on Fedora 31, x86_64.
> 
> examples/c/bistromathic build fails, because LC_ALL isn't defined (missing <locale.h>), link references a non-existing/unneeded library -lintl (perhaps needed for other environments?) and is missing the C math library (-lm). The attached patch fixes all those.

bistromathic has two build systems: one as part of the package,
run with regular "make" and "make check" in bison/ itself.  The
other one meant to be used when the package is installed, to be
run from "/usr/local/share/doc/bison/example/c/bistromathic".

IIUC, the build from bison works properly, but not the one for installed
examples, right?

Thanks!
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.