[Bug 219025] Review Request: ntop - A network traffic probe similar to the UNIX top command

bugzilla at redhat.com bugzilla at redhat.com
Sat Mar 3 16:43:18 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: ntop - A network traffic probe similar to the UNIX top command
Alias: ntop

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219025





------- Additional Comments From pertusus at free.fr  2007-03-03 11:43 EST -------
(In reply to comment #70)
> (In reply to comment #68)
> > Database support not compiled into ntop
> > That's strange. Maybe a configure flag missing?
> 
> I thought it picked it up with configure, but I have to give it --enable-mysql,
> so I'll add that.

It won't be that simple. In fact upon reading configure.in, I have found 
that:

* --enable/disable-mysql setting is ignored.

* mysql support isn't compiled in because mysql.h isn't found. And 
  it isn't found for 2 reasons. First it isn't searched for because
  if the mysql lib is found mysql support isn't used.
  The second reason is that it uses INCS to store the include flags 
  but this variable isn't used when compiling autoconf tests. it 
  should be CPPFLAGS instead.

* instead of mysql_config --cflags, mysql_config --include should be used.

I'll attach a patch that solves all those issues.

I also have remarked another things that is very broken: for
snmp net-snmp-config --cflags gives a lot of junk, although 
nothing at all is needed on fedora. For that I suggest just 
patching the configure.

> I'm not having these errors on my system.  Are you sure ntop is running as
> "ntop" and not another id?

It is what is said in the log. And I start it with the init
script. It only happens when I click on the interface.


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the Fedora-package-review mailing list