<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Tobi,<br>
<br>
Thanks. I'll try and get this worked out. It seems that the new version
of ruby on Windows has been compiled with Mingw32 instead of Microsoft
Visual C++. To get the Ruby binding for Ruby v1.9.1 compiled for
rrdtool in Windows, it seems that I need to compile rrdtool with
MinGW32.<br>
<br>
I'll let let you know of the progess.<br>
<br>
Thanks.<br>
<br>
Cheers, Barrie<br>
<br>
Tobias Oetiker wrote:
<blockquote
 cite="mid:alpine.DEB.2.00.0908091222190.26268@sebohet.brgvxre.pu"
 type="cite">
  <pre wrap="">Today Barrie wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi Tobi,

Thanks for your reply. I did look at the config.log, but I wasn't able to
identify the exact problem. My assumption is one of the header files and
libraries are missing, but I'm not sure what to do next. I am currently
looking through the MinGW32 lists to see if I can find any hints to help.

I have attached a zipped copy of  config.log. If someone has time I would
appreciate some help to learn.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Hi Barrie, from looking at config.log it seems that none of the
methods available to configure work ... most run into trouble
because the fpclass function is unknown ... what it comes down to,
is that you have to figure a way to make the following program
work:

 #include &lt;stdio.h&gt;
 int main(void){
     double rrdnan,rrdinf,rrdc,rrdzero;
     ;
     /* some math to see if we get a floating point exception */
     rrdzero=sin(0.0); /* don't let the compiler optimize us away */
     rrdnan=0.0/rrdzero; /* especially here */
     rrdinf=1.0/rrdzero; /* and here. I want to know if it can do the magic */
                 /* at run time without sig fpe */
     rrdc = rrdinf + rrdnan;
     rrdc = rrdinf / rrdnan;
     if (! isnan(rrdnan)) {printf ("not isnan(NaN) ... "); return 1;}
     if (rrdnan == rrdnan) {printf ("nan == nan ... "); return 1;}
     if (! isinf(rrdinf)) {printf ("not isinf(oo) ... "); return 1;}
     if (! isinf(-rrdinf)) {printf ("not isinf(-oo) ... "); return 1;}
     if (! rrdinf &gt; 0) {printf ("not inf &gt; 0 ... "); return 1;}
     if (! -rrdinf &lt; 0) {printf ("not -inf &lt; 0 ... "); return 1;}
     return 0;
  }

cheers
tobi



  </pre>
  <blockquote type="cite">
    <pre wrap="">
Cheers, Barrie


Tobias Oetiker wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi Barrie,
Today Barrie wrote:


      </pre>
      <blockquote type="cite">
        <pre wrap="">Hi,

I am trying to compile rrdtool-1.3.99909060808 on Windows XP with
MinGW32. I have been able to get to the point below with both v1.3.8 and
v1.3.99909060808. I have been able to compile and run v1.3.8 compiled
with Microsoft VC++ 2008, so I assume there must be a way around this
error. The MinGW32 version I am running is gcc version 3.4.5
(mingw-vista special r3).

I'm not sure what to do next. Any suggestions?

IEEE Math Checks
checking for fpclassify... no
checking for fpclassify with &lt;math.h&gt;... yes
checking for isinf... no
checking for isinf with &lt;math.h&gt;... yes
checking whether isfinite is broken... no
checking if IEEE math works out of the box... no
checking if IEEE math works with the -ieee switch... no
checking if IEEE math works with the -qfloat=nofold switch... no
checking if IEEE math works with the -w -qflttrap=enable:zerodivide... no
checking if IEEE math works with the -mieee switch... no
checking if IEEE math works with the -q float=rndsngl switch... no
checking if IEEE math works with the -OPT:IEEE_NaN_inf=ON switch... no
checking if IEEE math works with the -OPT:IEEE_comparisons=ON switch... no
checking if IEEE math works with fpsetmask(0)... no
checking if IEEE math works with signal(SIGFPE,SIG_IGN)... no
configure: error:
Your Compiler does not do propper IEEE math ... Please find out how to
make IEEE math work with your compiler and let me know (<a class="moz-txt-link-abbreviated" href="mailto:tobi@oetiker.ch">tobi@oetiker.ch</a>).
Check config.log to see what went wrong ...

        </pre>
      </blockquote>
      <pre wrap="">you should do as the error suggests ... look at config.log it will
tell you what the problem is.

cheers
tobi


      </pre>
      <blockquote type="cite">
        <pre wrap="">Thanks.

Cheers,
Barrie Hill


_______________________________________________
rrd-developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rrd-developers@lists.oetiker.ch">rrd-developers@lists.oetiker.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers</a>



        </pre>
      </blockquote>
      <pre wrap="">  ------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - <a class="moz-txt-link-abbreviated" href="http://www.avg.com">www.avg.com</a> Version: 8.5.392 / Virus Database:
270.13.48/2291 - Release Date: 08/08/09 18:17:00


      </pre>
    </blockquote>
    <pre wrap="">
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
  <pre wrap="">
<hr size="4" width="90%">

No virus found in this incoming message.
Checked by AVG - <a class="moz-txt-link-abbreviated" href="http://www.avg.com">www.avg.com</a> 
Version: 8.5.392 / Virus Database: 270.13.48/2291 - Release Date: 08/08/09 18:17:00

  </pre>
</blockquote>
<br>
</body>
</html>