Wireshark mailing list archives

Re: Wireshark latest version's installation problem at Raspberry Pi


From: Michael Tuexen <Michael.Tuexen () lurchi franken de>
Date: Mon, 16 Sep 2013 16:38:08 +0200

On Sep 16, 2013, at 1:18 PM, Francisco Sanchez <F.Sanchez () cwi nl> wrote:

Dear dev,

My name is Francisco Sanchez. I'm a PhD who's trying to install Wireshark latest version in order to obtain the new 
releases. For that purposes, following your instructions at:

http://www.wireshark.org/docs/wsdg_html/#ChIntroHelp

SVN has provided me:

svn co http://anonsvn.wireshark.org/wireshark/trunk/ wireshark

The device where i'd like to install it is a RPi, which its main characteristics are:

pi@raspberrypi ~/wireshark $ cat /etc/*-release
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.raspbian.org/";
SUPPORT_URL="http://www.raspbian.org/RaspbianForums";
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs";

Unfortunately, everything was working fine, but i've found an error after executing sudo make. Attached you can find 
atttached the installation's config.log. 

In order to make clearer this problem, here it's a small resume (steps done):
1. Download from subversion the latest version:
  svn co http://anonsvn.wireshark.org/wireshark/trunk/ wireshark

2. sudo apt-get install libtool          OK
2.1 sudo apt-get install bison           OK 
2.2 sudo apt-get install flex            OK

3. sudo ./autogen.sh                     OK  
3.1 sudo apt-get install libgtk-3-dev    OK

4. sudo ./configure                      OK
     [Output...]
     The Wireshark package has been configured with the following options.
            Build wireshark (Gtk+) : no
                Build wireshark-qt : no
                      Build tshark : yes
                    Build capinfos : yes
                     Build editcap : yes
                     Build dumpcap : yes
                    Build mergecap : yes
                  Build reordercap : yes
                   Build text2pcap : yes
                     Build randpkt : yes
                      Build dftest : yes
                    Build rawshark : yes
                       Build echld : no

  Save files as pcap-ng by default : yes
 Install dumpcap with capabilities : no
            Install dumpcap setuid : no
                 Use dumpcap group : (none)
                       Use plugins : yes
                   Use Lua library : no
                Use Python binding : no
                  Build rtp_player : no
            Build profile binaries : no
                  Use pcap library : yes
                  Use zlib library : yes
              Use kerberos library : no
                Use c-ares library : no
              Use GNU ADNS library : no
               Use SMI MIB library : no
            Use GNU crypto library : no
            Use SSL crypto library : no
          Use IPv6 name resolution : yes
                Use gnutls library : no
    Use POSIX capabilities library : no
                 Use GeoIP library : no
                    Use nl library : no 


5. sudo make         FAIL!!!
   [Output...]
   ...
   ftype-pcre.c: In function 'raw_flag_needed':
   ftype-pcre.c:66:13: error: comparison is always true due to limited range of data type [-Werror=type-limits]
   cc1: all warnings being treated as errors
   make[3]: *** [ftype-pcre.lo] Error 1
   make[3]: Leaving directory `/home/pi/wireshark/epan/ftypes'
   make[2]: *** [all-recursive] Error 1
   make[2]: Leaving directory `/home/pi/wireshark/epan'
   make[1]: *** [all-recursive] Error 1
   make[1]: Leaving directory `/home/pi/wireshark'
   make: *** [all] Error 2 

I've tried different options, but after few days without success i'd need to ask you for advices.
What about

./configure --disable-warnings-as-errors

Best regards
Michael

Thanks in advance,
Francisco Snachez<config.log>___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: