<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Palatino Linotype";
        panose-1:2 4 5 2 5 5 5 3 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Palatino Linotype","serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-ZA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'>Good morning,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'>I’m trying to compile RRDTool 1.6.0 and RRDs.pm for Windows against currently available community editions of 32 bit ActiveState Perl such as 5.20 and 5.22. Being a novice at this I had a slow start while installing the necessary SDK and Visual Studio. I believe I am on the correct path but I’m finding more challenges than answers right now. I wonder if anyone who has succeeded at this or knows perl more intimately can shed any light on what I am doing wrong:<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'>Following the instructions in /win32 when I get to step 5 I execute “nmake -f win32\Makefile.msc” but receive the error “don't know how to make './win32/librrd-4.def'”. I haven’t even an inkling where to start troubleshooting this.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'>Assuming that the RRDs.pm is created by making the files in bindings/perl-shared/ I’ve attempted this as well. Starting with changes to the paths in makefile.pl I then execute <o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>perl Makefile.PL MAKE=nmake<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'>This generates some “mostly harmless” warnings such for 21 libraries such as <o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>Warning (mostly harmless): No library found for -lmoldname<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>Warning (mostly harmless): No library found for -lkernel32<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>Warning (mostly harmless): No library found for -luser32<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>Warning (mostly harmless): No library found for -lgdi32<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'>Since I can find nothing helpful to me about where I can get these libraries I’m assuming the “mostly harmless” message is true and try to nmake.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'>(Incidentally, the README in the perl-shared folder has the 4<sup>th</sup> prerequisite as “- Make the project rrdlib.vcproj in Release mode to create rrdlib.lib” but I cannot find this vcproj file nor do I think this would affect the next error.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'>This leads to the following error:<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>         -c  -I../../src -I../../win32 "-Ierl_core_dir" -I"c_dir/include" -I"dk_dir/Include"  -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -O2 -MD    -DVERSION=\"1.5001\"  -DXS_VERSION=\"1.5001\"  "-IC:\Perl\lib\CORE"  -DPERLPATCHLEVEL=20 -D_CRT_SECURE_NO_WARNINGS -DWIN32 RRDs.c<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>'-c' is not recognized as an internal or external command,<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>operable program or batch file.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>NMAKE : fatal error U1077: '-c' : return code '0x1'<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>Stop.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'>There is no command preceding the switches! Checking the makefile it seems the command is supposed to be in the CC constant which is null:<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'># --- MakeMaker const_config section:<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'># These definitions are from config.sh (via C:/Perl/lib/Config.pm).<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'># They may have been overridden via Makefile.PL or on the command line.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>AR = lib<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>CC = <o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>CCCDLFLAGS =  <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'>If I manually edit the makefile and indicate cc = perl.exe  then I receive messages about invalid switches, for example –O2 is not a valid perl command line switch, nor –fwrapv or any of those beginning with –D.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'>Clearly, something is going horribly wrong or I’ve completely misunderstood what I am supposed to do. <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'>Looking forward to your input.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'>Best wishes,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'>Colin<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Palatino Linotype","serif"'><o:p> </o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>