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

Alexandre Santos alexandre.rosas.santos at gmail.com
Thu Oct 31 16:48:44 UTC 2019


Got it,

missing libglib2.0-dev

Thanks

On Thu, Oct 31, 2019 at 4:22 PM Alexandre Santos <
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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20191031/72b0a2eb/attachment-0001.html>


More information about the syslog-ng mailing list