From owner-freebsd-ports@FreeBSD.ORG Thu Jun 13 21:51:14 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3D6B56C6 for ; Thu, 13 Jun 2013 21:51:14 +0000 (UTC) (envelope-from papowell@astart.com) Received: from astart2.astart.com (99-111-96-109.uvs.sndgca.sbcglobal.net [99.111.96.109]) by mx1.freebsd.org (Postfix) with ESMTP id 17FC61636 for ; Thu, 13 Jun 2013 21:51:13 +0000 (UTC) Received: from laptop_83.private (localhost [127.0.0.1]) by astart2.astart.com (8.14.4/8.14.4) with ESMTP id r5DLnbkx020114 for ; Thu, 13 Jun 2013 14:49:37 -0700 (PDT) (envelope-from papowell@astart.com) Message-ID: <51BA3E89.6050500@astart.com> Date: Thu, 13 Jun 2013 14:50:01 -0700 From: Patrick Powell Organization: Astart Technologies User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120807 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: Broken SNMP::Info ? References: <1371157751.1641.8.camel@Nerz-PC> In-Reply-To: <1371157751.1641.8.camel@Nerz-PC> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: papowell@astart.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 21:51:14 -0000 On 06/13/13 14:09, Loïc 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, it > 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 there > 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'. -- Patrick Powell Astart Technologies papowell@astart.com 1530 Jamacha Road, Suite X, Network and System El Cajon, CA 92019 Consulting 858-874-6543 Web Site: www.astart.com FAX 858-357-9931