Oniguruma 1.1.0 ruby gem bug

Discussion in 'Ruby' started by Jeremy Hinegardner, May 12, 2007.

  1. On Sat, May 12, 2007 at 10:41:10PM +0900, Dizan Vasquez 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
    5.7.0
    Loaded suite test_oniguruma
    Started
    .................................................
    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_library("onig","onig_new")
    find_header("oniguruma.h", *%w(/usr/local/include /opt/local/include))
    $CFLAGS='-Wall'
    create_makefile( "oregexp" )

    enjoy,

    -jeremy

    --
    ========================================================================
    Jeremy Hinegardner
     
    Jeremy Hinegardner, May 12, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Simon Strandgaard

    regexp unlimited: Ruby's vs Oniguruma

    Simon Strandgaard, Nov 13, 2003, in forum: Ruby
    Replies:
    2
    Views:
    95
    Mark Wilson
    Nov 17, 2003
  2. Wolfgang Nádasi-Donner
    Replies:
    8
    Views:
    181
    Wolfgang Nádasi-Donner
    Jul 31, 2005
  3. Ashley Moran

    Compile ruby with oniguruma on OS X

    Ashley Moran, Nov 22, 2006, in forum: Ruby
    Replies:
    2
    Views:
    124
    Ashley Moran
    Nov 24, 2006
  4. Austin 7873
    Replies:
    5
    Views:
    216
    Eric Hodel
    Jan 27, 2007
  5. Matthew Forrest
    Replies:
    2
    Views:
    169
    Matthew Forrest
    Oct 8, 2009
Loading...

Share This Page