Ethereal-dev: Re: [Ethereal-dev] about the installation of ethereal-0.10.4 on redhat9.0

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Li Haijiang" <lhjiang@xxxxxx>
Date: Mon, 14 Jun 2004 10:19:53 +0800
thanks you reply.but i have tried doing "make distclean", re-running the configure
script then  running the command of "./configure 2>&1 | tee /tmp/config.out".Now i
found the error is the same as before.
It is:
-----------
gcc -DHAVE_CONFIG_H -I. -I. -I.  -I. -I./wiretap -I/usr/local/include  -DINET6
-D_U_="__attribute__(
(unused))" -Wall -W -g -O2 -I/usr/local/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/us
r/lib/glib/include -I/usr/X11R6/include -c `test -f 'version_info.c' || echo
'./'`version_info.c
version_info.c:65:8: warning: "/*" within comment
version_info.c:66: parse error before '/' token
In file included from version_info.c:70:
/usr/include/sys/utsname.h:73: parse error before '}' token
version_info.c: In function `get_compiled_version_info':
version_info.c:163: `VersionInfo' undeclared (first use in this function)
version_info.c:163: (Each undeclared identifier is reported only once
version_info.c:163: for each function it appears in.)
version_info.c: In function `get_runtime_version_info':
version_info.c:207: storage size of `name' isn't known
version_info.c:207: warning: unused variable `name'
make[2]: *** [version_info.o] Error 1
make[2]: Leaving directory `/home/lhj/ethereal-0.10.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lhj/ethereal-0.10.4'
make: *** [all] Error 2
----------
and I have sended the config.out to you.


