Date: Thu, 25 Jan 2001 01:37:35 +0100 From: Dirk Froemberg <dirk@freebsd.org> To: Yarema <yds@dppl.com> Cc: Paul Andrews <andrews@powersurfr.com>, ports@freebsd.org Subject: Re: SNMP and mod_php4 Message-ID: <20010125013735.C25048@physik.TU-Berlin.DE> In-Reply-To: <3A6F4F74.53F5B1B4@dppl.com>; from yds@dppl.com on Wed, Jan 24, 2001 at 04:56:04PM -0500 References: <Pine.BSO.4.21.0101231957540.1983-100000@fearless.leader.extorted.ca> <3A6F4F74.53F5B1B4@dppl.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010125013735.C25048>