[GNC] GnuCash 5.9 build failing on Linux MInt 22
John Ralls
jralls at ceridwen.us
Tue Oct 29 12:55:02 EDT 2024
> On Oct 29, 2024, at 01:34, David Cousens <davidcousens49 at gmail.com> wrote:
>
> The build of Gnucash on Linux Mint 22 (Wilma) (ubuntu 22.04) is failing
> in cmake detecting glib2.0. The installed cmake version is 3.28.3
>
> cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr/local -DWITH_PYTHON=ON ../
>
> -- Checking for module 'glib-2.0>=2.56.1'
> -- Package 'glib-2.0', required by 'virtual:world', not found
> CMake Error at /usr/share/cmake-3.28/Modules/FindPkgConfig.cmake:619
> (message):
> The following required packages were not found:
>
> - glib-2.0>=2.56.1
>
> Linux Mint 22 on my computer has glib2.0 2.80.0-6ubuntu3.1 installed
> but it is called
>
> libglib2.0-0t64.
>
> This would appear to be a problem with how cmake checks for glib-2.0?
>
> Any suggestions?
Do you have libglib.2.0-dev installed? It provides /usr/lib/x86_64-linux-gnu/pkgconfig/glib-2.0.pc that cmake needs to find libglib.
Regards,
John Ralls
More information about the gnucash-user
mailing list