[mrtg] Can't locate RRDs.pm in @INC
Peter Lalor
plalor at infoasis.com
Thu Mar 30 20:31:02 MEST 2000
Hi all,
Under the heading "stupid Unix questions"...
I'm in the process of migrating MRTG from a slow and flaky Linux box
to a Mac OS X Server (BSD/Mach) box, and simultaneously migrating to rrd.
I've successfully (I hope) converted all my logs to .rrd, but I'm
having some trouble getting rrdtool to go.
When I make rrdtool, I get:
...
LD_RUN_PATH="" cc -o blib/arch/auto/RRDs/RRDs.bundle -arch i386
-arch ppc -bun
dle -undefined suppress RRDs.o ../src/.libs/librrd_private.a -lm
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning /lib/bundle1.o cputype (18, architecture ppc)
does not matc
h cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/bin/ld: warning ../src/.libs/librrd_private.a archive's cputype
(18, archit
ecture ppc) does not match cputype (7) for specified -arch flag: i386
(can't loa
d from it)
/usr/bin/ld: can't locate file for: -lm
make[2]: *** [blib/arch/auto/RRDs/RRDs.bundle] Error 1
make[1]: *** [perl_shared] Error 2
make: *** [all-recursive] Error 1
...and I'm not sure if this is meaningful or not, as I do have
/usr/local/rrdtool-1.0.13. But when I run MRTG, I get:
[osxs1:Applications/mrtg-2.8.12/run] root# ./mrtg mrtg-nojan.cfg
Can't locate RRDs.pm in @INC (@INC contains: ./
/System/Library/Perl/rhapsody /S
ystem/Library/Perl /Local/Library/Perl/rhapsody /Local/Library/Perl
/Network/Lib
rary/Perl/rhapsody /Network/Library/Perl .) at ./mrtg line 984.
MRTG doesn't appear to look in /usr/local/rrdtool-1.0.13 for rrdtool,
but I'm unsure how best to fix that. Also, RRDs.pm only exists on my
system in the rrdtool source directory, so it may not have installed
properly.
Any pointers would be greatly appreciated. Please CC me; I get the digest.
Thanks
--
Peter Lalor Infoasis
plalor at infoasis.com http://www.infoasis.com/
"Where's my burrito?" -- Homer
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg
mailing list