Ask Your Question
0

Missing autogen.sh in 3.0.0?

asked 2019-04-06 16:52:52 +0000

d3m5 gravatar image

updated 2019-04-06 16:53:46 +0000

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.

edit retag flag offensive 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 gravatar imaged3m5 ( 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 gravatar imageGuy Harris ( 2019-04-06 20:47:49 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-04-06 17:42:14 +0000

cmaynard gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-04-06 16:52:52 +0000

Seen: 1,015 times

Last updated: Apr 06 '19