I had similar problems installing the RRDs.pm. Editing the "rrdtool-1.0.33/perl-shared/Makefile" that is created after running "perl Makefile.PL" I had to make the following changes
Edit Makefile change CC=gcc --------------before cc CCCDLFLAGS = -fPIC --------------before -KPIC OPTIMIZE = -xc --------------before -xo3 -xdepend LD = gcc can also be ld I think ------------------before cc Hope that helps. ----- Original Message ----- From: "Boyd, Stephen W Mr US Army Strategic and Advanced Computing Center/Acuent" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, August 14, 2001 6:53 PM Subject: [rrd-users] Compilation errors on Solaris 8 > > Help! > > Gcc 2.95.2.19991024, Solaris 8, ar, ld, perl5.00503 are all in the path > When I issue "make" from rrd base dir, it tries to compile perl-shared with > cc (which is NOWHERE in the config) > If I change that Makefile to have CC=gcc, LD=gcc, it gives > gcc -c -I../src -I../gd1.3 -xO3 -xdepend -DVERSION=\"1.000331\" > -DXS_VERSION=\"1.000331\" -I/usr/perl5/5.00503/sun4-solaris/CORE > -DPERLPATCHLEVEL=5 RRDs.c > gcc: language depend not recognized > gcc: RRDs.c: linker input file unused since linking not done > Running Mkbootstrap for RRDs () > chmod 644 RRDs.bs > LD_RUN_PATH="" ld -o blib/arch/auto/RRDs/RRDs.so -G RRDs.o -L../src/.libs/ > -lrrd_private -lm > ld: fatal: file RRDs.o: open failed: No such file or directory > *** Error code 1 > make: Fatal error: Command failed for target `blib/arch/auto/RRDs/RRDs.so' > > Ideas? > > Thanks, > -- Steve > > > -- > 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
