Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] ./autogen.sh needed in source tarball (Was: building a Gtk2

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Wed, 13 Aug 2014 17:49:37 -0400
On 08/13/14 17:19, Christopher Maynard wrote:
Jeff Morriss <jeff.morriss.ws@...> writes:

I noticed above that you did not run ./autogen.sh.  I tried once again, this
time *without* running autogen.sh just as you've shown, but unfortunately
the results were the same.

Source tarballs don't need ./autogen.sh run on them--that's part of the
magic of "make dist" (and part of the argument against distributing
source tarballs with tools/git-export-release.sh).

Hmm, well without running autogen.sh, this happened on RHEL6.3:

make clean && rm -f epan/dissectors/register.c

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/wireshark/1.12.0/missing
aclocal-1.14 `./aclocal-flags`
/home/wireshark/1.12.0/missing: line 81: aclocal-1.14: command not found
WARNING: 'aclocal-1.14' is missing on your system.
          You should only need it if you modified 'acinclude.m4' or
          'configure.ac' or m4 files included by 'configure.ac'.
          The 'aclocal' program is part of the GNU Automake package:
          <http://www.gnu.org/software/automake>
          It also requires GNU Autoconf, GNU m4 and Perl in order to run:
          <http://www.gnu.org/software/autoconf>
          <http://www.gnu.org/software/m4/>
          <http://www.perl.org/>
make: *** [aclocal.m4] Error 127

RHEL6.3 and RHEL6.5 both have aclocal-1.11.

Hmm, what did you do before that? I don't have that problem in a freshly untar'd source tree. As I said earlier in the thread I can do this without a problem:

% cd /tmp && tar xjf /path/to/wireshark-1.12.0.tar.bz2 && cd wireshark-1.12.0 && ./configure --with-gtk2 && make rpm-package

Just doing "make" instead of "make rpm-package" works too. I also tried "make clean" followed by "make" and that also worked.