#34978 closed defect (fixed)
munin-cron broken after upgrading to perl 5.12.4 (Can't locate RRDs.pm in @INC)
Reported by: | matt@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | Cc: | drkp (Dan Ports) | |
Port: | rrdtool |
Description
Hi, after upgrading perl5 from 5.12.3 to 5.12.4 I get the following when I try to run munin-cron:
Can't locate RRDs.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.12.4/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.12.4 /opt/local/lib/perl5/vendor_perl/5.12.4/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.12.4 /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level /opt/local/lib/perl5/5.12.4 /opt/local/lib/perl5/site_perl/5.12.3 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/perl5/site_perl/5.12.4/Munin/Master/Utils.pm line 22.
It looks like rrdtool installs RRDs.pm under /opt/local/lib/perl5/vendor_perl/5.12.4/darwin-multi-2level/RRDs.pm.
However after installing 5.12.4 it looks like @INC is changed to include the darwin-thread-multi-2level directory rather than darwin-multi-2level
Change History (4)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 follow-up: 3 Changed 12 years ago by drkp (Dan Ports)
Cc: | dports@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Sounds like rrdtool needs to be rebuilt to install its perl module in the new correct location. Bumped its revision in r94733.
(Please reopen if it still fails after a port selfupdate
and port upgrade outdated
; I didn't test munin very carefully.)
comment:3 Changed 12 years ago by matt@…
Replying to dports@…:
Sounds like rrdtool needs to be rebuilt to install its perl module in the new correct location. Bumped its revision in r94733.
(Please reopen if it still fails after a
port selfupdate
andport upgrade outdated
; I didn't test munin very carefully.)
Thanks, everything looks good to me after upgrading rrdtool to 1.4.7_2.
comment:4 Changed 12 years ago by jmroot (Joshua Root)
Keywords: | perl5 rrdtool munin removed |
---|---|
Port: | rrdtool added |
The same error was reported against nfsen in #34977.