Daniel Macks wrote:
[]
> Those are the same errors we used to get when hc found yacc from
> fink's bison package, which was apparently newer and different enough
> from the one from OS X that it broke hc (which is a very old piece of
> source code). The 'make' command used by hc was adjusted (as you can
> see) to hardcode to use the OS X yacc. So you have an unexpected bison
> on your machine.
In the meantime, Apple dumped yacc and replaced it with gnu bison. From
"man yacc" on Leopard:
On Darwin, yacc is a wrapper for bison(1), equivalent to bison -y.
This is, of course, a lie, because on Darwin (<= Tiger), yacc was yacc.
Anyway, since this is a very little piece of code, I looked up enough
yacc/bison to make a patch file so that it builds now on 10.4 and on
10.5 (and probably also with Fink's bison, but I left the /usr/bin/yacc
command in place). I committed this as version hc-1.1-2.
--
Martin
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users