Install Oniguruma on OS X !

You may have tried unsuccessfully to install the Ruby Gem ultraviolet or the gem it depends on, textpow, and if you did, it likely failed mysteriously. Well, you first need to download and install the Oniguruma regex library. These instructions should work on almost any *nix with GCC, as well as OS X 10.4 and 10.5 !First, go to  http://www.geocities.jp/kosako3/oniguruma/ and download the latest version of Oniguruma. (as of this writing, 5.9.1) In terminal, cd to the directory you downloaded the tarball to.Un-tar it: tar zxf onig-5.9.1.tar.gz Change to the directory of the un-tarred stuff:cd onig-5.9.1 Configure it, in most cases, just add the PATH you use, normally, /usr/local ./configure --prefix=/usr/local After that’s finished, sudo make and then,sudo make install
 Now, you can install that oniguruma gem with no trouble! Same goes for textpow and ultra edit. 

5 comments ↓

#1 djwonk › Installing Oniguruma on 05.19.08 at 12:27 pm

[...] Goodbye Helicopter has up-to-date Oniguruma installation instructions for Mac OS X.  They are essentially the same as what I showed above. This was written by djwonk. Posted on [...]

#2 Joe Grossberg on 08.08.08 at 10:02 am

Thanks! Documenting this is greatly appreciated. Google + blogging FTW.

#3 Wiktor on 09.24.08 at 9:03 am

Thanks for help :)

#4 kez on 09.27.08 at 4:27 pm

Thirded - thanks for documenting.

#5 Goodbye Helicopter on 09.29.08 at 5:58 pm

I’m glad this was useful for you all. Oddly enough, I suck at Regular Expressions and have never actually used Oniguruma after the first day I installed it - LOL.

Leave a Comment