This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

I am on step 9.2.1 here. My question is on how to build the dissector on my Mac. I'm vaguely running into ideas about using automake/autoconf. Is this necessary? If so, premade plugins like gryphon don't allow me to build them as well. There seems to be a need for much more than just a Makefile.am file.

asked 29 Jan '15, 04:22

Erronsing's gravatar image

Erronsing
6114
accept rate: 0%


Have you completed the first part of the Development Guide e.g. Sec 3.5.1 which discusses using configure to create Makefile from the Makefile.am templates.

If you haven't worked your way through Sect 2 & 3, then you need to do so first to create\prove your build environment before attempting to add your own dissector.

permanent link

answered 29 Jan '15, 05:06

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

Hello. Trying to run ./autogen.sh grants me this mesage: Useless use of /d modifier in transliteration operator at /usr/local/share/automake-1.9/Automake/Wrap.pm line 60. aclocal -I ./aclocal-fallback -I /usr/local/pkg-config/share/aclocal configure.ac:2975: file `plugins/Custom.m4' does not exist

(02 Feb '15, 03:14) Erronsing

What version of Wireshark are you trying to build? Are you building from a tarball? do you have a file plugins/Custom.m4?

(02 Feb '15, 07:28) Anders ♦

The wireshark version was cloned from https://code.wireshark.org/review/wireshark. It's just a folder, not a tarball.I have a file plugins/Custom.m4.example. Is this something I should look into and/or rename to Custom.m4?Simply removing .example gives me file `asn1/Custom.m4' does not exist. I'm going to try to just add this file whereever this message pops up.

(05 Feb '15, 05:37) Erronsing
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×637
×53
×2

question asked: 29 Jan '15, 04:22

question was seen: 2,669 times

last updated: 05 Feb '15, 05:45

p​o​w​e​r​e​d by O​S​Q​A