2 messages in com.mysql.lists.bugscompiling 4.0.2
FromSent OnAttachments
Marko Djukic02 Jul 2002 01:07 
Michael Widenius14 Jul 2002 08:01 
Subject:compiling 4.0.2
From:Michael Widenius (mon@mysql.com)
Date:07/14/2002 08:01:54 AM
List:com.mysql.lists.bugs

Hi!

"Marko" == Marko Djukic <mar@oblo.com> writes:

Marko> Anyone know what this syntax error is about? trying to compile the 4.0.2
on a freebsd server...

Marko> Making all in sql Marko> gmake[2]: Entering directory `/usr/home/oblo/xfer/mysql-4.0.2/sql' Marko> byacc -d sql_yacc.yy && mv y.tab.c sql_yacc.cc Marko> byacc: e - line 75 of "sql_yacc.yy", syntax error Marko> %pure_parser /* We have threads */ Marko> ^

The reason for the above is that you are using byacc instead of 'bison'.

Fix:

Execute in the MySQL directory:

cd sql bison -d sql_yacc.yy && mv y.tab.c sql_yacc.cc cd .. make all

Regards, Monty