First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Missing autogen.sh in 3.0.0?

The tarball wireshark.2.6.7.tar.xz does contain 'autogen.sh' and 'configure' but wireshark.3.0.0.tar.xz does not include these files. I'll try building using the scripts from the older release, but I recognize that I am headed off in uncharted territory. Any better ideas? I'm building for CentOS 7.

d3m5's avatar
1
d3m5
asked 2019-04-06 16:52:52 +0000, updated 2019-04-06 16:53:46 +0000
edit flag offensive 0 remove flag close merge delete

Comments

Looking at the diff between the unpacked 2.6.7 and 3.0.0 directories, it's much more than just two missing scripts. Perhaps the problem is that I am trying to use 2.6 build instructions for 3.0. I think I'll stick with 2.6 for now.

d3m5's avatar d3m5 (2019-04-06 19:25:12 +0000) edit

Perhaps the problem is that I am trying to use 2.6 build instructions for 3.0.

Yes, that's the problem, as per cmaynard's comment.

Guy Harris's avatar Guy Harris (2019-04-06 20:47:49 +0000) edit
add a comment see more comments

1 Answer

1

Starting with Wireshark 3.0.0, autotools is no longer supported, only cmake. I am surprised that there's no mention of this in the Wireshark 3.0.0 Release Notes, but I guess the release notes is geared more for users than developers.

That said, the Wireshark developer's guide does reflect the new build process:


3.5.1. Building on Unix

The recommended (and fastest) way to build Wireshark is with CMake and Ninja:

# Starting from your Wireshark source directory, create a build directory
# alongside it.
$ cd ..
$ mkdir wireshark-ninja
$ cd wireshark-ninja
# Assumes your source directory is named "wireshark".
$ cmake -G Ninja ../wireshark
$ ninja (or cmake --build .)

If you need to build with a non-standard configuration, you can run

$ cmake -LH ../wireshark

to see what options you have.


I hope that helps.

cmaynard's avatar
11.1k
cmaynard
answered 2019-04-06 17:42:14 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer