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

Wireshark-bugs: [Wireshark-bugs] [Bug 4281] ./autogen.sh fails for wireshark build

Date: Fri, 19 Mar 2010 11:26:26 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4281

--- Comment #11 from Matt P <parrisimo@xxxxxxxxx> 2010-03-19 11:26:23 PDT ---
I'm running Leopard and it comes with 2.61 also.  When I run ./autogen.sh
there, I get the error documented in the original bug report. (see COMMENT 4
for the svn revision where this starts for me)

To use GTK+, I'm actually running the ./configure command within a jhbuild
environment, which has 2.63 installed.  As a test, I tried ./autogen.sh there
and I get the same error.

When I installed 2.64 within the jhbuild environment and install libtool 2.2.6b
and run ./autogen.sh, ./configure, runs correctly, but I get stuck at the make
with the following:  There may be other dependencies that I have to update as a
result of changing from 2.63 to 2.64?

bash-3.2$ ./autogen.sh
Checking for python.
aclocal -I /opt/gtk/share/aclocal -I ./aclocal-fallback
glibtoolize --copy --force
You should update your `aclocal.m4' by running aclocal.
autoheader
automake --add-missing --gnu
autoconf

Now type "./configure [options]" and "make" to compile Wireshark.
bash-3.2$ ./configure -prefix /opt/wireshark
...
bash-3.2$ make
/usr/bin/perl ./make-version.pl .
Version configuration file version.conf not found.  Using defaults.
This is a build from SVN (or a SVN snapshot).
SVN version tag will be computed.
svnversion.h is up-to-date.
make  all-recursive
Making all in tools
Making all in lemon
make[3]: Nothing to be done for `all'.
sed \
        -e 's,@BIN_PREFIX\@,/opt/wireshark/bin,' \
        -e 's,@TSHARK_BIN\@,tshark,' \
        -e 's,@DUMPCAP_BIN\@,dumpcap,' \
        < ./setuid-root.pl.in > setuid-root.pl
chmod +x setuid-root.pl
Making all in wsutil
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
-I./..  -I/opt/gtk/include -I/usr/local/include -I/usr/local/include/pcap 
'-DPLUGIN_DIR="/opt/wireshark/lib/wireshark/plugins/1.3.3"' -Werror
-DNEW_PACKET_LIST -DINET6 -no-cpp-precomp -D_U_="__attribute__((unused))" -g
-O2 -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels
-Wpointer-arith -Wno-pointer-sign -Wcast-align -Wformat-security
-I/usr/local/include -D_REENTRANT -I/opt/gtk/include/gtk-2.0
-I/opt/gtk/lib/gtk-2.0/include -I/opt/gtk/include/atk-1.0
-I/opt/gtk/include/cairo -I/opt/gtk/include/pango-1.0
-I/opt/gtk/include/glib-2.0 -I/opt/gtk/lib/glib-2.0/include
-I/opt/gtk/include/pixman-1 -I/opt/gtk/include/freetype2
-I/opt/gtk/include/libpng12   -I/usr/local/include/pcap  -MT mpeg-audio.lo -MD
-MP -MF .deps/mpeg-audio.Tpo -c -o mpeg-audio.lo mpeg-audio.c
../libtool: line 790: X--tag=CC: command not found
../libtool: line 823: libtool: ignoring unknown tag : command not found
../libtool: line 790: X--mode=compile: command not found
../libtool: line 956: *** Warning: inferring the mode of operation is
deprecated.: command not found
../libtool: line 957: *** Future versions of Libtool will require --mode=MODE
be specified.: command not found
../libtool: line 1100: Xgcc: command not found
../libtool: line 1100: X-DHAVE_CONFIG_H: command not found
../libtool: line 1100: X-I.: command not found
../libtool: line 1100: X-I..: command not found
../libtool: line 1100: X-I./..: No such file or directory
../libtool: line 1100: X-I/opt/gtk/include: No such file or directory
../libtool: line 1100: X-I/usr/local/include: No such file or directory
../libtool: line 1100: X-I/usr/local/include/pcap: No such file or directory
../libtool: line 1100:
X-DPLUGIN_DIR="/opt/wireshark/lib/wireshark/plugins/1.3.3": No such file or
directory
../libtool: line 1100: X-Werror: command not found
../libtool: line 1100: X-DNEW_PACKET_LIST: command not found
../libtool: line 1100: X-DINET6: command not found
../libtool: line 1100: X-no-cpp-precomp: command not found
../libtool: line 1100: X-D_U_=__attribute__((unused)): command not found
../libtool: line 1100: X-g: command not found
../libtool: line 1100: X-O2: command not found
../libtool: line 1100: X-Wall: command not found
../libtool: line 1100: X-W: command not found
../libtool: line 1100: X-Wextra: command not found
../libtool: line 1100: X-Wdeclaration-after-statement: command not found
../libtool: line 1100: X-Wendif-labels: command not found
../libtool: line 1100: X-Wpointer-arith: command not found
../libtool: line 1100: X-Wno-pointer-sign: command not found
../libtool: line 1100: X-Wcast-align: command not found
../libtool: line 1100: X-Wformat-security: command not found
../libtool: line 1100: X-I/usr/local/include: No such file or directory
../libtool: line 1100: X-D_REENTRANT: command not found
../libtool: line 1100: X-I/opt/gtk/include/gtk-2.0: No such file or directory
../libtool: line 1100: X-I/opt/gtk/lib/gtk-2.0/include: No such file or
directory
../libtool: line 1100: X-I/opt/gtk/include/atk-1.0: No such file or directory
../libtool: line 1100: X-I/opt/gtk/include/cairo: No such file or directory
../libtool: line 1100: X-I/opt/gtk/include/pango-1.0: No such file or directory
../libtool: line 1100: X-I/opt/gtk/include/glib-2.0: No such file or directory
../libtool: line 1100: X-I/opt/gtk/lib/glib-2.0/include: No such file or
directory
../libtool: line 1100: X-I/opt/gtk/include/pixman-1: No such file or directory
../libtool: line 1100: X-I/opt/gtk/include/freetype2: No such file or directory
../libtool: line 1100: X-I/opt/gtk/include/libpng12: No such file or directory
../libtool: line 1100: X-I/usr/local/include/pcap: No such file or directory
../libtool: line 1100: X-MT: command not found
../libtool: line 1100: Xmpeg-audio.lo: command not found
../libtool: line 1100: X-MD: command not found
../libtool: line 1100: X-MP: command not found
../libtool: line 1100: X-MF: command not found
../libtool: line 1100: X.deps/mpeg-audio.Tpo: No such file or directory
../libtool: line 1100: X-c: command not found
../libtool: line 1151: Xmpeg-audio.lo: command not found
../libtool: line 1156: libtool: compile: cannot determine name of library
object from `': command not found
make[2]: *** [mpeg-audio.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.