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

From: Eric Wong <normalperson@...>
Date: 2017-05-17 00:00:43 UTC
List: ruby-core #81204
"U.NAKAMURA" <usa@garbagecollect.jp> wrote:
> 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.

OK, I will try to make out-of-the-box ./configure work better,
since I always forget --with-opt-dir

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

OK, r58764 reverts 58761.

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

In This Thread

Prev Next