~~~~~~~~~
ÔÚÄúµÄÀ´ÐÅÖÐÔø¾­Ìáµ½:
>From: Guy Harris <gharris@xxxxxxxxx>
>Reply-To: ethereal-dev@xxxxxxxxxxxx
>To: À½­ <lhjiang@xxxxxx>
>Subject: Re: [Ethereal-dev] about the installation of ethereal-0.10.4 on    
redhat9.0
>
>On Fri, Jun 11, 2004 at 08:59:03AM +0800, À½­ wrote:
> > thanks you reply for my question.the result of the command of "find -name
config.h
> > -print" is:
> > [root@zjhc411 ethereal-0.10.4]# find -name config.h -print
> > ./wiretap/config.h
> > ./config.h
> > [root@zjhc411 ethereal-0.10.4]#
> > 
> > ------------
> > what should i do for the error?
> 
> Try doing "make distclean", re-running the configure script (and pipe
> its output to a file, e.g.
> 
> 	./configure 2>&1 | tee /tmp/config.out
> 
> if you're running a Bourne-shell-compatible shell such as bash or
> 
> 	./configure |& tee /tmp/config.out
> 
> if you're using a C-shell-compatible shell such as tcsh), and then doing
> the make.
> 
> 
> 
> 此邮件经过过æ»?
>


checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for bison... no
checking for byacc... no
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for perl... /usr/bin/perl
checking for pod2man... /usr/bin/pod2man
checking for flex... /usr/bin/flex
checking for python... /usr/bin/python
checking for pkgproto... no
checking for pkgmk... no
checking for pkgtrans... no
checking for rpm... yes
checking to see if we can redefine _topdir... yes
checking to see if we can add '-Wall -W' to CFLAGS... yes
checking for platform-specific compiler flags... none needed
checking whether to use /usr/local for headers and libraries... yes
checking for GNU sed as first sed in PATH... yes
checking if profile builds must be generated... no
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking whether GLib supports loadable modules... yes
checking for gethostbyname... yes
checking for connect... yes
checking whether to use libpcap for packet capture... yes
checking for extraneous pcap header directories... not found
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for pcap_open_live in -lpcap... yes
checking whether pcap_version is defined by libpcap... yes
checking for pcap_findalldevs... yes
checking for pcap_lib_version... no
checking for pcap_open_dead... yes
checking for pcap_datalink_val_to_name... no
checking for pcap_datalink_name_to_val... no
checking for pcap_list_datalinks... no
checking for pcap_set_datalink... no
checking whether to use zlib for reading compressed capture files... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzgets in -lz... yes
checking for gzgets missing when linking with X11... no
checking whether to use libpcre for regular expressions in dfilters... yes
checking pcre.h usability... no
checking pcre.h presence... no
checking for pcre.h... no
libpcre not found - disabling support for perl compatible regular expressions in dfilters
checking whether to enable ipv6 name resolution if available... yes
checking ipv6 stack type... "linux-glibc, inet6"
checking whether to install ethereal setuid... no
checking for ANSI C header files... (cached) yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for unistd.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking whether to use SSL library if available... yes
checking for EVP_md5 in -lcrypto... yes
checking whether to use NET-SNMP library if available... yes
checking for net-snmp-config... no
checking whether to use UCD SNMP library if available... yes
checking ucd-snmp/ucd-snmp-config.h usability... yes
checking ucd-snmp/ucd-snmp-config.h presence... yes
checking for ucd-snmp/ucd-snmp-config.h... yes
checking for sprint_realloc_objid in -lsnmp... yes
checking whether to use kerberos/heimdal... no
checking whether to use the GNU ADNS library if available... yes
checking for adns_init in -ladns... no
checking for sa_len in struct sockaddr... no
checking whether byte ordering is bigendian... no
checking whether gcc needs -traditional... no
checking for snprintf... yes
checking for strerror... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for mkstemp... yes
checking for inet_aton... yes
checking for library containing inet_pton... none required
checking for broken inet_pton... ok
checking for library containing inet_ntop... none required
checking for inet_ntop prototype... yes
checking for strptime... yes
checking for getprotobynumber... yes
checking for gethostbyname2... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating epan/Makefile
config.status: creating epan/dfilter/Makefile
config.status: creating epan/ftypes/Makefile
config.status: creating gtk/Makefile
config.status: creating help/Makefile
config.status: creating packaging/Makefile
config.status: creating packaging/nsis/Makefile
config.status: creating packaging/rpm/Makefile
config.status: creating packaging/rpm/SPECS/Makefile
config.status: creating packaging/rpm/SPECS/ethereal.spec
config.status: creating packaging/svr4/Makefile
config.status: creating packaging/svr4/checkinstall
config.status: creating packaging/svr4/pkginfo
config.status: creating plugins/Makefile
config.status: creating plugins/acn/Makefile
config.status: creating plugins/artnet/Makefile
config.status: creating plugins/asn1/Makefile
config.status: creating plugins/ciscosm/Makefile
config.status: creating plugins/docsis/Makefile
config.status: creating plugins/enttec/Makefile
config.status: creating plugins/giop/Makefile
config.status: creating plugins/gryphon/Makefile
config.status: creating plugins/irda/Makefile
config.status: creating plugins/lwres/Makefile
config.status: creating plugins/megaco/Makefile
config.status: creating plugins/mgcp/Makefile
config.status: creating plugins/pcli/Makefile
config.status: creating plugins/rdm/Makefile
config.status: creating plugins/rlm/Makefile
config.status: creating plugins/rtnet/Makefile
config.status: creating plugins/rudp/Makefile
config.status: creating plugins/v5ua/Makefile
config.status: creating tools/Makefile
config.status: creating tools/lemon/Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: configuring in wiretap
configure: running /bin/sh './configure' --prefix=/usr/local  --cache-file=/dev/null --srcdir=.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for bison... no
checking for byacc... no
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for flex... /usr/bin/flex
checking to see if we can add '-Wall -W -Wcast-qual' to CFLAGS... yes
checking for platform-specific compiler flags... none needed
checking if profile builds must be generated... no
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking whether to use /usr/local for headers and libraries... yes
checking for ANSI C header files... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking whether byte ordering is bigendian... no
checking for extraneous pcap header directories... found --  -I/usr/local/include added to CFLAGS
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking whether to use zlib for reading compressed capture files... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzgets in -lz... yes
checking for gzgets missing when linking with X11... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands

The Ethereal package has been configured with the following options.
                    Build ethereal : yes
                   Build tethereal : yes
                     Build editcap : yes
                    Build mergecap : yes
                   Build text2pcap : yes
                     Build idl2eth : yes
                     Build randpkt : no
                      Build dftest : no

                    Install setuid : no
                       Use plugins : yes
               Use GTK+ v2 library : no
                  Use pcap library : yes
                  Use zlib library : yes
                  Use pcre library : no
              Use kerberos library : no
              Use GNU ADNS library : no
          Use IPv6 name resolution : yes
     Use UCD SNMP/NET-SNMP library : yes (ucd-snmp)