From owner-freebsd-ports Wed Oct 30 11:20: 9 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9D7937B401 for ; Wed, 30 Oct 2002 11:20:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 855D143E3B for ; Wed, 30 Oct 2002 11:20:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9UJK4x3092130 for ; Wed, 30 Oct 2002 11:20:04 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9UJK378092129; Wed, 30 Oct 2002 11:20:04 -0800 (PST) Date: Wed, 30 Oct 2002 11:20:04 -0800 (PST) Message-Id: <200210301920.g9UJK378092129@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Lars Thegler Subject: Re: ports/44405: net/p5-Net-SNMP doesn't build on 4.7-RELEASE Reply-To: Lars Thegler Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/44405; it has been noted by GNATS. From: Lars Thegler To: "Patrick M. Hausen" Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/44405: net/p5-Net-SNMP doesn't build on 4.7-RELEASE Date: Wed, 30 Oct 2002 20:16:45 +0100 Patrick M. Hausen wrote: >>> New problem with this solution: all ports dependent on Net::SNMP >>> (e.g. net/nagios) check for presence of Net::SNMP in >>> /usr/lib/perl5 instead of /usr/local/lib/perl5. >> >> I cannot find any hint that net/nagios should depend on >> net/p5-Net-SNMP. Not in the ports Makefile, neither in the nagios >> sources. Please, could you clarify? > > Sorry, try > > /usr/ports/net/nagios-plugins Ah! Right. It was hidden in net/nagios-plugins/scripts/configure, which explains why I didn't find it in the first place. Anyway, this port seems to *_DEPEND on the correct file as well: --cut-- echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/perl5/site_perl/\${PERL_VER}/Net/SNMP.pm:\${PORTSDIR}/net/p5-Net-SNMP" echo "RUN_DEPENDS+= \${LOCALBASE}/lib/perl5/site_perl/\${PERL_VER}/Net/SNMP.pm:\${PORTSDIR}/net/p5-Net-SNMP" --cut-- So I still don't understand the issue? Installing on a perl 5.6.1 system, I get the expected behaviour: --cut-- ===> nagios-plugins-1.3.b1 depends on file: /usr/local/lib/perl5/site_perl/5.6.1/Net/SNMP.pm - found --cut-- What problems did you have installing net/nagios-plugins? Did you override the default LOCALBASE? > Patrick /Lars To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message