Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 20:11:27 -0700 (MST)
From:      Paul Andrews <andrews@powersurfr.com>
To:        dirk@freebsd.org
Cc:        ports@freebsd.org
Subject:   SNMP and mod_php4
Message-ID:  <Pine.BSO.4.21.0101231957540.1983-100000@fearless.leader.extorted.ca>

next in thread | raw e-mail | index | archive | help
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.

Thanks in advance for any information you can enlighten me with.

Paul Andrews 



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?Pine.BSO.4.21.0101231957540.1983-100000>