[rrd-users] AW: MRTG and RRDTOOL
Braendle at medianet.freinet.de
Braendle at medianet.freinet.de
Tue Dec 4 09:14:23 MET 2001
Hi there,
I've had the same Problem on Solaris 8 and found 2 solutions:
1. A global one for all stuff which uses Makefile.PL
goto:
/usr/perl5/5.00503/sun4-solaris#
vi Config.pm
change the following lines:
cc='gcc'
cccdlflags='-fPIC'
ld='gcc'
optimize='-xc' (before -xo3 -xdepend)
############################################################################
#
2. A Solution only working with the actual Makefile.PL from rrdtool:
first the normal stuff:
tar -xvf rrdtool-1.0.33.tar
cd rrdtool-1.0.33
./configure
####################
# Here comes the funny stuff !!!!
####################
cd /YOURPATHTORRD/rrdtool-1.0.33/perl-shared
vi Makefile
change the following entries:
CC = gcc (before cc)
CCCDLFLAGS = -fPIC (before -KPIC)
OPTIMIZE = -xc (before -xo3 -xdepend)
LD = gcc (before cc)
#######
make
make install
!!!! Don't forget the following!!!!
!!!! if not you may get problems with the RRDs.pm PATH in @INC in Perl
make site-perl-install
Hope this helps....
--
Juergen Braendle
jb at macbest.de
-----Ursprüngliche Nachricht-----
Von: PER-LIM-Ballester, Luis [mailto:lballester at IMPSAT.COM.PE]
Gesendet am: Dienstag, 4. Dezember 2001 01:19
An: rrd-users at list.ee.ethz.ch
Betreff: [rrd-users] MRTG and RRDTOOL
Hi everyone,
I have a problem installing Mrtg with RRDtool. I am running it on a SPARC
SUN SOLARIS 8. When I compile Rrdtool it has problems installing the perl
modules. An error message appears regarding the cc compiler. Can anyone help
me?
Luis Eduardo Ballester
Impsat Perú S.A.
Tel/Fax. 51-1-3175900 ext 5781
lballester at impsat.com.pe
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list