Menu

Help!!!

Nell
2017-07-04
2018-05-30
  • Nell

    Nell - 2017-07-04

    Hi I am having troubles installing it. As soon as I run the Run SwitchMap.pl.
    output:
    "given is experimental at /var/www/html/switcmap/ModuleList.pm line 72"
    "when is experimental at /var/www/html/switcmap/ModuleList.pm line 73"
    "when is experimental at /var/www/html/switcmap/ModuleList.pm line 74"
    "given is experimental at /var/www/html/switcmap/ModuleList.pm line 77"
    "when is experimental at /var/www/html/switcmap/ModuleList.pm line 78"
    "when is experimental at /var/www/html/switcmap/ModuleList.pm line 79"
    "when is experimental at /var/www/html/switcmap/ModuleList.pm line 80"

    SwitchMap: couldn't open SNMP session to "IP ADDRESS", skipping this switch
    Switch Map: no switches processed, dying

    Can someone please know how can I solve it?

    Thanks
    Nell

     
    • Josh Malone

      Josh Malone - 2017-07-05

      It looks like you're running too old a version of perl. The given/when
      statement was added in 5.10. Are you perhaps still running perl 5.8?

      Please send some details about your environment and how you installed
      switchmap.

      On Tue, Jul 4, 2017 at 6:11 AM, Leonella Camilleri nell87@users.sf.net
      wrote:

      Hi I am having troubles installing it. As soon as I run the Run
      SwitchMap.pl.
      output:
      "given is experimental at /var/www/html/switcmap/ModuleList.pm line 72"
      "when is experimental at /var/www/html/switcmap/ModuleList.pm line 73"
      "when is experimental at /var/www/html/switcmap/ModuleList.pm line 74"
      "given is experimental at /var/www/html/switcmap/ModuleList.pm line 77"
      "when is experimental at /var/www/html/switcmap/ModuleList.pm line 78"
      "when is experimental at /var/www/html/switcmap/ModuleList.pm line 79"
      "when is experimental at /var/www/html/switcmap/ModuleList.pm line 80"

      SwitchMap: couldn't open SNMP session to "IP ADDRESS", skipping this
      switch
      Switch Map: no switches processed, dying

      Can someone please know how can I solve it?

      Thanks
      Nell


      Help!!!
      https://sourceforge.net/p/switchmap/discussion/378009/thread/05cf2f8a/?limit=25#f3eb


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/switchmap/discussion/378009/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • Pete Siemsen

    Pete Siemsen - 2017-07-05

    Josh is quite right. To make the warnings about "given" go away, replace the file "ModuleList.pl" with the attached version. It has the same logic without using "given".

     
  • Nell

    Nell - 2018-05-30

    Thanks both :)

     

Log in to post a comment.

MongoDB Logo MongoDB