L
Lars Eb
dear rubyians,
I tried to compile ruby under windows xp with MinGW.
firstly I copied and renamed the GNUMakefile.in out of cygwin directory
into the src root directory. After that I successfully run ./configure
in order to generate the Makefile.
Unfortunately, the auto generated Makefile has one "smaller" and one
"bigger" obstacle.
The "smaller" one concerns the first line of the Makefile there was an
"include Makefile" which caused "Makefile:1: Makefile: Too many open
files" what I fixed with out-commenting that line.
The "bigger" one where I am without any suggestion is related to the
first target:
$(RCFILES): $(RBCONFIG)
@$(MINIRUBY) $(srcdir)/win32/resource.rb \
-ruby_name=$(RUBY_INSTALL_NAME) -rubyw_name=$(RUBYW_INSTALL_NAME) \
-so_name=$(DLL_BASE_NAME) \
. $(icondirs) $(srcdir)/win32
which cause:
Makefile:42: target '.rc' given more than once in the same rule.
Makefile:42: target '.rc' given more than once in the same rule.
GNUMakefile:42: warning: overriding commands for target '.rc'
Makefile:43: warning: ignoring old commands for target '.rc'
GNUMakefile:41: target '.rc' given more than once in the same rule.
GNUMakefile:41: target '.rc' given more than once in the same rule.
mingw32-make: *** No rule to make target '/cygwin/GNUmakefile.in',
needed by 'GNUMakefile'. Stop.
what has been gone wrong!?
does anybody have an idea?
thanks in advance.
kind regards,
lars
Attachments:
http://www.ruby-forum.com/attachment/978/Makefile
I tried to compile ruby under windows xp with MinGW.
firstly I copied and renamed the GNUMakefile.in out of cygwin directory
into the src root directory. After that I successfully run ./configure
in order to generate the Makefile.
Unfortunately, the auto generated Makefile has one "smaller" and one
"bigger" obstacle.
The "smaller" one concerns the first line of the Makefile there was an
"include Makefile" which caused "Makefile:1: Makefile: Too many open
files" what I fixed with out-commenting that line.
The "bigger" one where I am without any suggestion is related to the
first target:
$(RCFILES): $(RBCONFIG)
@$(MINIRUBY) $(srcdir)/win32/resource.rb \
-ruby_name=$(RUBY_INSTALL_NAME) -rubyw_name=$(RUBYW_INSTALL_NAME) \
-so_name=$(DLL_BASE_NAME) \
. $(icondirs) $(srcdir)/win32
which cause:
Makefile:42: target '.rc' given more than once in the same rule.
Makefile:42: target '.rc' given more than once in the same rule.
GNUMakefile:42: warning: overriding commands for target '.rc'
Makefile:43: warning: ignoring old commands for target '.rc'
GNUMakefile:41: target '.rc' given more than once in the same rule.
GNUMakefile:41: target '.rc' given more than once in the same rule.
mingw32-make: *** No rule to make target '/cygwin/GNUmakefile.in',
needed by 'GNUMakefile'. Stop.
what has been gone wrong!?
does anybody have an idea?
thanks in advance.
kind regards,
lars
Attachments:
http://www.ruby-forum.com/attachment/978/Makefile