[ruby-core:67096] [ruby-trunk - Bug #10462] [Closed] fiddle/libffi installation failing on cygwin

From: duerst@...
Date: 2014-12-24 06:37:24 UTC
List: ruby-core #67096
Issue #10462 has been updated by Martin D端rst.

Status changed from Open to Closed

Solved for fiddle at #48954 or thereabouts.

----------------------------------------
Bug #10462: fiddle/libffi installation failing on cygwin
https://bugs.ruby-lang.org/issues/10462#change-50609

* Author: Martin D端rst
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: build
* Target version: 
* ruby -v: ruby 2.2.0dev (2014-10-31 trunk 48205) [x86_64-cygwin]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
During the make process, I get the following message:
configuring fiddle
ffi.h is missing. Please install libffi.
Failed to configure fiddle. It will not be installed.

Also, at the end of the make process, it says:
DL is deprecated, please use Fiddle

I have installed the relevant Cygwin package. I have checked, and have found ffi.h at two locations:
/lib/libffi-3.0.13/include/ffi.h
/usr/i686-pc-cygwin/sys-root/usr/lib/libffi-3.0.13/include/ffi.h

Until a few days ago, other libraries such as readline and openssl also didn't work, with similar error messages, but these error messages are gone, and readline now works in irb, which it didn't before. The other library that doesn't work is Tkl/Tk, but I don't care too much about it (except that it takes a very long time to figure out that it can't configure Tkl/Tk).



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next