From owner-freebsd-ports Wed Jan 24 16:38:23 2001 Delivered-To: freebsd-ports@freebsd.org Received: from emmi.physik.TU-Berlin.DE (emmi.physik.TU-Berlin.DE [130.149.160.103]) by hub.freebsd.org (Postfix) with ESMTP id 9721E37B401 for ; Wed, 24 Jan 2001 16:38:01 -0800 (PST) Received: (from ibex@localhost) by emmi.physik.TU-Berlin.DE (8.11.1/8.11.1) id f0P0bam25319; Thu, 25 Jan 2001 01:37:36 +0100 (CET) (envelope-from ibex) Date: Thu, 25 Jan 2001 01:37:35 +0100 From: Dirk Froemberg To: Yarema Cc: Paul Andrews , ports@freebsd.org Subject: Re: SNMP and mod_php4 Message-ID: <20010125013735.C25048@physik.TU-Berlin.DE> References: <3A6F4F74.53F5B1B4@dppl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A6F4F74.53F5B1B4@dppl.com>; from yds@dppl.com on Wed, Jan 24, 2001 at 04:56:04PM -0500 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! On Wed, Jan 24, 2001 at 04:56:04PM -0500, Yarema wrote: > Paul Andrews wrote: > > > > First off I would like to say the support here for the freebsd ports has > > been great. I am trying to build mod_php4 with SNMP support. However when > > it comes to compiling the dependency for SNMP the following is displayed: > > > > SNMP is DISABLED for now. Ignoring. > > > > When I look at the configure.php script I find that under the SNMP section > > there are two options > > > > \"SNMP\") > > echo "SNMP is DISABLED for now. Ignoring." >/dev/stderr > > ;; > > \"nothing\") > > echo "LIB_DEPENDS+= snmp.4:\${PORTSDIR}/net/ucd-snmp" > > echo "CONFIGURE_ARGS+=--with-snmp=\${PREFIX} --enable-ucd-snmp-hack" > > ;; > > > > The main question is why is SNMP support disabled and secondly if I > > replace nothing with SNMP and build the port it fails because ucd-snmp no > > longer exists in the ports tree, should it not be net-snmp. > > > > Finally what is the enable-ucd-snmp-hack actually do.. When I went to > > php.net and searched for snmp it said to make sure to uncomment the > > NO_ZEROLENGTH_COMMUNITY from the config.h file. I noticed that when I > > compile net-snmp that this was not uncommented. Does the > > enable-ucd-snmp-hack solve this issue, or would it be better to compile > > net-snmp with the NO_ZEROLENGTH_COMMUNITY string uncommented. > > I don't actually use SNMP with mod_php4 but I've been building php4 with > SNMP support fo a while on a veriety of machines by simply deleting the > following lines: > > echo "SNMP is DISABLED for now. Ignoring." >/dev/stderr > ;; > \"nothing\") > > I see no reason why it should be disabled other than a long time ago > SNMP was broken. I wasn't aware of the NO_ZEROLENGTH_COMMUNITY issue. > I believe enable-ucd-snmp-hack also only applies to very old versions of > ucd-snmp and php. > > If nobody else is doing it I can send-pr a fix for the above issue as > well as enabling support for pdflib3 which works fine. No need to send a PR. I'll look at this issue. Regards Dirk -- Dirk Froemberg FreeBSD: The Power to Serve! http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message