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
[EMAIL PROTECTED]
-----Ursprüngliche Nachricht-----
Von: PER-LIM-Ballester, Luis [mailto:[EMAIL PROTECTED]
Gesendet am: Dienstag, 4. Dezember 2001 01:19
An: [email protected]
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
[EMAIL PROTECTED]
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi