<div dir="ltr">I tried to install rrdtool 1.2.28, after reading that&nbsp; s<a href="https://lists.oetiker.ch/pipermail/rrd-announce/2008-July/000111.html" target="_blank">un studio 11bugs are fixed on this version</a> and am still getting these errors:<br>

<br>Using /usr/ucb/cc<br><b>/usr/ucb/cc:&nbsp; language optional software package not installed<br>*** Error code 1<br>make: Fatal error: Command failed for target `RRDs.o&#39;<br><br></b>using /usr/local/bin/gcc<div class="Ih2E3d">
<br><br>cc: unrecognized option `-KPIC&#39;<br>
cc: language ildoff not recognized<br></div>cc: RRDs.c: linker input file unused because linking not done<br>Running Mkbootstrap for RRDs ()<br>chmod 644 RRDs.bs<br>rm -f blib/arch/auto/RRDs/RRDs.so<br>LD_RUN_PATH=&quot;/usr/lib&quot; cc&nbsp; -G RRDs.o -L../../src/.libs/ -R/usr/local/rrdtool-1.2.28/<div dir="ltr">
lib -lrrd&nbsp; -o blib/arch/auto/RRDs/RRDs.so&nbsp;&nbsp; -lm -lz<br>
cc: RRDs.o: No such file or directory<br>*** Error code 1<br><br><br>what should I be doing..?<br><div><br></div><div>Thanks,</div><div>Anjini</div></div><br><br><div class="gmail_quote">On Thu, Sep 4, 2008 at 5:14 PM, anjini shukla <span dir="ltr">&lt;<a href="mailto:anjinishukla@gmail.com">anjinishukla@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hello all,<br>I am trying to install rrd from the tar ball, when i run the command make:<br>
<br>Checking if your kit is complete...<br>Looks good<br>Writing Makefile for RRDs<br>cd perl-shared &amp;&amp; make<br>
cp RRDs.pm blib/lib/RRDs.pm<br>cp ntmake.pl blib/lib/ntmake.pl<br>/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp&nbsp; -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap&nbsp; RRDs.xs &gt; RRDs.xsc &amp;&amp; mv RRDs.xsc RRDs.c <br>cc -c&nbsp; -I../../src&nbsp; -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff&nbsp;&nbsp;&nbsp; -DVERSION=\&quot;1.2019\&quot;&nbsp; -DXS_VERSION=\&quot;1.2019\&quot; -KPIC &quot;-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE&quot;&nbsp; -DPERLPATCHLEVEL=8 RRDs.c<br>

<b>cc: unrecognized option `-KPIC&#39;</b><br>cc: language ildoff not recognized<br><br><br>I tried the following things, <br>ln -s /usr/local/bin/gcc /usr/ucb/cc<br><br>CC=gcc<br>export CC<br><br>vi Makefile: LDFLAGS = gcc<br>

<br>is there any quick fix for this..? <br><br>Thanks,<br>Anjini<br><br><br><div class="gmail_quote">On Thu, Sep 4, 2008 at 4:29 PM, Steve Shipway <span dir="ltr">&lt;<a href="mailto:s.shipway@auckland.ac.nz" target="_blank">s.shipway@auckland.ac.nz</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">








<div link="blue" vlink="blue" lang="EN-GB">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">This error message is telling you that
MRTG is not able to find the RRDs.so part (the loadable object module) of the RRDs.pm
module.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I&#39;ve just examined the rrdtool
package as distributed by sunfreeware, and it contains:</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">1 d none rrdtool-1.2.19/lib/perl 0755 bin
bin</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">1 d none rrdtool-1.2.19/lib/perl/5.8.7
0755 bin bin</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">1 f none
rrdtool-1.2.19/lib/perl/5.8.7/RRDp.pm 0444 bin bin 5045 15643 1174804915</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">1 d none
rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris 0755 bin bin</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">1 f none
rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/RRDs.pm 0444 bin bin 3847 59052
1174804915</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">1 d none
rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/auto 0755 bin bin</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">1 d none
rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/auto/RRDp 0755 bin bin</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">1 f none
rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/auto/RRDp/.packlist 0644 bin bin 97
7916 1174804915</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">1 f none
rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/ntmake.pl 0444 bin bin 121530114
1174804915</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">1 f none
rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/perllocal.pod 0644 bin bin 684 48533
1174804915</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">This shows it is MISSING the rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/auto/RRDs
directory and contents!&nbsp; In other words, the package as distributed by
sunfreeware is incorrect and not created right.&nbsp; It has the perl library
RRDs.pm but not the object module it depends on. &nbsp;In other words, its
useless if you want to use the RRDs perl library, although the rrdtool
executable will be just fine.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Sadly, in this case, the only course of
action is to compile it yourself from source code, and install.&nbsp; If I get
the chance I might be able to try and create the missing file rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/auto/RRDs/RRDs.so
(and RRDs.bs) on our system and make it available, but its awkward because it
requires compilation with exactly the same parameters to be compatible.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I&#39;ve never actually installed this
package under solaris10 so I hadn&#39;t spotted the error in it before.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p><font color="#888888">

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Steve</span></font></p></font><div>

<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">

<div>

<div>

<div link="blue" vlink="blue">

<div>

<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">

<div>

<div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">I added these lines to my mrtg.cfg<br>
<br>
<b><span style="font-weight: bold;">PathAdd: /usr/local/rrdtool-1.2.19/bin<br>
LibAdd: /usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/<br>
LogFormat: rrdtool</span></b><br>
<br>
and got the error::<br>
Can&#39;t locate loadable object for module RRDs in @INC (@INC contains: /usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/
/usr/local/mrtg-2/bin/../lib/mrtg2 /usr/local/mrtg-2/bin
/usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib
/usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4
/usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
/usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at
/usr/local/mrtg-2/bin/mrtg line 342<br>
Compilation failed in require at /usr/local/mrtg-2/bin/mrtg line 342<br>
<br>
<br>
</span></font></p>

</div>

</div>

</div>

</div>

</div>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

</div>

</div>

</div></div>

</div>


</blockquote></div><br></div>
</blockquote></div><br></div>