[#29911] [Bug #3231] Digest Does Not Build — Charlie Savage <redmine@...>

Bug #3231: Digest Does Not Build

19 messages 2010/05/01

[#29920] [Feature #3232] Loops (while/until) should return last statement value if any, like if/unless — Benoit Daloze <redmine@...>

Feature #3232: Loops (while/until) should return last statement value if any, like if/unless

9 messages 2010/05/01

[#29997] years in Time.utc — Xavier Noria <fxn@...>

Does anyone have a precise statement about the years supported by

13 messages 2010/05/04

[#30010] [Bug #3248] extension 'tk' is finding tclConfig.sh and tkConfig.sh incorrectly — Luis Lavena <redmine@...>

Bug #3248: extension 'tk' is finding tclConfig.sh and tkConfig.sh incorrectly

9 messages 2010/05/05

[#30226] [Bug #3288] Segmentation fault - activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:88 — Szymon Jeż <redmine@...>

Bug #3288: Segmentation fault - activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:88

10 messages 2010/05/13

[#30358] tk doesn't startup well in doze — Roger Pack <rogerdpack2@...>

Currently with 1.9.x and tk 8.5,the following occurs

12 messages 2010/05/22

[ruby-core:30182] [Bug #3281] fail to build fiddle on Debian/lenny by default

From: Yusuke Endoh <redmine@...>
Date: 2010-05-12 14:08:51 UTC
List: ruby-core #30182
Bug #3281: fail to build fiddle on Debian/lenny by default
http://redmine.ruby-lang.org/issues/show/3281

Author: Yusuke Endoh
Status: Open, Priority: Normal
Assigned to: Aaron Patterson, Category: ext, Target version: 1.9.2
ruby -v: ruby 1.9.3dev (2010-05-12 trunk 27758) [i686-linux]

Hi Aaron --

fiddle cannot be built on Debian/lenny by default, because extconf.rb
fails to find ffi.h.  It can be built by specifying the path:

  ./configure --with-libffi-include=/usr/include/i486-linux-gnu

But I think it should be built by default on Debian/lenny because it
is the supported platform.


The following patch works for me, but I don't know whether it works
on other platforms.

diff --git a/ext/fiddle/extconf.rb b/ext/fiddle/extconf.rb
index 87c5c9e..9e5536d 100644
--- a/ext/fiddle/extconf.rb
+++ b/ext/fiddle/extconf.rb
@@ -2,7 +2,7 @@ require 'mkmf'

 # :stopdoc:

-dir_config 'libffi'
+dir_config 'libffi', "/usr/include/i486-linux-gnu", "/usr/lib"

 unless have_header('ffi.h')
   if have_header('ffi/ffi.h')

-- 
Yusuke Endoh <mame@tsg.ne.jp>


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next