Hi,

I am trying to compile the stable (2.0) version of ntop.
I got the following compilation error:

   `data_data' undeclared
   (followed by a large amount of other errors)

After searching for a previous answer, I found that this is
caused by ntop looking for both libgdbm.a and gdbm.h in the
gdbm root. After creating an artificial gdbm root in /tmp,
I got ntop compiled.

Now I am wondering, why does ntop use gdbm in such a strange
way? A normal gdbm installation does not install it like this
(but rather install the library under lib/ and the include
file under include/); one would have to create an artificial
gdbm root with two symlinks only for the purpose of compiling
ntop. ntop's configure script does mention that the gdm root
is supposed to be the gdbm source tree, but it only need
libgdbm.a and gdbm.h. And ntop does seem to ignore the files
in /usr/local/include and /usr/local/lib, even though CFLAGS
and LDFLAGS reference these local directories.

Best regards,

-- 
Ambrose Li  <[EMAIL PROTECTED]>
http://trends.ca/~acli/  http://www.cccgt.org/

DRM is theft - We are the stakeholders
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to