n-t-roff / heirloom-doctools

The Heirloom Documentation Tools: troff, nroff, and related utilities
http://n-t-roff.github.io/heirloom/doctools.html
Other
127 stars 23 forks source link

cannot build heirloom #114

Open ngc1404 opened 2 years ago

ngc1404 commented 2 years ago

Hi, I just cloned the git repository and executed ./configure and make. Unfortunately there's a link error. I've attached a log of the build.

Thanks in advance. heirloom-build.log

n-t-roff commented 2 years ago

As mentioned in https://github.com/n-t-roff/heirloom-doctools/issues/85#issuecomment-723422519 you could try to use byacc instead of bison. I.e. add the byacc package and then set the YACC environment variable to byacc (temporarily in the shell).

n-t-roff commented 2 years ago

Duplicate of #85

ngc1404 commented 2 years ago

Great thanks, it's working. I found #85 after posting my message.

takusuman commented 1 year ago

As mentioned in #85 (comment) you could try to use byacc instead of bison. I.e. add the byacc package and then set the YACC environment variable to byacc (temporarily in the shell).

Just a question: is it really impossible to port the *.y source files to GNU Bison?

(Sorry, I wanted to mean "GNU Bison", not byacc)

n-t-roff commented 1 year ago

They need not be ported to bison, it would be enough to replace the YACC internal variable references (i.e. not relying on the YACC implementation). When this would be done it would work with any YACC type parser generator. I don't have the time to fix this but pull-requests are welcome.