[mrtg] Re: Can't locate RRDs.pm in @INC
Peter Lalor
plalor at infoasis.com
Thu Mar 30 22:03:58 MEST 2000
>On 30-Mar-2000 Peter Lalor wrote:
>
>> ...
>> 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 match cputype (7) for specified -arch flag: i386 (file not
>> loaded)
>> /usr/bin/ld: warning ../src/.libs/librrd_private.a archive's cputype
>> (18, architecture ppc) does not match cputype (7) for specified
>> -arch flag: i386 (can't load from it)
>
>Ummm... I hate to point this out to you: MacOS X runs on PowerPC chips
>only so far. All those nasty i386 references, well, that kinda points
>out the fact it's trying to compile for Intel... get rid of it; it
>won't work!
The confusing thing is that it compiled without complaint on an
MkLinux box--also PowerPC.
Those i386 messages appear to only be in perl-shared; otherwise, I
_think_ it's compiling fine.
> > ...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:
><snip>
> > 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.
>
>Bung it (if RRDTool got compiled correctly in the end) into the same
>directory MRTG is in. That way MRTG knows where it is.
Not to belabor the point (he says, belaboring the point), but what is
"it"? I've copied /usr/local/rrdtool-1.0.13/bin/* and
/usr/local/rrdtool-1.0.13/lib/* to MRTG's run dir, but I still 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.
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