davidgfnet / wireshark-whatsapp

Whatsapp dissector plugin for wireshark
Other
207 stars 68 forks source link

Compile error #2

Closed Fale closed 11 years ago

Fale commented 11 years ago

As soon as I run the cmake .. the following error is returned:

fale@fale-1015CX:~/wireshark-whatsapp/build$ cmake .. -- The C compiler identification is GNU 4.7.3 -- The CXX compiler identification is GNU 4.7.3 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- checking for one of the modules 'glib-2.0>=2.4.0' CMake Error at cmake/FindWireshark.cmake:26 (MESSAGE): Could NOT find the wireshark library and headers Call Stack (most recent call first): CMakeLists.txt:38 (find_package)

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: CRYPTO_INCLUDE_DIR (ADVANCED) used as include directory in directory /home/fale/wireshark-whatsapp WIRESHARK_INCLUDE_DIRS used as include directory in directory /home/fale/wireshark-whatsapp

-- Configuring incomplete, errors occurred! fale@fale-1015CX:~/wireshark-whatsapp/build$

I think there is something wrong with some paths, but I don't get what the values should be.

Thanks, Fabio

davidgfnet commented 11 years ago

CMake is really explicit: Could NOT find the wireshark library and headers

You need wireshark headers and crypto (aka openssl) headers too...