From owner-freebsd-ports@FreeBSD.ORG Sun Jun 16 01:06:50 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9D8C1D0F for ; Sun, 16 Jun 2013 01:06:50 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oa0-x233.google.com (mail-oa0-x233.google.com [IPv6:2607:f8b0:4003:c02::233]) by mx1.freebsd.org (Postfix) with ESMTP id 6B5361083 for ; Sun, 16 Jun 2013 01:06:50 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id i4so2148978oah.10 for ; Sat, 15 Jun 2013 18:06:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=TjrABb/YTChS/XMfah20qTJEWIpzbbJQvXeIkzIDY8I=; b=BGcygwgTI87BIJ/53NZMOIomdUq6FR0dccYmGglfe6YuBlh9qYMaMk8wH0OPMP1K9m 3ZmbD5UkbnwVGzDUqODxnZgh0W8Qk6kSNYT0VTakGlOLf/QGfhtjE9cLSoQZL/JDIb2u CS0OfIHZAbpYSzEX7IhIR/VBzUb9YuKP4JZ7vEH7n9CyKAtHdHYIlwH6H8ktXsTF4hoO wzPOnZRnurjl6MNTbr+SB0HfyCms4FXXw7NBuIINwvKCf5XlTrVs4G67Dfq1pPH/BL8h 6Yz1puFQokcJmqD9U/fmp0M9n+92l8ZuOycWl67CiNUYIfWDes21TleqCmSXydN2vJWK X14A== MIME-Version: 1.0 X-Received: by 10.182.242.45 with SMTP id wn13mr5375394obc.30.1371344809955; Sat, 15 Jun 2013 18:06:49 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.76.112.212 with HTTP; Sat, 15 Jun 2013 18:06:49 -0700 (PDT) In-Reply-To: <1371189524.1649.0.camel@Nerz-PC> References: <1371157751.1641.8.camel@Nerz-PC> <51BA3E89.6050500@astart.com> <1371189524.1649.0.camel@Nerz-PC> Date: Sat, 15 Jun 2013 18:06:49 -0700 X-Google-Sender-Auth: ewQMRIidlTqRc4FEmGT4H9W1KHU Message-ID: Subject: Re: Broken SNMP::Info ? From: Kevin Oberman To: loic.blot@unix-experience.fr Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Ports ML X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jun 2013 01:06:50 -0000 On Thu, Jun 13, 2013 at 10:58 PM, Lo=C3=AFc BLOT wrote: > Hello Patrick > as you see in my first mail, it's SNMP::Info himself which said SNMP.pm > not found > -- > Best regards, > Lo=C3=AFc BLOT, > UNIX systems, security and network expert > http://www.unix-experience.fr > > > > > Le jeudi 13 juin 2013 =C3=A0 14:50 -0700, Patrick Powell a =C3=A9crit : > > > On 06/13/13 14:09, Lo=C3=AFc BLOT wrote: > > > Hi all, > > > i have updated my netdisco today, and some perl libraries due to long > > > unupdated system (1 month). > > > I have a strange problem, i cannot resolve. When i launch netdisco, i= t > > > says: > > > > > > netdisco -d > > > You need the SNMP::Info perl module, version 3.01 or newer. > > > Please install it and try again. > > > > > > Can't locate SNMP.pm in @INC (@INC > > > contains: /usr/local/bin /usr/local/lib/perl5/5.16/BSDPAN > /usr/local/lib/perl5/site_perl/5.16/mach > /usr/local/lib/perl5/site_perl/5.16 /usr/local/lib/perl5/5.16/mach > /usr/local/lib/perl5/5.16 .) at > /usr/local/lib/perl5/site_perl/5.16/SNMP/Info.pm line 16. > > > BEGIN failed--compilation aborted > > > at /usr/local/lib/perl5/site_perl/5.16/SNMP/Info.pm line 16. > > > Compilation failed in require at (eval 12) line 2. > > > BEGIN failed--compilation aborted at (eval 12) line 2. > > > > > > (Before i was in 5.14.4 version and the problem was the same). > > > > > > I have the SNMP-Info port: > > > > > > pkg info|grep SNMP-Info > > > p5-SNMP-Info-3.01 Perl5 module for gathering information > > > from network devices > > > > > > I also tried to upgrade netdisco from recent 1.2 to 1.3, and also > > > downgrade it to 1.1 but the problem persists. I also use MRTG and the= re > > > is no problem. > > > > > > Anyone have an idea what i can check more, or how to resolve this > > > problem (google doesn't help me)? > > > > > > Thanks for advance ! > > > > > Make sure you are using 'use SNMP::Info' and not 'use SNMP'. > > > Did you recently update perl to 5.16.3? If so, did you follow the instructions in UPDATING? Those are simple, but will rebuild LOTS of ports that don't need re-building. I just do: portmaster p5- and then check for remaining files under /usr/local/lib/perl5/site_perl/5.16.2 (replace 5.16.2 with the version of perl you were previously running. Use "pkg_info -W" with the name of a file found to gethte name of the port that will need to be rebuilt. (Hint: It may well be net-snmp.) When there are only directories remaining under the old site_perl directory, you're done. But READ the UPDATING entry in any case so that you will understand the structural change made to the perl ports. --=20 R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com