Ask Your Question

make and ./configure don't work

asked 2020-03-08 14:22:43 +0000

varvara gravatar image

updated 2020-03-08 20:52:54 +0000

Guy Harris gravatar image

I am a noob to wireshark. I need to write a dissector on c++ that will watch 802.15.4 protocol packets and try to analyze them. I use Ubuntu 18.04. I did $git clone, then $cd wireshark /, then $./configure result is $bash: ./configure: there is no such file or directory. And then $make result is $make: * No goals set and no makefile found. Stop. Please help what I need to do in this situation. Please advise some tutorials for beginners on writing dissectors

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-03-08 19:44:23 +0000

Guy Harris gravatar image

updated 2020-03-08 19:44:55 +0000

We don't use autotools any more; we now use CMake.

Ubuntu has CMake as an installable package. Ubuntu is a Debian derivative, so try running the script tools/ from the top-level Wireshark source directory to install all the tools and libraries that are necessary to build Wireshark, including CMake. If you run it with the --install-optional argument, it will also install optional tools and libraries - without some of the optional libraries, some Wireshark features won't work.

The Ninja build tool is faster than make, and CMake can generate files for Ninja if you run it with the -G Ninja flag. See the "Building on Unix" section of the Wireshark Developer's Guide.

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


Asked: 2020-03-08 14:22:43 +0000

Seen: 314 times

Last updated: Mar 08 '20