title: Error compiling ruby 1.9.3 on Solaris
body: <p><img src="https://i.stack.imgur.com/htUYd.png" alt="enter image description here"></p>
  
  <p>I am looking at this error. The architecture I'm compiling ruby on is Solaris-i386.</p>
  
  <p>This ruby version compiles fine on my other box, ubuntu. i'm thinking, I am using a wrong compiler and/or incorrect options? Something was mentioned about c89 and c99 flags (-std=c99), can someone elaborate on exactly how those are supposed to be used when doing <code>./configure; make; make install</code>? </p>
  
  <p>I read this somewhere: and it doesn't fix it, but I'd like to include it in the question as potentially helpful info</p>
  
  <pre><code>Solaris 8 requires #include &lt;values.h&gt; to get most of the system-dependent maths 
  values, and even then it doesn't have HUGE_VAL, despite this being referenced in the 
  math(3HEAD) man page.
  
  By changing the reference to use MAXFLOAT instead and adding the #include above 
  math.h, the code compiles - whether it achieves the same end is an interesting question...
  </code></pre>