Wireshark-dev: Re: [Wireshark-dev] Installing SVN 50510

From: João Amaral <jpgamaral@xxxxxxxxx>
Date: Fri, 12 Jul 2013 15:19:03 +0100
After running that command I got the following output:
./autogen.sh: 1: ./autogen.sh: libtool: not found

You must have libtool 1.4 or later installed to compile Wireshark.
Download the appropriate package for your distribution/OS,
or get the source tarball at ftp://ftp.gnu.org/pub/gnu/libtool/
 So I ran apt-get install libtool and afterwards I ran the command again, obtaining:
aclocal -I ./aclocal-fallback
libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoheader
automake --add-missing --gnu
autoconf

Now type "./configure [options]" and "make" to compile Wireshark.
Possibly libtool package got deleted when I ran apt-get clean/autoclean/autoremove recently? I didn't explicitly remove it.

What does ./autogen.sh does exactly?

I downloaded the files from this location: http://wiresharkdownloads.riverbed.com/wireshark/automated/src/

On Friday, July 12, 2013 at 1:50 PM, Jeff Morriss wrote:

On 07/12/13 05:28, João Amaral wrote:
Hello,

I'm trying to compile SVN 50510. After running *./configure --with-gtk2
--enable-setuid-install* I get no errors, but running *make* I get the
following output:
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.ac' and run `autoconf' again.
echld/Makefile.am:34: Libtool library used but `LIBTOOL' is undefined
echld/Makefile.am:34: The usual way to define `LIBTOOL' is to add
`LT_INIT'
echld/Makefile.am:34: to `configure.ac' and run `aclocal' and
`autoconf' again.
echld/Makefile.am:34: If `LT_INIT' is in `configure.ac', make sure
echld/Makefile.am:34: its definition is in aclocal's search path.
[...]
I have already installed successfully version SVN 50460. I'm
guessing there is some problem with libtool?
I'm using Ubuntu 13.04 virtualised on VMware Fusion 5.0.3.

Hmmm... Are you building from svn? What does "svn status" say (any
modified or missing files)?

Maybe try ./autogen.sh followed by configure again?

___________________________________________________________________________
Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>