Just remove the lines from the configureextra file so the search will fail -
ntop then builds w/o the plugin.

-----Burton
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Steve Fischer
Sent: Monday, January 10, 2005 11:41 AM
To: [email protected]
Subject: Re: RE: RE: [Ntop] more on the NTOP build failure

This piece, from what I'm inferring, doesn't appear real critical - is there
a way to do the make (with the plugins) WITHOUT this particular plugin?

Thanks again for all you help!

Steve

-----Original Message-----
From: "Burton Strauss" <[EMAIL PROTECTED]>
To: <[email protected]>
Date: Mon, 10 Jan 2005 10:45:55 -0600
Subject: RE: RE: [Ntop] more on the NTOP build failure

Yeah ... The version of xmldumpplugin in 3.1 is broken - it's a story.

If you are really interested in this, then I'll finally have a tester to
finish the work with... contact me off list and I will send you in-progress
files.  

-----Burton 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Steve Fischer
Sent: Monday, January 10, 2005 10:31 AM
To: [email protected]
Subject: Re: RE: [Ntop] more on the NTOP build failure

ok...I modified the configure script and the errors in the configure output
are gone.  But the make was still unsuccessful.  So...
we needed the package lm_sensors-devel, so I installed it, but the make
still failed.
next, we installed the elf-ultils-devel/-elf-lib-utils-devel, but the make
STILL fails.  Here is the last couple of lines of the output:

xml_g_invoke.inc:409: error: structure has no member named
`skipVersionCheck'
In file included from xmldumpPlugin.c:1730:
xml_g_intf.inc: In function `dumpXML_interfaces':
xml_g_intf.inc:33: warning: nested extern declaration of `BufferTooShort'
make[3]: *** [xmldumpPlugin.lo] Error 1
make[3]: Leaving directory `/usr/local/src/ntop/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/ntop/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ntop'
make: *** [all] Error 2

Is there something fundamental that I'm not quite doing correctly?  The
plugins just don't seem to want to complie on this box.  

Thanks for all the assistance that has been provided to this point.  It has
been helpful, as well as educational.


-----Original Message-----
From: "Burton Strauss" <[EMAIL PROTECTED]>
To: <[email protected]>
Date: Mon, 10 Jan 2005 09:18:10 -0600
Subject: RE: [Ntop] more on the NTOP build failure

Well, where IS xmlversion.h?  (use locate or find)

That's what the configureextra file needs to set (don't blindly copy - they
move this stuff around from release to release!)

# XML Dump plugin stuff...
#  Note - this assumes you've installed the RH rpms:
#         glib, glib-devel, libxml2, libxml2-devel
#         and the gdome2 and gdome2-devel rpms from
http://gdome2.cs.unibo.it/
if test -f /usr/lib/libglib.so; then
  LDFLAGS="${LDFLAGS} -lglib"
fi
if test -d /usr/include/libxml2/libxml; then
  CPPFLAGS="${CPPFLAGS} -I/usr/include/libxml2/libxml"
fi
if test -d /usr/include/glib-1.2; then
  CPPFLAGS="${CPPFLAGS} -I/usr/include/glib-1.2"
fi
if test -d /usr/lib/glib-1.2/include; then
  CPPFLAGS="${CPPFLAGS} -I/usr/lib/glib-1.2/include"
fi
if test -d /usr/include/libgdome; then
  CPPFLAGS="${CPPFLAGS} -I/usr/include/libgdome"
fi
if test -d /usr/lib/glib/include; then
  CPPFLAGS="${CPPFLAGS} -I/usr/lib/glib/include"
Fi

