Project

General

Profile

Actions

Bug #3218

closed

Cannot cross-compile Ruby 1.8.7 (svn) using Ruby 1.8.7

Added by luislavena (Luis Lavena) over 14 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
ruby -v:
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9.8.0]
[ruby-core:29866]

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.

http://blog.mmediasys.com/2009/12/16/rake-compiler-safe-list-of-ruby-versions-that-can-be-cross-compiled/

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

rbconfig.rb (6.68 KB) rbconfig.rb luislavena (Luis Lavena), 04/29/2010 08:47 AM
config.status (27.5 KB) config.status luislavena (Luis Lavena), 04/29/2010 08:47 AM
mkmf.log (4.97 KB) mkmf.log luislavena (Luis Lavena), 04/29/2010 08:49 AM

Related issues 1 (0 open1 closed)

Is duplicate of Backport187 - Backport #2531: Ruby 1.8.7-p248 fails to cross-compile same versionClosedshyouhei (Shyouhei Urabe)12/26/2009Actions
Actions #1

Updated by luislavena (Luis Lavena) over 14 years ago

=begin
Forgot to attach mkmf.log from ext/dl build directory.
=end

Actions #2

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

Actions #3

Updated by drbrain (Eric Hodel) over 14 years ago

  • Status changed from Open to Closed

=begin

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0