[MacRuby][0.5] Bison Error
The following error prevents the build from moving forward: BEGIN ERROR: bison -t -v -oy.tab.c ripper.y ripper.y:2960.25-26: $$ for the midrule at $6 of `primary' has no declared type make: *** [ripper.c] Error 1 END ERROR: -Conrad
What's the version of your bison? I am guessing you have a version of bison that is incompatible in your $PATH. MacRuby should build fine with the system one. Laurent On Jul 5, 2009, at 4:56 PM, Conrad Taylor wrote:
The following error prevents the build from moving forward:
BEGIN ERROR:
bison -t -v -oy.tab.c ripper.y ripper.y:2960.25-26: $$ for the midrule at $6 of `primary' has no declared type make: *** [ripper.c] Error 1
END ERROR:
-Conrad
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
I guess when I updated another port bison was a dependency. Thus, bison 2.4.1 was being used during the build MacRuby 0.5. After deactivating this port, everything is building successfully using bison 2.3.0 which is the system default. -Conrad On Sun, Jul 5, 2009 at 8:19 PM, Laurent Sansonetti <lsansonetti@apple.com>wrote:
What's the version of your bison?
I am guessing you have a version of bison that is incompatible in your $PATH.
MacRuby should build fine with the system one.
Laurent
On Jul 5, 2009, at 4:56 PM, Conrad Taylor wrote:
The following error prevents the build from moving forward:
BEGIN ERROR:
bison -t -v -oy.tab.c ripper.y ripper.y:2960.25-26: $$ for the midrule at $6 of `primary' has no declared type make: *** [ripper.c] Error 1
END ERROR:
-Conrad
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
I fixed ripper's build to always use /usr/bin/bison (as we already do to compile the main parser), this way the problem should never happen again :-) Laurent On Jul 6, 2009, at 12:37 AM, Conrad Taylor wrote:
I guess when I updated another port bison was a dependency. Thus, bison 2.4.1 was being used during the build MacRuby 0.5. After deactivating this port, everything is building successfully using bison 2.3.0 which is the system default.
-Conrad
On Sun, Jul 5, 2009 at 8:19 PM, Laurent Sansonetti <lsansonetti@apple.com
wrote: What's the version of your bison?
I am guessing you have a version of bison that is incompatible in your $PATH.
MacRuby should build fine with the system one.
Laurent
On Jul 5, 2009, at 4:56 PM, Conrad Taylor wrote:
The following error prevents the build from moving forward:
BEGIN ERROR:
bison -t -v -oy.tab.c ripper.y ripper.y:2960.25-26: $$ for the midrule at $6 of `primary' has no declared type make: *** [ripper.c] Error 1
END ERROR:
-Conrad
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (2)
-
Conrad Taylor
-
Laurent Sansonetti