Ethereal-users: Re: Re: [Ethereal-users] Install Probs

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

From: "Jonty Ray" <jonty_11@xxxxxxxxxxxxxx>
Date: Fri, 24 Oct 2003 14:15:50 -0000
Hi Guy,

   Here is the output of ./configure for libpcap. and after that I also run "make" and "make install". 

bash-2.03$ ./configure
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking gcc version... 3
checking for inline... inline
checking for __attribute__... yes
checking for u_int8_t using gcc... no
checking for u_int16_t using gcc... no
checking for u_int32_t using gcc... no
checking how to run the C preprocessor... gcc -E
checking for sys/ioccom.h... yes
checking for sys/sockio.h... yes
checking for ifaddrs.h... no
checking for limits.h... yes
checking for netinet/if_ether.h... yes
checking for ANSI ioctl definitions... yes
checking for ether_hostton... no
checking for strerror... yes
checking for strlcpy... yes
checking if --disable-protochain option is specified... enabled
checking packet capture type... dlpi
checking for getifaddrs... no
checking whether we have SIOCGLIFCONF... yes
checking if --enable-ipv6 option is specified... no
checking whether to build optimizer debugging code... no
checking whether to build parser debugging code... no
checking for sys/bufmod.h... yes
checking for sys/dlpi_ext.h... no
checking for /dev/dlpi device... no
checking for /dev/dlpi directory... no
checking whether we have /proc/net/dev... no
configure: error: DAG support only available with 'linux' 'bpf' and 'dag' packet capture types
bash-2.03$ make
make: Fatal error: No arguments to build
bash-2.03$ make install
make: Fatal error: Don't know how to make target `install'
bash-2.03$ 

Here is the content of the directory created when i unxip the libpcap.gz file
bash-2.03$ ls
CHANGES        README.hpux    bpf            etherent.c     install-sh     pcap-dag.c     pcap-pf.h      savefile.c
CREDITS        README.linux   bpf_dump.c     ethertype.h    lbl            pcap-dag.h     pcap-snit.c    scanner.l
CVS            README.tru64   bpf_image.c    fad-getad.c    linux-include  pcap-dlpi.c    pcap-snoop.c   sll.h
FILES          SUNOS4         confdefs.h     fad-gifc.c     llc.h          pcap-enet.c    pcap-stdinc.h  sunatmpos.h
INSTALL.txt    TODO           config.cache   fad-glifc.c    mkdep          pcap-int.h     pcap-win32.c
LICENSE        VERSION        config.guess   fad-null.c     nametoaddr.c   pcap-linux.c   pcap.3
Makefile.in    Win32          config.h.in    fad-win32.c    nlpid.h        pcap-namedb.h  pcap.c
README         acconfig.h     config.log     gencode.c      optimize.c     pcap-nit.c     pcap.h
README.Win32   aclocal.m4     config.sub     gencode.h      packaging      pcap-nit.h     pf.h
README.aix     arcnet.h       configure      grammar.y      pcap-bpf.c     pcap-null.c    ppp.h
README.dag     atmuni31.h     configure.in   inet.c         pcap-bpf.h     pcap-pf.c      rawss7.h


On Thu, 16 Oct 2003 Guy Harris wrote :
>
>On Oct 15, 2003, at 10:35 AM, Jonty Ray wrote:
>
>>    I have copied the output of the ./configure i run got GTK+. Let me know if you can help me trace the error here.
>
>The error is that:
>
>>  checking for glib-config... /scratch/users/ukoul/Ethereal/glib-1.2.8/glib-config
>>checking for GLIB - version >= 1.2.8... no
>>*** Could not run GLIB test program, checking why...
>>*** The test program failed to compile or link. See the file config.log for the
>>*** exact error that occured. This usually means GLIB was incorrectly installed
>>*** or that you have moved GLIB since it was installed. In the latter case, you
>>*** may want to edit the glib-config script: /scratch/users/ukoul/Ethereal/glib-1.2.8/glib-config
>>configure: error:
>>*** GLIB 1.2.8 or better is required. The latest version of GLIB
>>*** is always available from ftp://ftp.gtk.org/.
>
>You appear not to have GLib installed correctly.  According to the config.log.gtk in your previous message, the error was
>
>configure:4323:18: glib.h: No such file or directory
>
>so, while you might have glib-config installed, you either don't have glib.h installed, or the glib-config script isn't specifying the right "-I" flags when you run it with the "--cflags" option.
>
>Try running
>
>/scratch/users/ukoul/Ethereal/glib-1.2.8/glib-config --cflags
>
>It should print a couple of "-I" flag values.  Check whether there's a glib.h file in one of the directories mentioned in those flags.  If not, try re-building GLib and re-installing it.
>