From: Charlie Savage <redmine@...> Date: 2009-01-27T02:53:14+09:00 Subject: [ruby-core:21570] [Bug #1057] ripper does not compile with mingw Bug #1057: ripper does not compile with mingw http://redmine.ruby-lang.org/issues/show/1057 Author: Charlie Savage Status: Open, Priority: High Category: core, Target version: 1.9.1 Reproducible Version: 1.9.1 RC2 Mingw, vista, gcc 3.4.5 When building ruby 1.9.1-rc2: make[1]: Entering directory `/usr/src/ruby-1.9.1-rc2/ext/ripper' make[1]: *** No rule to make target `lex.c', needed by `ripper.o'. Stop. make[1]: Leaving directory `/usr/src/ruby-1.9.1-rc2/ext/ripper' make: *** [exts] Error 1 In the makefile: ripper.o: ripper.c lex.c eventids1.c eventids2.c eventids2table.c \ $ flex --version flex 2.5.33 $ bison --version bison (GNU Bison) 2.3 But lex.c is nowhere to be found. Simply removing it from the makefile fixes the issue. So: ripper.o: ripper.c eventids1.c eventids2.c eventids2table.c \ Is this the right solution? ---------------------------------------- http://redmine.ruby-lang.org