Ethereal-dev: Re: [Ethereal-dev] [CYGWIN]Build hints

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

From: Loïc Minier <lool+ethereal@xxxxxxxxxx>
Date: Fri, 14 Nov 2003 11:15:29 +0100
Biot Olivier <Olivier.Biot@xxxxxxxxxxx> - Thu, Nov 13, 2003:

> Anyway, my configuration is unable to build tethereal, for several reasons,
> the most peculiar one being the lack of an "-I." in the compile line, and
> the more tricky ones the compilation of tethereal[.exe] before the
> dissectors and other dependent code have been compiled. I use the following
> tools:

 Eeek, I forgot the -I. I've added somewhere in the Makefile, damn me.

   Here are the package versions I use :
 autoconf 2.57-2 and 2.13-5
 automake 1.4p6-1 and 1.7.6-2
 gcc 3.3.1-3
 libtoll 1.5a-1

 You might wonder why the multiple versions, Cygwin has a mechanism to
 switch between alternate versions of automake/autoconf. It's a
 wrapper script (in the autoconf/automake package) calling either
 autoconf/automake-stable or autoconf/automake-devel depending on the
 macros found in configure.ac/in.
   It's an ugly hack because this results in automake-1.4 being used
 during my autogen.sh phase instead of automake-1.7 which has far less
 bugs. On my Debian build machine, automake-1.7 is used, so I tried
 forcing autogen.sh to call automake-1.7, but autogen.sh fails:
   $ ./autogen.sh 
   Checking for python.
   glibtool: not found
   libtoolize --copy --force
   glib-config: not found
   gtk-config: not found
   processing .
   gtk-config: not found
   aclocal -I ./aclocal-missing
   autoheader
   configure.in:661: warning: AC_TRY_RUN called without default to allow cross compiling
   automake-1.7 --add-missing --gnu
   Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir]
   [-l dir] [--localdir=dir] [--version] [template-file]
   configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
   configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
   configure.in: that aclocal.m4 is present in the top-level directory,
   configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
   automake-1.7: no `Makefile.am' found or specified

 Since automake-1.4 should be supported, my builds were made with 1.4
 autodetected by Cygwin's automake wrapper. autogen.sh runs nicely with
 a couple of warnings: configure.in:159: warning: AC_TRY_RUN called
 without default to allow cross compiling.

 I consider automake 1.4 and 1.5 quite old, and in another project I
 worked they use a bootstrap (instead of the autogen.sh) which does a
 lot of adaptive work when only automake-1.4 is found. I think it would
 help if we tried in the bootstrap to use automake-1.7 if available.
 here's the cross-platform-bootstrap of VLC:
<http://developers.videolan.org/cgi-bin/viewcvs.cgi/vlc/bootstrap?rev=1.82&cvsroot=VideoLAN&content-type=text/vnd.viewcvs-markup>

-- 
Lo�c Minier <lool@xxxxxxxx>