<div dir="ltr">Hello Steve,<br><br>Yes, I did this to begin with: <br>I added these lines to my mrtg.cfg<br><br><b>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</b><br><br>and got the error::<br>Can'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>i have read a <a href="http://www.mail-archive.com/rrd-users@lists.oetiker.ch/msg13513.html">thread</a> on this issue, but the solution of copying all RRDs. RRDp ...... is not convincing to me. <br>
<br>I tried to reinstall rrd from a tar ball, but make gives me an error:<br><b>/usr/ucb/cc: language optional software package not installed<br>*** Error code 1</b><br><br>which gcc: /usr/local/bin/gcc<br>which cc: /usr/ucb/cc<br>
echo $PATH: /bin:/usr/bin:/usr/sbin:/etc:/usr/ccs/bin:/usr/local/bin:/usr/ucb<br><br>I have all the library packages installed, and just want to get this thing working..:|<br><br><br>Thanks,<br>Anjini<br><br><br><div class="gmail_quote">
On Thu, Sep 4, 2008 at 2:40 PM, Steve Shipway <span dir="ltr"><<a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a>></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;">You should download and install the
following packages from <a href="http://sunfreeware.com" target="_blank">sunfreeware.com</a> :</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">rrdtool-1.2.19</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">libart_lgpl</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">zlib</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">libpng</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">freetype</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">libgcc-3.4.6 OR gcc-3.4.6 (if not already
installed)</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">This gives you the RRDtool binary and
libraries, but the Perl library which you require for MRTG is in the
application path, not the site_perl path. Therefore, you will need to use
</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">LibAdd: /usr/local/rrdtool-1.2.19/lib/perl/5.8.7</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">LibAdd: /usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">in your MRTG configuration files to specify
how to access it (and in the routers2.conf , if you use routers2 as your
frontend). This is the default install location from the sunfreeware
package; if you have changed it then change the directive appropriately.</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Steve</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<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 style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">
<hr align="center" size="2" width="100%">
</span></font></div>
</div>
<div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">
<a href="mailto:mrtg-bounces@lists.oetiker.ch" target="_blank">mrtg-bounces@lists.oetiker.ch</a> [mailto:<a href="mailto:mrtg-bounces@lists.oetiker.ch" target="_blank">mrtg-bounces@lists.oetiker.ch</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>anjini shukla<br>
<br>
<b><span style="font-weight: bold;"></span></b></span></font></p><div class="Ih2E3d">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">I am trying to install rrd tool on my Solaris 10 machine.<br>
I tried installing from the sunfreeware website, installation goes fine and i
was able to use commands like create, update and get a speed.png<br>
I try to integrate my working MRTG with RRD, but I am not able to execute the
command: ppm install rrds.ppd <br>
because there is no rrds.ppd <br>
<br>
</span></font></p>
</div></div>
</div>
</div>
</div>
</blockquote></div><br></div>