[MacPorts] #25583: munin-1.4.4 munin-update should use macports perl instead of system perl.

MacPorts noreply at macports.org
Tue Oct 26 12:47:54 PDT 2010


#25583: munin-1.4.4 munin-update should use macports perl instead of system perl.
------------------------------+---------------------------------------------
 Reporter:  wlynch@…          |       Owner:  alpha@…           
     Type:  defect            |      Status:  new               
 Priority:  Normal            |   Milestone:                    
Component:  ports             |     Version:  1.9.1             
 Keywords:                    |        Port:  munin             
------------------------------+---------------------------------------------

Comment(by billmoritz@…):

 Replying to [comment:7 btihen@…]:
 > munin-run also seems to have this problem - I was getting complaints
 that perl modules were not installed.
 >
 > #  #!/usr/bin/perl -wT
 >
 > so I changed to (taking the lead from the note in this posting)
 >
 > #!/opt/local/bin/perl -wT
 >
 > However, even after I change the perl path to the ports path I still get
 the error:
 >
 > $ munin-run load
 > Could not open plugin configuration directory: No such file or directory
 at /opt/local/lib/perl5/site_perl/5.8.9/Munin/Node/Service.pm line 81
 >
 >     if ($config->{sconffile}) {
 >         # only used by munin-run
 >         $config->parse_plugin_config_file($config->{sconffile});
 >     }
 >     else {
 >         $config->process_plugin_configuration_files();  # line 81
 >     }
 >     $config->apply_wildcards(@plugins);
 >
 > Can you advise me what to try next?

 mkdir /opt/local/etc/munin/plugin-conf.d

 sudo -s

 munin-node-configure --suggest --shell | sh

-- 
Ticket URL: <https://trac.macports.org/ticket/25583#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list