Wireshark-users: [Wireshark-users] How should I extend autoconf/automake to build wireshark from

From: "Dr. David Kirkby" <david.kirkby@xxxxxxxxxx>
Date: Thu, 07 Feb 2008 10:02:14 +0000
Given I have had a few issues building wireshark-0.99.7 on my Sun Blade 2000 running Solaris 10 update 4 and Sun's compiler, I thought I would build from trunk rather than the wireshark-0.99.7.tar.gz file. (I know one of the issues I had with the ethercat plugin seems to be fixed in trunk).

The trunk does not include the configure scripts, but my attempts to create the configure scripts are failing.

kestrel /tmp % svn co http://anonsvn.wireshark.org/wireshark/trunk/ wireshark-latest
A    wireshark-latest/inet_pton.c
<SNIP>
A    wireshark-latest/dfilters
A    wireshark-latest/isprint.h
U   wireshark-latest
Checked out revision 24279.


kestrel /tmp % cd wireshark-latest
kestrel /tmp/wireshark-latest % autoreconf
/usr/sfw/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/sfw/share/aclocal/gtk.m4:7:   run info '(automake)Extending aclocal'
/usr/sfw/share/aclocal/gtk.m4:7: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:19: warning: macro `AM_DISABLE_STATIC' not found in library
configure.in:1529: warning: macro `AM_PROG_LIBTOOL' not found in library
configure.in:19: error: possibly undefined macro: AM_DISABLE_STATIC
     If this token and others are legitimate, please use m4_pattern_allow.
     See the Autoconf documentation.
configure.in:26: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
configure.in:27: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.in:1529: error: possibly undefined macro: AM_PROG_LIBTOOL
autoreconf: /opt/csw/bin/autoconf failed with exit status: 1

I'm using the following version of software from Blastwave (installs in /opt/csw)

automake (GNU automake) 1.10
autoconf (GNU Autoconf) 2.61

I tried running automate --add-missing, but that too bombs out, with what look like closely related problems


kestrel /tmp/wireshark-latest % automake --add-missing
configure.in:17: installing `./missing'
configure.in:17: installing `./install-sh'
codecs/Makefile.am:28: library used but `RANLIB' is undefined
codecs/Makefile.am:28: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
codecs/Makefile.am:28:   to `configure.in' and run `autoconf' again.
codecs/Makefile.am: installing `./depcomp'
epan/Makefile.am:45: Libtool library used but `LIBTOOL' is undefined
epan/Makefile.am:45: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' epan/Makefile.am:45: to `configure.in' and run `aclocal' and `autoconf' again.epan/Makefile.am:45: If `AC_PROG_LIBTOOL' is in `configure.in', make sure
epan/Makefile.am:45:   its definition is in aclocal's search path.
epan/crypt/Makefile.am:32: Libtool library used but `LIBTOOL' is undefined
epan/crypt/Makefile.am:32: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' epan/crypt/Makefile.am:32: to `configure.in' and run `aclocal' and `autoconf' again. epan/crypt/Makefile.am:32: If `AC_PROG_LIBTOOL' is in `configure.in', make sure
epan/crypt/Makefile.am:32:   its definition is in aclocal's search path.
epan/dfilter/Makefile.am:31: Libtool library used but `LIBTOOL' is undefined
epan/dfilter/Makefile.am:31: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' epan/dfilter/Makefile.am:31: to `configure.in' and run `aclocal' and `autoconf' again. epan/dfilter/Makefile.am:31: If `AC_PROG_LIBTOOL' is in `configure.in', make sure
epan/dfilter/Makefile.am:31:   its definition is in aclocal's search path.
epan/dissectors/Makefile.am:23: Libtool library used but `LIBTOOL' is undefined epan/dissectors/Makefile.am:23: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' epan/dissectors/Makefile.am:23: to `configure.in' and run `aclocal' and `autoconf' again. epan/dissectors/Makefile.am:23: If `AC_PROG_LIBTOOL' is in `configure.in', make sure epan/dissectors/Makefile.am:23: its definition is in aclocal's search path.
^C





I'm guessing I need to add come files to a library before trying to build the bits I need for wireshark