Hello everybody,

I've managed to install the PortTracker plugin for snapshot-20070208 (I 
used nfdump-snapshot-20070208 to compile the sources).
When compiling PortTracker, it was complaining about unknown functions 
(fts_open_compat and others), so I removed them from flist.c. 
PortTracker compiled, and now it seems to be working (rrds are updated 
regularly).


I had to fiddle a little with flist.c from nfdump sources to trick it 
into compiling. Here's what I modified:

In flist.c I deleted these lines:
original:
#ifdef HAVE_FTS_H
#       include <fts.h>
#else
#       include "fts_compat.h"
#define fts_children fts_children_compat
#define fts_close fts_close_compat
#define fts_open  fts_open_compat
#define fts_read  fts_read_compat
#define fts_set   fts_set_compat
#endif

and added this line instead:
modified:
#include <fts.h>

Also, after an hour and 1/2 of debugging, I added the patch shown on the 
site against PortTracker.pm. (I wasn't getting any pictures in the 
frontend interface).

Now it seems to be working fine. :)

Hope it helps.

PS. For unknown reasons, I'm not getting any mails from the list. I have 
to check via source-forge's web interface... :(

-- 
Adrian Popa




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to