Actions
Backport #2531
closedRuby 1.8.7-p248 fails to cross-compile same version
Status:
Closed
Assignee:
Description
=begin
Hello,
I was informed before in #2485 (backport) that same version and patchlevel is required to perform a cross-compilation targeting MinGW.
Using latest 1.8.7 as base, tried to cross-compile same patchlevel version, but it failed due missing ruby.h file:
compiling dl
make[1]: Entering directory `/home/luis/.rake-compiler/builds/ruby-1.8.7-p248/ext/dl'
Generating callback.func
mkmf.rb can't find header files for ruby at /home/luis/.rvm/ruby-1.8.7-p248/lib/ruby/ruby.h
make[1]: *** [callback.func] Error 1
make[1]: Leaving directory `/home/luis/.rake-compiler/builds/ruby-1.8.7-p248/ext/dl'
make: *** [all] Error 1
From what I see, seems mkmf is expecting the headers files in the wrong directory, as it needs to append the version (1.8) and the platform (i686-linux) to properly find them.
Find attached the config.status, config.log and rbconfig.rb generated.
My interest in the success of the cross compilation process is associated with rake-compiler project to allow Linux/OSX developers build and ship functional gems and projects for Windows users.
Thank you.
=end
Files
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0