Bug #3218
closedCannot cross-compile Ruby 1.8.7 (svn) using Ruby 1.8.7
Description
=begin
Hello,
Part of rake-compiler project and to help developers provide gems for Ruby users in Windows, we cross compile Ruby either from OSX or Linux using mingw32.
I've been monitoring and testing newer versions of 1.8.6, 1.8.7 and 1.9, including the svn branches of those to test compatibility.
I've posted in my blog the safest patchlevels that work for cross compilation.
Previously I have reported in #2485 cross compilation issues for 1.8.7, and we have issues again:
compiling dl
Generating callback.func
mkmf.rb can't find header files for ruby at /Users/luis/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/ruby.h
make[1]: *** [callback.func] Error 1
make: *** [all] Error 1
This is using Revision r27538 of ruby_1_8_7 branch.
It appears that mkmf is getting confused where it could find the header files.
I needed to use 1.8.7-p174 as newer patchlevels behave erratically under Leopard.
Find attached the generated rbconfig.rb and config.status
Thank you
=end
Files
Updated by luislavena (Luis Lavena) over 14 years ago
=begin
Forgot to attach mkmf.log from ext/dl build directory.
=end
Updated by luislavena (Luis Lavena) over 14 years ago
=begin
Can someone close this? Is a duplicate of #2531 and a patch has been provided in it.
Thank you.
=end