Many thanks indeed to everyone who posted answers to help me! Much
appreciated.
(And apologies if this fails to attach to the thread properly - I
foolishly
set the daily digest option when I subscribed to the list, and can't
figure
out how to respond properly to individual messages. I've fixed that
now).
I'm making much better progress now :-)
As explained in Guy Harris's most recent and very illuminating post,
(almost) all of the "error" messages were in fact part of the CMake
process,
for probing my gcc compiler to see what features and options it supports.
I have now managed to track down the cause of my (CMake) problem. The
final
on screen error message was
fatal: Not a git repository (or any of the parent directories): .git
CMake Error at CMakeLists.txt:3082 (string):
string begin index: 1 is out of range 0 - 0
Looking at the CMakelists.txt file around line 3082, I found a comment in
line 3042 which said
# This will fail if we're not building from a git checkout.
Since I had downloaded and unzipped / untarred the wireshark code (ie I
wasn't using a git checkout!), I suspected this might be the cause of my
problem, so I created a new directory and cloned a copy of the code
directly
from the Github repository, via :
`git clone -b master-2.6 --single-branch
https://github.com/wireshark/wireshark.git`
Executing (from a build directory parallel to the cloned git directory)
`cmake -G Ninja ../wireshark` ran successfully, first time :-) , and
produced a build.ninja file. So now I am able to run `ninja` and see
many
compilations happening on my Raspberry Pi.
I'm not really sure why the downloaded untarred unzipped version wouldn't
pass cmake safely, but since the cloned git version does, the cmake
part of
my problem is now behind me.