From: jeffz_2002@... Date: 2006-10-09T08:55:10+09:00 Subject: Error at "bison parse.y" when compiling Ruby with MinGW I'm trying to build Ruby from source with MinGW (Windows XP SP 2), and it bombs at bison: > sh configure --prefix=c:\my_ruby --enable-shared i386-mingw32 ... lots 'o stuff > make gcc -g -O2 -DRUBY_EXPORT -I. -I. -c array.c ... other files gcc -g -O2 -DRUBY_EXPORT -I. -I. -c pack.c bison -y parse.y parse.y: fatal error: invalid token in skeleton: @output @output_parser_name@ make: *** [parse.c] Error 1 Lengthy searches on google and rubygarden to no avail. I grabbed the latest parse.y from the CVS repository, but I don't think that's where the problem is. Does anyone have any ideas? Tools: MinGW packages: binutils-2.15.91-20040904-1.tar.gz gcc-core-3.4.2-20040916-1.tar.gz gcc-g++-3.4.2-20040916-1.tar.gz mingw-runtime-3.9.tar.gz mingw32-make-3.80.0-3.exe w32api-3.6.tar.gz MSYS packages: bison-2.0-MSYS.tar.gz MSYS-1.0.11-2004.04.30-1.exe msys-autoconf-2.59.tar msys-automake-1.8.2.tar msys-libtool-1.5.tar msysDTK-1.0.1.exe GNU bash, version 2.04.0(1)-release-(i686-pc-msys) All installed, all on path, can compile C programs with gcc. Autoconf works. Thanks, Jeff