compiling 4.0.2

compiling 4.0.2

am 14.07.2002 17:02:16 von Michael Widenius

Hi!

>>>>> "Marko" == Marko Djukic 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

--
For technical support contracts, goto https://order.mysql.com/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Michael Widenius
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, CTO
/_/ /_/\_, /___/\___\_\___/ Helsinki, Finland
<___/ www.mysql.com

------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail bugs-thread12182@lists.mysql.com
To unsubscribe, e-mail