Wireshark mailing list archives

Re: Could NOT find GLIB2 (missing: GLIB2_LIBRARY GLIB2_MAIN_INCLUDE_DIR)


From: Dario Lombardo <lomato () gmail com>
Date: Mon, 11 Mar 2019 17:22:47 +0100

Hi Mike
Did you try the script tools/rpm-setup.sh? It should do the dirty job for
you. It supports centos7.

On Mon, Mar 11, 2019 at 5:07 PM Mike Mohler <mike.mohler () omnisci com> wrote:

Running into the following problem trying to make wireshark 3.0 on CentOS
7.   I have installed cmake and it is installed
in /usr/local/share/cmake-3.6.   My wireshark source is
in /home/centos/wireshark-3.0.0 and my build folder is
in /home/centos/build.   The glib libaries are installed.  When I run 'yum
list glib'
and 'yum list glib2' is shows as both being installed.   Any help would be
appreciated.

centos@ip-172-31-14-170 build]$ cmake ../wireshark-3.0.0
-- Generating build using CMake 3.6.2
-- CMake build type: RelWithDebInfo
-- V: 3.0.0, MaV: 3, MiV: 0, PL: 0, EV: .
-- Linker flags:  -Wl,--as-needed
-- Checking for one of the modules 'glib-2.0>=2.32.0'
CMake Error at
/usr/local/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
  Could NOT find GLIB2 (missing: GLIB2_LIBRARY GLIB2_MAIN_INCLUDE_DIR)
Call Stack (most recent call first):

/usr/local/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindGLIB2.cmake:88 (find_package_handle_standard_args)
  CMakeLists.txt:997 (find_package)

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org
?subject=unsubscribe



-- 

Naima is online.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: