[rrd-developers] rrdtool-1.3.99909060808 configure error

Barrie barrie0482 at gmail.com
Sun Aug 9 12:46:51 CEST 2009


Hi Tobi,

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.

I'll let let you know of the progess.

Thanks.

Cheers, Barrie

Tobias Oetiker wrote:
> Today Barrie wrote:
>
>   
>> 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.
>>     
>
> 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 <stdio.h>
>  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 > 0) {printf ("not inf > 0 ... "); return 1;}
>      if (! -rrdinf < 0) {printf ("not -inf < 0 ... "); return 1;}
>      return 0;
>   }
>
> cheers
> tobi
>
>
>
>   
>> Cheers, Barrie
>>
>>
>> Tobias Oetiker wrote:
>>     
>>> Hi Barrie,
>>> Today Barrie wrote:
>>>
>>>
>>>       
>>>> 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 <math.h>... yes
>>>> checking for isinf... no
>>>> checking for isinf with <math.h>... 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 (tobi at oetiker.ch).
>>>> Check config.log to see what went wrong ...
>>>>
>>>>         
>>> you should do as the error suggests ... look at config.log it will
>>> tell you what the problem is.
>>>
>>> cheers
>>> tobi
>>>
>>>
>>>       
>>>> Thanks.
>>>>
>>>> Cheers,
>>>> Barrie Hill
>>>>
>>>>
>>>> _______________________________________________
>>>> rrd-developers mailing list
>>>> rrd-developers at lists.oetiker.ch
>>>> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
>>>>
>>>>
>>>>
>>>>         
>>>   ------------------------------------------------------------------------
>>>
>>>
>>> No virus found in this incoming message.
>>> Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database:
>>> 270.13.48/2291 - Release Date: 08/08/09 18:17:00
>>>
>>>
>>>       
>>     
>
>   
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.392 / Virus Database: 270.13.48/2291 - Release Date: 08/08/09 18:17:00
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20090809/f59ed7ac/attachment-0001.html 


More information about the rrd-developers mailing list