[prev in list] [next in list] [prev in thread] [next in thread] 

List:       syslog-ng
Subject:    Re: [syslog-ng] GLib missing when running compilation with cmake
From:       Alexandre Santos <alexandre.rosas.santos () gmail ! com>
Date:       2019-10-31 16:48:44
Message-ID: CAHxG_70GubPLRWD_Cd5Gy5xJRg+2XVbRd_fvJDoSGguhMjBs7A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Got it,

missing libglib2.0-dev

Thanks

On Thu, Oct 31, 2019 at 4:22 PM Alexandre Santos <
alexandre.rosas.santos@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@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@5526d87140af:/asantos/src/syslog-ng-git#
>
> Can you explain me what is happening?
> Thanks,
> Alex
>
>
>

[Attachment #5 (text/html)]

<div dir="ltr"><div>Got it, <br></div><div><br></div><div>missing libglib2.0-dev \
<br></div><div><br></div><div>Thanks<br></div></div><br><div class="gmail_quote"><div \
dir="ltr" class="gmail_attr">On Thu, Oct 31, 2019 at 4:22 PM Alexandre Santos &lt;<a \
href="mailto:alexandre.rosas.santos@gmail.com">alexandre.rosas.santos@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi \
All,<br><br><div>I got the following error, when compiling with \
cmake:</div><div>...<br></div><span style="color:rgb(0,0,255)"><span \
style="font-family:monospace">-- Found PkgConfig: /usr/bin/pkg-config (found version \
&quot;0.29&quot;)<br><span style="color:rgb(204,0,0)">CMake Error at \
/usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):<br>   \
Could NOT find GLIB (missing: GLIB_INCLUDE_DIRS GLIB_LIBRARIES<br>   \
GLIB_GMODULE_LIBRARIES GLIB_GTHREAD_LIBRARIES)<br>Call Stack (most recent call \
first):<br>   /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 \
(_FPHSA_FAILURE_MESSAGE)<br>   cmake/Modules/FindGLIB.cmake:111 \
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)<br>   CMakeLists.txt:168 \
(find_package)</span><br><br>-- Configuring incomplete, errors occurred!<br>See also \
&quot;/thanos/src/syslog-ng/build/CMakeFiles/CMakeOutput.log&quot;.<br></span></span><div><span \
style="color:rgb(0,0,255)"><span style="font-family:monospace">See also \
&quot;/thanos/src/syslog-ng/build/CMakeFiles/CMakeError.log&quot;.</span></span></div><div><span \
style="color:rgb(0,0,255)"><span \
style="font-family:monospace"><br></span></span></div><div><span \
style="color:rgb(0,0,255)"><span \
style="font-family:monospace"><br></span></span></div><br>Nevertheless, I have the \
following GLibs installed:<div><span style="color:rgb(0,0,255)"><span \
style="font-family:monospace">root@5526d87140af:/asantos/src/syslog-ng-git# apt list \
libglib*<br>Listing... Done<br>libglib-object-introspection-perl/oldstable 0.042-1 \
amd64<br>libglib-perl/oldstable 3:1.324-1 amd64<br>libglib2.0-0/oldstable,now \
2.50.3-2+deb9u1 amd64 [installed,automatic]<br>libglib2.0-0-dbg/oldstable \
2.50.3-2+deb9u1 amd64<br>libglib2.0-bin/oldstable 2.50.3-2+deb9u1 \
amd64<br>libglib2.0-cil/oldstable 2.12.40-2 amd64<br>libglib2.0-cil-dev/oldstable \
2.12.40-2 amd64<br>libglib2.0-data/oldstable,now 2.50.3-2+deb9u1 all \
[installed,automatic]<br>libglib2.0-dev/oldstable 2.50.3-2+deb9u1 \
amd64<br>libglib2.0-doc/oldstable 2.50.3-2+deb9u1 all<br>libglib2.0-tests/oldstable \
2.50.3-2+deb9u1 amd64<br>libglib3.0-cil/oldstable 2.99.3-2+b1 \
amd64<br>libglib3.0-cil-dev/oldstable 2.99.3-2+b1 \
amd64<br>libglibmm-2.4-1v5/oldstable 2.50.0-1 amd64<br>libglibmm-2.4-dev/oldstable \
2.50.0-1 amd64<br>libglibmm-2.4-doc/oldstable 2.50.0-1 all<br> \
root@5526d87140af:/asantos/src/syslog-ng-git#

</span></span></div><div><span style="color:rgb(0,0,255)"><span \
style="font-family:monospace"><br></span></span></div><div><span \
style="color:rgb(0,0,255)"><span \
style="font-family:monospace"></span></span></div><div>Can you explain me what is \
happening?<span style="color:rgb(0,0,255)"><span \
style="font-family:monospace"></span></span><br></div><div>Thanks,</div><div>Alex</div><div><br></div><div><br></div></div>
 </blockquote></div>


[Attachment #6 (text/plain)]

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic