Project

General

Profile

Actions

Bug #1057

closed

ripper does not compile with mingw

Added by cfis (Charlie Savage) almost 16 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
Backport:
[ruby-core:21570]

Description

=begin
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?
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0