Forum: Ruby Oniguruma 1.1.0 ruby gem bug

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jeremy H. (Guest)
on 2007-05-12 23:40
(Received via mailing list)
On Sat, May 12, 2007 at 10:41:10PM +0900, Dizan V. wrote:
> Yes, there is, indeed, a bug report, about oniguruma (which I administer)
> crashing in 64 bit machines. Unfortunately, since I do not have access to a
> 64 bit computer, I have not been able to verify the problem. At the same
> time, the report is quite old (I believe it was issued for version 0.9.0 or
> so) and the code base has changed a lot since then.
> Could anybody confirm that the problem is still happening? If that is the
> case, a detailed description of the error in the project's tracker will be
> welcome. If everything is o.k. now I will close the report.

I was able to confirm that that wasn't happening on my AMD64.

    % ruby -v
    ruby 1.8.5 (2006-12-25 patchlevel 12) [x86_64-openbsd4.0]

    % ruby -rrubygems test_oniguruma.rb
    Loaded suite test_oniguruma
    Finished in 0.01627 seconds.

    49 tests, 110 assertions, 0 failures, 0 errors

Although to get this to work I had to patch the extconf.rb that you have
in your gem.

Here's what I replaced it with:

    require 'mkmf'
    find_header("oniguruma.h", *%w(/usr/local/include
    create_makefile( "oregexp" )


This topic is locked and can not be replied to.