Hi John,
   Try prefixing the command line with YACC='bison -y '
Here is my build script:
bash-2.05$ cat build.sh
cd mysql-4.0
YACC='bison -y ' ./BUILD/compile-pentium-debug-max
bash-2.05$

Good luck.
Ken
----- Original Message -----
From: "John Barton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 2:04 PM
Subject: Mysql 4.0 bitkeeper source fails to compile


> >Description:
> Mysql 4.0 bitkeeper fails to compile
> >How-To-Repeat:
> Try to compile
> >Fix:
> Fails with a syntax error
>
> >Submitter-Id: <submitter ID>
> >Originator: John
> >Organization:
>
> >MySQL support: none
> >Synopsis: Mysql 4.0 bitkeeper fails to compile
> >Severity: non-critical
> >Priority: low
> >Category: mysql
> >Class: sw-bug
> >Release: mysql-@VERSION@@MYSQL_SERVER_SUFFIX@
(@COMPILATION_COMMENT@)
>
> >Environment:
>
> System: Linux nemesis 2.4.6-pre5 #1 Mon Jun 25 10:14:44 CDT 2001
i686 unknown
> Architecture: i686
>
> Some paths:  /usr/local/bin/perl /usr/bin/make /usr/bin/gmake
/usr/bin/gcc /usr/bin/cc
> GCC: Reading specs from
/usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs
> gcc version 2.95.3 20010315 (SuSE)
> Compilation info: CC='@CC@'  CFLAGS='@CFLAGS@'  CXX='@CXX@'
CXXFLAGS='@CXXFLAGS@'  LDFLAGS='@LDFLAGS@'
> LIBC:
> -rwxr-xr-x    1 root     root      1343073 May 11 09:50
/lib/libc.so.6
> -rw-r--r--    1 root     root     24539184 May 11 09:43
/usr/lib/libc.a
> -rw-r--r--    1 root     root          178 May 11 09:43
/usr/lib/libc.so
> Configure command: @CONF_COMMAND@
>
>
>
> When trying to compile todays bitkeeper archive of Mysql 4.0, it
fails with a syntax error.
>
> Making all in sql
> gmake[2]: Entering directory `/usr/local/src/mysql-4.0/sql'
> gmake[2]: warning: -jN forced in submake: disabling jobserver mode.
> yacc  -d sql_yacc.yy && mv y.tab.c sql_yacc.cc
> yacc: e - line 72 of "sql_yacc.yy", syntax error
> %pure_parser                                    /* We have threads
*/
> ^
> gmake[2]: *** [sql_yacc.cc] Error 1
> gmake[2]: Leaving directory `/usr/local/src/mysql-4.0/sql'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/local/src/mysql-4.0'
> gmake: *** [all-recursive-am] Error 2
>
> --------------------------------------------------------------------
-
> 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 <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try:
http://lists.mysql.com/php/unsubscribe.php
>
>


---------------------------------------------------------------------
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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to