(from RH9 - that's where the standard .rpms install it)

There may be a disconnect w/ the libxml in the code vs. ./configure, so I
think I'm using this:

if test -d /usr/include/libxml2/libxml; then
  CPPFLAGS="${CPPFLAGS} -I/usr/include/libxml2
-I/usr/include/libxml2/libxml"
Fi

-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Steve Fischer
Sent: Monday, January 10, 2005 9:00 AM
To: [email protected]
Subject: [Ntop] more on the NTOP build failure

It still fails...despite applying the patches in the configureextra
directory - I applied both the LINUXfedora and the LINUXRedHat9 patches, to
no avail in building the plugins.

Here are some messages ....

Here is how I am running the configure:
.../configure --prefix=/usr/local/ntop --mandir=/usr/share/man --enable-snmp

Confiure script output:
-------------------------------------------------------------------

   **Testing Optional libraries and headers**

checking for Multithreading... ok
checking for openSSL... ok
checking for zlib... ok
checking net-snmp/net-snmp-config.h usability... yes checking
net-snmp/net-snmp-config.h presence... yes checking for
net-snmp/net-snmp-config.h... yes checking SNMP... yes checking sctp... no
checking for xmldump... configure: WARNING: error

*******************************************************************
*
* WARNING:  One or more items required for the xmldump plugin are 
*           missing:
*
*                  xmlversion.h...no
*                  libxml2.so or libxml2.a...yes
*                  gdome.h...no
*                  libgdome.so or libgdome.a...yes
*                  glib.h...yes
*                  libglib.so or libglib.a...yes
*                  glibconfig.h...yes
*
*           (yes means it was found, no means it was not found)
*
*       ntop will run just fine without this plugin.
*
*>>>    If you want to use the xmldump plugin,
*
*???     1. Install the necessary headers and libraries.
*???    and rerun ./configure
*
*******************************************************************

checking pthread_atfork... yes

Miscelaneous settings...

checking for gcc backtrace... found - automatic SIGSEGV backtrace enabled
via -K checking for gcc getopt_long... found - long command line options are
enabled checking for facilitynames - define SYSLOG_NAMES option... available
checking if ether_header uses ether_addr structs... no checking if in6_addr
is defined for sFlowPlugin... yes

-------------------------------------------------------------------

Removing dups and misplaced entries from LIBS and INCS...

Testing for special final configuration options for LINUX fedora 3

===================================================================

This is your ntop 3.1 configuration:

Host System Type        : i686-pc-linux-gnu
Preprocessor (cppflags) :  -DLINUX -I/usr/local/include
Compiler (cflags)       : gcc -g -O2 -I/usr/local/include -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fPIC
Defines                 : -DHAVE_CONFIG_H
Loader (ldflags)        :  -L/usr/local/lib
Include path            : 
System Libs             : -lgdome -lxml2 -lglib -lpthread -lresolv -lnsl
-lcrypt -lc -lssl -lcrypto -lpcap -lgdbm -lgd -lpng -lz 
MultiThread mode        : enabled
Locale                  : /usr/lib/locale

External packages:

LBL pcap .h             : standard system headers
LBL pcap library        : standard system libraries
GNU gdbm .h             : standard system headers
GNU gdbm library        : standard system libraries
zlib     .h             : standard system headers
zlib     library        : standard system libraries
gd       .h             : standard system headers
gd       library        : standard system libraries
png      .h             : standard system headers
png      library        : standard system libraries
openSSL  .h             : standard system headers
openSSL  library        : standard system libraries

Install directories:

    Default prefix: /usr/local
    Install into:   /usr/local/ntop (default or via --prefix request)

    Data files are in     /usr/local/ntop/share/ntop
    Config files are in   /usr/local/ntop/etc/ntop
    Run directory is      /usr/local/ntop/var/ntop
    Plugin files are in   /usr/local/ntop/lib/ntop/plugins
    Database files are in /usr/local/ntop/var/ntop

-------------------------------------------------------------------

Creating files...

configure: creating ./config.status
config.status: creating Makefile
config.status: creating myrrd/Makefile
config.status: creating plugins/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

version.c...


===================================================================


*******************************************************************
*
* NOTE: ./configure is now complete!
*
*       All of the obviously FATAL errors would cause you to
*       abort before this point, so while you SHOULD scroll
*       back and check for error/warning/note messages,
*       you probably will not...
*
++
++    If you like ntop, please do not forget to support its
++    development. See SUPPORT_NTOP.txt for more information.
++
++              Thanks for supporting ntop!
++
*
* NEXT STEP(S):
*
*>>>>  A WARNING message was generated - please review the *>>>>  output
before continuing to make ntop!
*
*    Building ntop requires GNU Make, so to build ntop, type
*    'make' (or on *BSD and Solaris systems, 'gmake')
*
*******************************************************************

>From the make:
/usr/bin/ld: cannot find -lsensors
collect2: ld returned 1 exit status
make[3]: *** [libsnmpPlugin.la] Error 1
make[3]: Leaving directory `/usr/local/src/ntop/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/ntop/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ntop'
make: *** [all] Error 2


Steve Fischer
[EMAIL PROTECTED]
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop


Steve Fischer
[EMAIL PROTECTED]
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop


Steve Fischer
[EMAIL PROTECTED]
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to