Date: Wed, 30 Oct 2002 11:20:04 -0800 (PST) From: Lars Thegler <lars@thegler.dk> To: freebsd-ports@FreeBSD.org Subject: Re: ports/44405: net/p5-Net-SNMP doesn't build on 4.7-RELEASE Message-ID: <200210301920.g9UJK378092129@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/44405; it has been noted by GNATS. From: Lars Thegler <lars@thegler.dk> To: "Patrick M. Hausen" <hausen@punkt.de> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210301920.g9UJK378092129>