ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] unable to compile wireshark-2.0.1 on Ubuntu 14.04

From: Bálint Réczey <balint@xxxxxxxxxxxxxxx>
Date: Wed, 9 Nov 2016 16:40:25 +0100
Hi,

2016-11-08 22:43 GMT+01:00 Vidya Dharmaraju <vidyad@xxxxxxxxxxx>:
> Hi wireshark-dev,
>
>
>
> I am unable to compile wireshark 2 on Ubuntu 14.04
>
>
>
> Need some quick help here – any clues, please share.
>
>
>
> Attached is the 1) config.log 2) Compile errors with make
>
>
>
> Steps followed:
>
> 1)
>
> sudo apt-get build-dep wireshark
>
> sudo apt-get install qtbase5-dev qtbase5-dev-tools qttools5-dev
> qttools5-dev-tools qtmultimedia5-dev libqt5svg5-dev
>
>
>
> 2)
>
> ./configure
>
>
>
> Loaded whatever packages ./configure said are missing.
>
>
>
> 3)
>
> make
>
>
>
> Following is the error I get, I do have libtool installed already:
>
>
>
>
>
> root@vidya-Latitude-E6410:~/wireshark/Wireshark-dev-master/wireshark-2.0.1#

Compiling as root is usally a bad idea.

The build dependencies include the packages to compile Wireshark with
cmake, not with autotools.

Please run:
 cmake . && make
in wireshark's build directory.

Reading README.cmake would also be a idea.

Cheers,
Balint


> make
>
>   PERL     version.h
>
> Version configuration file version.conf not found.  Using defaults.
>
> version.h unchanged.
>
> make  all-recursive
>
> make[1]: Entering directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1'
>
> Making all in tools
>
> make[2]: Entering directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1/tools'
>
> make[3]: Entering directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1'
>
> make[3]: Leaving directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1'
>
> Making all in lemon
>
> make[3]: Entering directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1/tools/lemon'
>
> make[4]: Entering directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1'
>
> make[4]: Leaving directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1'
>
> make[3]: Nothing to be done for `all'.
>
> make[3]: Leaving directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1/tools/lemon'
>
> make[3]: Entering directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1/tools'
>
> make[4]: Entering directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1'
>
> make[4]: Leaving directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1'
>
> sed \
>
>                                 -e 's,@BIN_PREFIX\@,/usr/local/bin,' \
>
>                                 -e 's,@TSHARK_BIN\@,tshark,' \
>
>                                 -e 's,@DUMPCAP_BIN\@,dumpcap,' \
>
>                                 < ./setuid-root.pl.in > setuid-root.pl
>
> chmod +x setuid-root.pl
>
> make[3]: Leaving directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1/tools'
>
> make[2]: Leaving directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1/tools'
>
> Making all in wsutil
>
> make[2]: Entering directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1/wsutil'
>
> make[3]: Entering directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1'
>
> make[3]: Leaving directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1'
>
>   CC       adler32.lo
>
> /bin/bash: line 1: @LIBTOOL@: command not found
>
> make[2]: *** [adler32.lo] Error 127
>
> make[2]: Leaving directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1/wsutil'
>
> make[1]: *** [all-recursive] Error 1
>
> make[1]: Leaving directory
> `/home/vidya/wireshark/Wireshark-dev-master/wireshark-2.0.1'
>
> make: *** [all] Error 2
>
>
>
>
>
> root@vidya-Latitude-E6410:~/wireshark/Wireshark-dev-master/wireshark-2.0.1#
> which libtool
>
> /usr/bin/libtool
>
> root@vidya-Latitude-E6410:~/wireshark/Wireshark-dev-master/wireshark-2.0.1#
> find / -name libtool -print
>
> /usr/share/libtool
>
> /usr/share/doc/libtool
>
> /usr/bin/libtool
>
>
>
>
>
> Thank you!
>
>
>
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe