I see.  So this must be the test here:

configure:12978: checking for net/ethernet.h
configure:12985: result: no

I'll search around for anything that would give me some clues.

Thanks,
Darrick



> -----Original Message-----
> From: Burton M. Strauss III [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 19, 2004 3:08 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Ntop] Compiling on Solaris 9: net/ethernet.h: 
> Nosuchfileordirectory
> 
> Nope.  That's a simple (a/k/a normal) .h presence failure - 
> so the puzzle is why, later on, it's trying to open that include...
> 
> -----Burton
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Behalf Of 
> > Darrick Bova
> > Sent: Monday, July 19, 2004 3:54 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Ntop] Compiling on Solaris 9: net/ethernet.h: No 
> > suchfileordirectory
> >
> >
> > Here is the ethernet.h test.  The directories 
> /usr/local/include and 
> > /opt/sfw/include do not exist on my box.  Could that be the 
> problem?  
> > Thanks.
> >
> >
> > configure:12862: checking net/ethernet.h usability
> > configure:12874: gcc -c -g -O2 -I/usr/local/include -Wshadow 
> > -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnes 
> > ted-externs  -fPIC  -DSOLARIS -I/usr/local/include 
> -I/opt/sfw/include 
> > -I/usr/local/include conftest.c >&5
> > conftest.c:97: net/ethernet.h: No such file or directory
> > configure:12880: $? = 1
> > configure: failed program was:
> > | /* confdefs.h.  */
> > |
> > | #define PACKAGE_NAME "ntop"
> > | #define PACKAGE_TARNAME "ntop"
> > | #define PACKAGE_VERSION "3.0.052"
> > | #define PACKAGE_STRING "ntop 3.0.052"
> > | #define PACKAGE_BUGREPORT ""
> > | #define PACKAGE "ntop"
> > | #define VERSION "3.0.052"
> > | #define HAVE_LIBiconv 1
> > | #define STDC_HEADERS 1
> > | #define HAVE_SYS_TYPES_H 1
> > | #define HAVE_SYS_STAT_H 1
> > | #define HAVE_STDLIB_H 1
> > | #define HAVE_STRING_H 1
> > | #define HAVE_MEMORY_H 1
> > | #define HAVE_STRINGS_H 1
> > | #define HAVE_INTTYPES_H 1
> > | #define HAVE_UNISTD_H 1
> > | #define HAVE_LONG_DOUBLE 1
> > | #define CFG_BIG_ENDIAN 1
> > | #define HAVE_PCAP_H 1
> > | #define HAVE_PCAP_BPF_H 1
> > | #define HAVE_LIBPCAP 1
> > | #define HAVE_PCAP_OPEN_DEAD 1
> > | #define HAVE_PCAP_LIB_VERSION 1
> > | #define HAVE_PCAP_SETNONBLOCK 1
> > | #define HAVE_GDBM_H 1
> > | #define HAVE_LIBGDBM 1
> > | #define HAVE_GD_H 1
> > | #define HAVE_LIBGD 1
> > | #define HAVE_PNG_H 1
> > | #define HAVE_LIBPNG 1
> > | #define STDC_HEADERS 1
> > | #define HAVE_DIRENT_H 1
> > | #define HAVE_SYS_WAIT_H 1
> > | #define TIME_WITH_SYS_TIME 1
> > | #define HAVE_FLOAT_H 1
> > | #define HAVE_STDDEF_H 1
> > | #define HAVE_STDLIB_H 1
> > | #define HAVE_STRING_H 1
> > | #define HAVE_ERRNO_H 1
> > | #define HAVE_FCNTL_H 1
> > | #define HAVE_LIMITS_H 1
> > | #define HAVE_MATH_H 1
> > | #define HAVE_SIGNAL_H 1
> > | #define HAVE_STDARG_H 1
> > | #define HAVE_UNISTD_H 1
> > | #define HAVE_STDIO_H 1
> > | #define HAVE_STRINGS_H 1
> > | #define HAVE_SYS_IOCTL_H 1
> > | #define HAVE_SYS_SOCKET_H 1
> > | #define HAVE_SYS_TIME_H 1
> > | #define HAVE_SYS_TYPES_H 1
> > | #define HAVE_SETJMP_H 1
> > | #define HAVE_SHADOW_H 1
> > | #define HAVE_SYS_UTSNAME_H 1
> > | #define HAVE_NETDB_H 1
> > | #define HAVE_NETINET_IN_H 1
> > | #define HAVE_ARPA_INET_H 1
> > | #define HAVE_ARPA_NAMESER_H 1
> > | /* end confdefs.h.  */
> > | #include <stdio.h>
> > | #if HAVE_SYS_TYPES_H
> > | # include <sys/types.h>
> > | #endif
> > | #if HAVE_SYS_STAT_H
> > | # include <sys/stat.h>
> > | #endif
> > | #if STDC_HEADERS
> > | # include <stdlib.h>
> > | # include <stddef.h>
> > | #else
> > | # if HAVE_STDLIB_H
> > | #  include <stdlib.h>
> > | # endif
> > | #endif
> > | #if HAVE_STRING_H
> > | # if !STDC_HEADERS && HAVE_MEMORY_H
> > | #  include <memory.h>
> > | # endif
> > | # include <string.h>
> > | #endif
> > | #if HAVE_STRINGS_H
> > | # include <strings.h>
> > | #endif
> > | #if HAVE_INTTYPES_H
> > | # include <inttypes.h>
> > | #else
> > | # if HAVE_STDINT_H
> > | #  include <stdint.h>
> > | # endif
> > | #endif
> > | #if HAVE_UNISTD_H
> > | # include <unistd.h>
> > | #endif
> > | #include <net/ethernet.h>
> > configure:12903: result: no
> > configure:12907: checking net/ethernet.h presence
> > configure:12917: gcc -E  -DSOLARIS -I/usr/local/include 
> > -I/opt/sfw/include -I/usr/local/include conftest.c
> > conftest.c:63: net/ethernet.h: No such file or directory
> > configure:12923: $? = 1
> > configure: failed program was:
> > | /* confdefs.h.  */
> > |
> > | #define PACKAGE_NAME "ntop"
> > | #define PACKAGE_TARNAME "ntop"
> > | #define PACKAGE_VERSION "3.0.052"
> > | #define PACKAGE_STRING "ntop 3.0.052"
> > | #define PACKAGE_BUGREPORT ""
> > | #define PACKAGE "ntop"
> > | #define VERSION "3.0.052"
> > | #define HAVE_LIBiconv 1
> > | #define STDC_HEADERS 1
> > | #define HAVE_SYS_TYPES_H 1
> > | #define HAVE_SYS_STAT_H 1
> > | #define HAVE_STDLIB_H 1
> > | #define HAVE_STRING_H 1
> > | #define HAVE_MEMORY_H 1
> >
> > > -----Original Message-----
> > > From: Burton M. Strauss III [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, July 19, 2004 2:00 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: [Ntop] Compiling on Solaris 9: net/ethernet.h:
> > > No such fileordirectory
> > >
> > > Well that's included via ntop.h only if it's found during 
> ./configure:
> > >
> > > #ifdef HAVE_NET_ETHERNET_H
> > > #include <net/ethernet.h>
> > > #endif
> > >
> > > So go back through config.log to the ethernet.h test and 
> figure out 
> > > what the error is...
> > >
> > >
> > > -----Burton
> > >
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Behalf Of
> > > > Darrick Bova
> > > > Sent: Monday, July 19, 2004 1:45 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [Ntop] Compiling on Solaris 9: net/ethernet.h: No
> > > such file
> > > > ordirectory
> > > >
> > > >
> > > > Hi,
> > > >
> > > > I'm trying to compile the latest cvs on Solaris.  It seems I am 
> > > > missing some files.  I've tried finding them and I don't
> > > have them.
> > > > I've searched the threads and haven't found this issue.
> > > Please help.
> > > > Thanks.
> > > >
> > > > I've run autoheader;autoconf;./configure;make and this is
> > > the result:
> > > >
> > > > source='sessions.c' object='sessions.lo' libtool=yes \ 
> > > > depfile='.deps/sessions.Plo' tmpdepfile='.deps/sessions.TPlo' \ 
> > > > depmode=gcc /bin/bash ./depcomp \ /bin/bash ./libtool
> > > --mode=compile
> > > > gcc -DHAVE_CONFIG_H -I. -I. -I. -I.
> > > > -I/export/home/ntop/ntop/myrrd   -DSOLARIS -I/usr/local/include
> > > > -I/opt/sfw/include -I/usr/local/include
> > > -I/export/home/ntop/ntop/myrrd
> > > > -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith 
> > > > -Wmissing-prototypes -Wmissing-declarations
> > > -Wnested-externs  -fPIC -g
> > > > -O2 -I/usr/local/include -Wshadow -Wpointer-arith
> > > -Wmissing-prototypes
> > > > -Wmissing-declarations -Wnested-externs  -fPIC -c -o
> > > sessions.lo `test
> > > > -f 'sessions.c' || echo './'`sessions.c rm -f .libs/sessions.lo 
> > > > gcc -DHAVE_CONFIG_H -I. -I. -I. -I.
> > > > -I/export/home/ntop/ntop/myrrd -DSOLARIS -I/usr/local/include 
> > > > -I/opt/sfw/include -I/usr/local/include
> > > -I/export/home/ntop/ntop/myrrd
> > > > -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith 
> > > > -Wmissing-prototypes -Wmissing-declarations
> > > -Wnested-externs -fPIC -g
> > > > -O2 -I/usr/local/include -Wshadow -Wpointer-arith
> > > -Wmissing-prototypes
> > > > -Wmissing-declarations -Wnested-externs -fPIC -c sessions.c 
> > > > -Wp,-MD,.deps/sessions.TPlo  -fPIC -DPIC -o .libs/sessions.lo
> > > > sessions.c: In function `scanTimedoutTCPSessions':
> > > > sessions.c:477: parse error before `static'
> > > > sessions.c:493: `idx' undeclared (first use in this function)
> > > > sessions.c:493: (Each undeclared identifier is reported 
> only once
> > > > sessions.c:493: for each function it appears in.)
> > > > make[2]: *** [sessions.lo] Error 1
> > > > make[2]: Leaving directory `/export/home/ntop/ntop'
> > > > make[1]: *** [all-recursive] Error 1
> > > > make[1]: Leaving directory `/export/home/ntop/ntop'
> > > > make: *** [all] Error 2
> > > >
> > > >
> > > >
> > > > In the config.log I see 3 instances (2 where for
> > > net/ethernet.h; 1 for
> > > > sys/sysctl.h) where it isn't finding a file and they 
> all say the 
> > > > failed program was confdefs.h:
> > > >
> > > > configure:12737: $? = 0
> > > > configure:12740: test -s conftest.o
> > > > configure:12743: $? = 0
> > > > configure:12753: result: yes
> > > > configure:12757: checking arpa/nameser.h presence
> > > > configure:12767: gcc -E  -DSOLARIS -I/usr/local/include 
> > > > -I/opt/sfw/include -I/usr/local/include conftest.c
> > > > configure:12773: $? = 0
> > > > configure:12793: result: yes
> > > > configure:12828: checking for arpa/nameser.h
> > > > configure:12835: result: yes
> > > > configure:12862: checking net/ethernet.h usability
> > > > configure:12874: gcc -c -g -O2 -I/usr/local/include -Wshadow 
> > > > -Wpointer-arith -Wmissing-prototypes 
> -Wmissing-declarations -Wnes 
> > > > ted-externs  -fPIC  -DSOLARIS -I/usr/local/include
> > > -I/opt/sfw/include
> > > > -I/usr/local/include conftest.c >&5
> > > > conftest.c:97: net/ethernet.h: No such file or directory
> > > > configure:12880: $? = 1
> > > > configure: failed program was:
> > > > | /* confdefs.h.  */
> > > >
> > > > Thanks,
> > > > Darrick
> > > >
> > > > _______________________________________________
> > > > Ntop mailing list
> > > > [EMAIL PROTECTED]
> > > > http://listgateway.unipi.it/mailman/listinfo/ntop
> > >
> > > _______________________________________________
> > > Ntop mailing list
> > > [EMAIL PROTECTED]
> > > http://listgateway.unipi.it/mailman/listinfo/ntop
> > >
> > >
> > _______________________________________________
> > Ntop mailing list
> > [EMAIL PROTECTED]
> > http://listgateway.unipi.it/mailman/listinfo/ntop
> 
> _______________________________________________
> 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