Thank you for your reply, Peter...

It's strange, since nfdump compiled without warnings with the original 
flist.c file, but porttracker didn't compile cleanly. Anyway, it seems 
to work now - probably there's something screwey going on in my system... :)

As for the mail... well, I can send mails from my mail address, but I 
can't receive any (I'm not 100% sure they're not blocked by my company's 
antispam policy, but I will investigate). Or plan B is to sign up with a 
different email addres...

Thanks.

Adrian Popa wrote:
> 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

Junior Network Engineer
Romtelecom S.A.
Divizia Centrul National de Operare Retea
Departament Transport IP & Metro
Compartiment IP Core



-------------------------------------------------------------------------
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