[ruby-core:81203] Re: [ruby-cvs:65935] normal:r58761 (trunk): test/test_extilibs.rb: do not check the existence of fiddle

From: "U.NAKAMURA" <usa@...>
Date: 2017-05-16 23:34:31 UTC
List: ruby-core #81203
Hi, eric

In message "[ruby-core:81202] Re: [ruby-cvs:65935] normal:r58761 (trunk): test/test_extilibs.rb: do not check the existence of fiddle"
  on Tue, 16 May 2017 22:54:59 +0000, normalperson@yhbt.net wrote:
> I used FreeBSD 11.0.  libffi is in /usr/local, so I would need
> to rerun with "./configure --with-opt-dir=/usr/local"
> (my usual ./configure --prefix= is $HOME)

1) In my understanding, if extconf.rb of fiddle do not detect libffi
   on the system, it'll use bundled version.
   So, if fiddle was not built on your FreeBSD, the failure of
   test_extlibs.rb detected a problem correctly :)

2) I always configure with `--with-opt-dir=/usr/pkg` on my NetBSD box.
   `/usr/pkg` is the base directory of pkgsrc, NetBSD's standard package
   system just like FreeBSD's Ports Collection.
   In general, user have to specify such directory by hand when configure,
   but IMO if we can determine such directory as predefined by system,
   configure should use it automatically.


> Is fiddle that important?   Anyways, I can revert r58761 if you want.
> Thanks.

YES, VERY IMPORTANT.


Regards,
-- 
U.Nakamaura <usa@garbagecollect.jp>


Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread