Ethereal-dev: Re: [ethereal-dev] What does the libtool stuff do for us?

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Mon, 3 Jan 2000 12:18:34 -0600
On Mon, Jan 03, 2000 at 12:03:36PM -0600, Florian Lohoff wrote:
> 
> 
> The libtool things are currently not nice ..

I'm also having some problems. I'm able to use it fine at home (Debian
system), with libtool-1.3.4 installed by hand, but at work (RedHat system)
I'm having problems.

Here's a log of my session. I do a new cvs checkout of the Ethereal
source tree, (with most of the lines deleted from this log for
brevity), I show the versions of the tools I have, then autoconf
fails; for some reason it's not reading acinclude.m4 to get the
AC_ETHEREAL_* macros!

--gilbert

$ cvs checkout ethereal
cvs server: Updating ethereal
U ethereal/.cvsignore
U ethereal/AUTHORS
U ethereal/COPYING
U ethereal/ChangeLog
U ethereal/INSTALL
U ethereal/INSTALL.configure
U ethereal/Makefile.am

[deletia]

U ethereal/wiretap/wtap.c
U ethereal/wiretap/wtap.h

$ cd ethereal/
$ libtool --version
ltmain.sh (GNU libtool) 1.3.4 (1.385.2.196 1999/12/07 21:47:57)

$ autoconf --version
Autoconf version 2.13

$ ./autogen.sh 
Running ./configure with no arguments. If you wish to pass any,
please specify them on the ./autogen.sh command line.
processing .
aclocal: configure.in: 301: macro `AM_PROG_LIBTOOL' not found in library
configure.in:175: warning: AC_TRY_RUN called without default to allow cross compiling
automake: configure.in: installing `./install-sh'
automake: configure.in: installing `./mkinstalldirs'
automake: configure.in: installing `./missing'
configure.in: 301: required file `./ltmain.sh' not found
configure.in:175: warning: AC_TRY_RUN called without default to allow cross compiling
autoconf: Undefined macros:
configure.in:103:	AC_ETHEREAL_PCAP_CHECK
configure.in:119:        AC_ETHEREAL_ZLIB_CHECK
configure.in:135:	AC_ETHEREAL_IPV6_STACK
configure.in:157:	AC_ETHEREAL_UCDSNMP_CHECK
configure.in:172:AC_ETHEREAL_STRUCT_SA_LEN
configure.in:299:AC_LIBLTDL_CONVENIENCE(libltdl)
configure.in:300:AC_LIBTOOL_DLOPEN
processing wiretap
configure.in:95: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:95: warning: AC_TRY_RUN called without default to allow cross compiling
creating cache ./config.cache
./configure: syntax error near unexpected token `AM_INIT_AUTOMAKE(ethereal,'
./configure: ./configure: line 537: `AM_INIT_AUTOMAKE(ethereal, 0.8.0)'

Now type 'make' to compile Ethereal.