-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


- --On March 6, 2007 10:56:00 +0200 Adrian Popa <[EMAIL PROTECTED]> 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.

If you have properly run configure and compiled nfdump, nftrack does compile
fine as well. If you see errors concerning fts* calls, you will see the same 
ones
while compiling nfdump, as it's the same source. So I expect you have some
inconsistency in your compiled nfdump/nftrack pair.

It seems as you have run configure on a system not having the fts library calls.

| 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... :(

You need to send your mails with the same address as you are subscribed, 
otherwise you are blocked.
But obviously it worked.

    - Peter

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



- --
_______ SWITCH - The Swiss Education and Research Network ______
Peter Haag,  Security Engineer,  Member of SWITCH CERT
PGP fingerprint: D9 31 D5 83 03 95 68 BA  FB 84 CA 94 AB FC 5D D7
SWITCH,  Limmatquai 138,  CH-8001 Zurich,  Switzerland
E-mail: [EMAIL PROTECTED] Web: http://www.switch.ch/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iQCVAwUBRe0wqv5AbZRALNr/AQJMSQQAmBUmUbz9jmQasybs9vbG8t3X0lpJb/rO
beMIfk7eNWtdaVDxdU1FYj0rjdQFLzkao/TSPN9kjCDCfO4ohXL1L8Ak3bsCSEgk
rotrfK2HfJJDCkyKMIlBLJbvcJ9YpXYBJyD1xmRzuuyATdly/6FNXwL6X+KFfvJW
jeh4uDjVfE8=
=6GW7
-----END PGP SIGNATURE-----


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