Wireshark-dev: Re: [Wireshark-dev] Pointers needed for building Wireshark 2.6.3 on a Raspberry

From: Richard Sharpe <realrichardsharpe@xxxxxxxxx>
Date: Tue, 11 Sep 2018 17:09:14 -0700
On Mon, Sep 10, 2018 at 9:46 PM, Geoff Lee <geoff.lee99@xxxxxxxxx> wrote:
> Hi,
>
> I’m hoping you can give me some pointers about how to compile Wireshark
> 2.6.3 on a Raspberry Pi Model 3B, with Raspbian Stretch as the OS.
>
> I have wireshark 2.2.6, installed via apt-get, but am experiencing a problem
> which I have been told is solved in more uptodate versions of wireshark.
> Unfortunately I haven’t been able to locate any later versions compiled for
> the Raspberry Pi, which I understand uses an ARMv7 processor.
>
> It’s my first time attempting a compile from source using CMake (I did use
> make once about 5 years ago on another project – and that took me about 2
> months to get working L ).  I’ve read a couple of CMake tutorials, but there
> is rather a large gap between the basic “hello world” examples, and really
> substantial project like wireshark!, on top of which I know very little
> about C and C++.

So, assuming you have the sources, you should be able to do:

1. mkdir wireshark-build
2. cd wireshark-build
3. cmake /path/to/the/wireshark/source  # This might just be cmake ../wireshark
4. make
5. Wait a long while

If step 3 complains about something missing use apt-get or whatever to
install it, and run step 3 again.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)