Sounds like the images were not copied.  Look in .../html/statsicons.  Those
are not related to gdchart - that's what produces the pie charts, etc.  If
the install fails, those last few copies may not have been done - often due
to a missing man directory - check the list archive for Guillaume's frequent
posts on this.

GDchart may be a "common" package, but the install is setup to create static
libraries for them.  Did you follow - EXACTLY - the instructions in
docs/BUILD-NTOP.txt?  That first builds the libraries and then compiles
Ntop.  Otherwise, you probably need to patch configure.in to point where
they are installed on YOUR system.

I personally use this patch:

--- ntop/configure.in~  Thu Dec 27 11:40:55 2001
+++ ntop/configure.in   Fri Dec 28 07:53:54 2001
@@ -876,12 +876,12 @@
   if test ".${GDCHART_ROOT}" != .; then
     if test -d $GDCHART_ROOT &&
-       test -r $GDCHART_ROOT/libgdchart.a &&
-       test -r $GDCHART_ROOT/gdc.h &&
-       test -r $GDCHART_ROOT/gd-1.8.3/libgd.a &&
-       test -r $GDCHART_ROOT/gd-1.8.3/gd.h &&
-       test -r $GDCHART_ROOT/zlib-1.1.3/libz.a; then
+       test -r $GDCHART_ROOT/lib/libgdchart.a &&
+       test -r $GDCHART_ROOT/include/gdc.h &&
+       test -r $GDCHART_ROOT/lib/libgd.a &&
+       test -r $GDCHART_ROOT/include/gd.h &&
+       test -r $GDCHART_ROOT/lib/libz.so; then
          GDCHART_ROOT=`cd ${GDCHART_ROOT} && pwd`
-








MORELIBS="${MORELIBS} -L$GDCHART_ROOT -lgdchart -L$GDCHART_ROOT/gd-1.8.3 -lg
d -L$GDCHART_ROOT/gd-1.8.3/libpng-1.0.8 -lpng -L$GDCHART_ROOT/zlib-1.1.3 -lz
"
-         INCS="${INCS} -I$GDCHART_ROOT"
+
        MORELIBS="${MORELIBS} -L$GDCHART_ROOT/lib -lgdchart -lgd -lpng -lz"
+         INCS="${INCS} -I$GDCHART_ROOT/include"
          AC_DEFINE(HAVE_GDCHART)
          AC_MSG_RESULT([found in $GDCHART_ROOT])

with --gdchart-root=/usr

-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of shimi
Sent: Sunday, January 27, 2002 5:12 AM
To: [EMAIL PROTECTED]
Subject: [Ntop] Images in ntop



I lately installed ntop from source on both Sun-Sparc-2.7 and RedHat Linux
6.2, and both of them experience the same problem:

Next to routers, DNS servers, Mailserver etc, there's an image, which
fails to load...

I wonder if anyone knows why?

Is it related to "gdchart"? The ./configure said it cannot find that
"optional" package, although it was opened from the same tgz of the
source...

Even if those two are not related, I'll be happy to know the reason why
./configure can't find that package on two really common platforms...

Thanks!


--

  Best regards,

     Shimi

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop

Reply via email to