Hi,
I have a few Solaris 10 boxes and I'd like to have RDiscount running there. (They are Joyent accelerators, which have a somewhat customized, BSD-ish, userland, in case it matters.)
I'm aware of Maruku, rpeg-markdown and other ruby alternatives to BlueCloth, but initially I'd like to go with RDiscount.
Here's what I get when trying to install it:
$ sudo gem install rdiscount
Password:
Building native extensions. This could take a while...
ERROR: Error installing rdiscount:
ERROR: Failed to build gem native extension.
/opt/local/bin/ruby18 extconf.rb install rdiscount
checking for random()... yes
checking for srandom()... yes
checking for funopen()... no
checking for fopencookie()... no
*** extconf.rb failed ***
[snip]
extconf.rb:11: No funopen or fopencookie support available. (RuntimeError)
Apparently the installation fails because it cannot find neither funopen nor fopencookie.
And to tell the truth, I have little idea what these are. So, any pointers on what I'd need to do to get this to compile?