ntop does not compile on 7.0-RC2

Wesley Shields wxs at FreeBSD.org
Sun Mar 2 01:46:21 UTC 2008

On Mon, Feb 18, 2008 at 04:47:29PM +0100, Helmut Schneider wrote:
> Wesley Shields <wxs at FreeBSD.org> wrote:
>> On Mon, Feb 18, 2008 at 08:02:13AM -0700, James wrote:
>>> Sounds like an entirely reasonable course of action. The maintainers'
>>> email addresses ought to be in the Makefile for each port. 
>> That would be me.  :)
>>> I imagine it's the ntop person you want to report to. If other ports
>>> install fine, then net-snmp is also (probably) installing as it should
>>> and the ntop Makefile just needs to be tweaked.
>> I'll look into this, but any relevant information should be submitted as
>> a PR so there is a more permanent record of it.  I'll go about getting
>> it fixed as time permits.
> done. For more information don't hesitate to contact me.

Here's a patch to disable SNMP support in ntop.  The default should be
off according to what I read, but that appears not to be the case.  This
allowed me to build ntop when net-mgmt/net-snmp is installed on 7.0.  I
was unable to reproduce this on a 6.2 machine.

I'm putting this through a quick tinderbox run since it should be a NOP
there (net-mgmt/net-snmp isn't installed when building it).  I'll see
about getting this into the tree early next week.

-- WXS

Index: Makefile
RCS file: /home/ncvs/ports/net/ntop/Makefile,v
retrieving revision 1.65
diff -u -u -r1.65 Makefile
--- Makefile	4 Feb 2008 15:35:09 -0000	1.65
+++ Makefile	2 Mar 2008 01:44:17 -0000
@@ -7,7 +7,7 @@
@@ -38,7 +38,8 @@
 		--with-gdbm-root=${LOCALBASE} \
 		--with-gd-root=${LOCALBASE} \
 		--with-libpng-root=${LOCALBASE} \
-		--with-zlib-root=/usr
+		--with-zlib-root=/usr \
+		--disable-snmp
 # we currently disable IPv6

More information about the freebsd-ports mailing list