[LU-3135] Wireshark plugins Makefile not working Created: 09/Apr/13  Updated: 27/Apr/13  Resolved: 27/Apr/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.4.0
Fix Version/s: Lustre 2.4.0

Type: Bug Priority: Major
Reporter: Doug Oucharek (Inactive) Assignee: Nathaniel Clark
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 7608

 Description   

I am trying to use the Wireshark plugin Makefile as is but cannot get it to work without modifying it.

When I get wireshark using the CentOS package manager (which the Makefile assumes), the /usr/include/wireshark directory seems to be missing some header files needed by the plugins.

Also, the WS_VERSION is not getting anything so the plugins cannot be installed in the proper place.

I suspect there are issues with how the whole "pkg-config" thing works. I don't know enough about package management to figure this one out so I ended up downloading the full Wireshark source tree, building/installing it, then modifying the plugin Makefile to hard-code paths.

If there is a way to get the package manager to work in this context, please update the README file in the lustre/contrib/wireshark directory to explain what must be done.



 Comments   
Comment by Nathaniel Clark [ 10/Apr/13 ]

The default CentOS 6 wireshark (1.2.x is too old). We need at least 1.6.8. I can add a Makefile check I think.

Comment by Nathaniel Clark [ 10/Apr/13 ]

Add version check to Makefile

http://review.whamcloud.com/6011

Comment by Andreas Dilger [ 10/Apr/13 ]

Doug, is there a wireshark-devel package that you need to install for the headers?

Comment by Doug Oucharek (Inactive) [ 11/Apr/13 ]

I used the "Add/Remove Software" app on CentOS 6.3. I installed three packages:
wireshark-1.2.15-2.el6_2.1
wireshark-devel-1.2.15-2.el6_2.1
wireshark-gnome-1.2.15-2.el6_2.1

As Nathaniel points out, this is too old a version.

Comment by Peter Jones [ 27/Apr/13 ]

Landed for 2.4

Generated at Sat Feb 10 01:31:16 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.