[syslog-ng] GLib missing when running compilation with cmake

Laszlo Szemere (lszemere) Laszlo.Szemere at oneidentity.com
Mon Nov 4 08:43:21 UTC 2019


Hello Alex,
 thank you for writing back with the result. I am glad it is working for you now.

Br,
Laci

________________________________________
From: syslog-ng <syslog-ng-bounces at lists.balabit.hu> on behalf of Alexandre Santos <alexandre.rosas.santos at gmail.com>
Sent: Thursday, October 31, 2019 17:48
To: syslog-ng at lists.balabit.hu
Subject: Re: [syslog-ng] GLib missing when running compilation with cmake

CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.

Got it,

missing libglib2.0-dev

Thanks

On Thu, Oct 31, 2019 at 4:22 PM Alexandre Santos <alexandre.rosas.santos at gmail.com<mailto:alexandre.rosas.santos at gmail.com>> wrote:
Hi All,

I got the following error, when compiling with cmake:
...
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find GLIB (missing: GLIB_INCLUDE_DIRS GLIB_LIBRARIES
  GLIB_GMODULE_LIBRARIES GLIB_GTHREAD_LIBRARIES)
Call Stack (most recent call first):
  /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/Modules/FindGLIB.cmake:111 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:168 (find_package)

-- Configuring incomplete, errors occurred!
See also "/thanos/src/syslog-ng/build/CMakeFiles/CMakeOutput.log".
See also "/thanos/src/syslog-ng/build/CMakeFiles/CMakeError.log".



Nevertheless, I have the following GLibs installed:
root at 5526d87140af:/asantos/src/syslog-ng-git# apt list libglib*
Listing... Done
libglib-object-introspection-perl/oldstable 0.042-1 amd64
libglib-perl/oldstable 3:1.324-1 amd64
libglib2.0-0/oldstable,now 2.50.3-2+deb9u1 amd64 [installed,automatic]
libglib2.0-0-dbg/oldstable 2.50.3-2+deb9u1 amd64
libglib2.0-bin/oldstable 2.50.3-2+deb9u1 amd64
libglib2.0-cil/oldstable 2.12.40-2 amd64
libglib2.0-cil-dev/oldstable 2.12.40-2 amd64
libglib2.0-data/oldstable,now 2.50.3-2+deb9u1 all [installed,automatic]
libglib2.0-dev/oldstable 2.50.3-2+deb9u1 amd64
libglib2.0-doc/oldstable 2.50.3-2+deb9u1 all
libglib2.0-tests/oldstable 2.50.3-2+deb9u1 amd64
libglib3.0-cil/oldstable 2.99.3-2+b1 amd64
libglib3.0-cil-dev/oldstable 2.99.3-2+b1 amd64
libglibmm-2.4-1v5/oldstable 2.50.0-1 amd64
libglibmm-2.4-dev/oldstable 2.50.0-1 amd64
libglibmm-2.4-doc/oldstable 2.50.0-1 all
root at 5526d87140af:/asantos/src/syslog-ng-git#

Can you explain me what is happening?
Thanks,
Alex




More information about the syslog-ng mailing list