./configure --help


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dan
Wright
Sent: Monday, July 29, 2002 5:31 PM
To: [EMAIL PROTECTED]
Subject: RE: [Ntop] compiling on OS X outside fink


>Look in the configure / configure.in (that's probably easier to read) to
see
>where ntop is expecting to find the files.  Maybe just create a link for
the
>few it needs?

Alas, I do not speak code.  The appropriate section seems to be

     dnl>
     dnl> If your gdbm header file and library are installed somewhere
strange
     dnl>

     dnl>
     dnl> The GNU database manager gdbm (MANDATORY)
     dnl> check for `gdbm_open' in -lgdbm
     dnl>
     dnl> order as follow
     dnl> 1. user defined gdbm development tree
     dnl> 2. standard installation in /usr/lib and /usr/include respectively
     dnl> 3. default package installation in /usr/local/lib and
/usr/local/include respectively
     dnl> 4. gdbm development tree under the same ntop's root source
directory or in a subdir

     if test ".${GDBM_ROOT}" != .; then
       AC_MSG_CHECKING([for the GNU Database Manager Library gdbm (required
package)])
       if test -d $GDBM_ROOT &&
          test -r $GDBM_ROOT/libgdbm.a &&
          test -r $GDBM_ROOT/gdbm.h; then
            GDBM_ROOT=`cd ${GDBM_ROOT} && pwd`
            CORELIBS="${CORELIBS} -L$GDBM_ROOT -lgdbm"
            INCS="${INCS} -I$GDBM_ROOT"
            AC_DEFINE(HAVE_GDBM_H)
            AC_MSG_RESULT([found in $GDBM_ROOT])
       else
         AC_MSG_RESULT([not found in ${GDBM_ROOT}])
         AC_MSG_RESULT([             *** FATAL ERROR ***             ])
         AC_MSG_RESULT([ It looks that you don't have some files needed to
use the gdbm library.])
         AC_MSG_RESULT([ Please check the source tree, compile and,
optionally, install the software.])
         AC_MSG_RESULT([ When finished please re-run this program.])
         AC_MSG_RESULT([ You can download the latest source tarball at
http://www.gnu.org/software/gdbm/gdbm.html])
         AC_MSG_ERROR([ The GNU Gdbm Library development tree seems
corrupted or incomplete!])

Can I define $GDBM_ROOT to be /sw?  Once ntop is built will it still need
to know where to find these files?

As I mentioned before.  I don't know what I'm doing.

Thanks again,

Dan
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop

Reply via email to