-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with make #2
Comments
Easiest fix would be creating a
Add more Since I created this project, I learnt about pluginIF, which is an official interface for using Wireshark. You might want to check it out. |
those paths, are they to wireshark themselves or this lib? I have installed wireshark via apt install wireshark, how will I work with this? |
You'll need to download the Wireshark source code and point to it. |
Preferably, our own fork to avoid running into problems: https://github.com/epl-viz/wireshark |
Alright, i've cloned your fork of wireshark, so I need to first create a "build" file and then cmake the wireshark folder, and only then point towards that folder from the liblibwireshark folder in the private.cmake file? I say this because I don't see any build folder in the wireshark source code |
Wireshark's core functionality is split into a number of libraries: libwireshark, libwsutil, libwscodecs and so on. These are installed system-wide, but your system wireshark doesn't install headers for them and the headers in the repository might be of an incompatible version, so you need to compile Wireshark yourself. You can do so with CMake or with Autotools. With CMake it would look like this:
|
I've done what you said with your fork, and I've tried to cmake it but it will tell me the following:
|
You'll have to install Wireshark's required dependencies. |
I've just installed apt-rdepends wireshark and I still have the same error occurred while cmake |
|
alright cool, it lists all the dependencies, however, is there a way I can install a lot of them at once? I'd rather not go installing them one by one. |
I am not a Debian user, but googling brought me to https://ubuntuforums.org/showthread.php?t=1681006&p=10424779#post10424779
|
Alright cool, do you know how should i use this command? it's give the next error: |
Google it? ;) |
I try to make but i get this error:
|
You have built Wireshark already, right? If so: @mensinda It looks like CMake links against system Wireshark instead of the Wireshark specified in the @liorzemah Till then, you could just do a system-wide install of the Wireshark you already built with |
I also have same issue: |
I do the commands as specified, I git clone, mkdir cd etc, cmake works fine, but then i fail to make.
Here is the CMake output:
The text was updated successfully, but these errors were encountered: