Re: [GNC] Building Gnucash on Fedora 37 - "No package 'glib-2.0' found" error

2023-04-29 Thread Vivek Gani
I'm pretty sure it was a git checkout via `git clone
g...@github.com:Gnucash/gnucash.git`
. I was sorta pressed for time and ended up just installing the rpm package
of gnucash which met my needs for python bindings - see
https://discussion.fedoraproject.org/t/trying-to-build-gnucash-from-source-cmake-getting-no-package-glib-2-0-found/79234
for another discussion thread I started at the time.

-Vivek

On Tue, Apr 25, 2023 at 4:45 AM Geert Janssens 
wrote:

> Hi,
>
> A late reply...
>
> I'm on Fedora 37 as well, but can't reproduce the error.
>
> I'm currently building the current stable branch though, not 4.13. Where
> does your gnucash-4.13 come from ? Is that a release tarball, or a git
> checkout ?
>
> Regards,
>
> Geert
>
> Op donderdag 9 maart 2023 23:52:52 CEST schreef Vivek Gani:
>
> > Hi,
>
> >
>
> > I'm trying to build gnucash from source (rather than the rpm package or
>
> > flatpak for python bindings) on Linux (Fedora 37) and keep running into
> an
>
> > issue where on build I get the error:
>
> >
>
> > ```
>
> > -- Checking for module 'glib-2.0>=2.56.1'
>
> > --   No package 'glib-2.0' found
>
> > ```
>
> >
>
> > What I've tried so far:
>
> > - I've installed glib2.0-devel via `sudo dnf install glib2-devel`
>
> > - I've checked via `yum provides */glib2.0.pc` which shows it is in the
>
> > `/usr/lib64/pkgconfig` directory.
>
> > - I've checked the contents of `echo $PKG_CONFIG_PATH` which shows
>
> > directories like `/usr/lib64/pkgconfig` are listed.
>
> > - I've tried building gnucash with various different arguments, but
> similar
>
> > to the directions in
>
> > https://wiki.gnucash.org/wiki/CMake#GnuCash_Configuration_Variables &
>
> >
> https://wiki.gnucash.org/wiki/Building_On_Linux#Build_using_CMake_and_Ninja
>
> > I've tried in my build directory:
>
> > `cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt
>
> > -DCMAKE_PREFIX_PATH=$PKG_CONFIG_PATH  -DCMAKE_VERBOSE_MAKEFILE=on
>
> > ../gnucash-4.13`
>
> >
>
> > and get the glib error. It happens also without the CMAKE_PREFIX_PATH,
> just
>
> > running plain `cmake .` in the gnucash source directory, etc.
>
> >
>
> > Any idea what I'm missing to get things to build?
>
> >
>
> > Thanks in advance,
>
> > Vivek
>
> > ___
>
> > gnucash-user mailing list
>
> > gnucash-user@gnucash.org
>
> > To update your subscription preferences or to unsubscribe:
>
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
>
> > -
>
> > Please remember to CC this list on all your replies.
>
> > You can do this by using Reply-To-List or Reply-All.
>
>
>
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Building Gnucash on Fedora 37 - "No package 'glib-2.0' found" error

2023-04-25 Thread Geert Janssens
Hi,

A late reply...

I'm on Fedora 37 as well, but can't reproduce the error.

I'm currently building the current stable branch though, not 4.13. Where does 
your 
gnucash-4.13 come from ? Is that a release tarball, or a git checkout ?

Regards,

Geert

Op donderdag 9 maart 2023 23:52:52 CEST schreef Vivek Gani:
> Hi,
> 
> I'm trying to build gnucash from source (rather than the rpm package or
> flatpak for python bindings) on Linux (Fedora 37) and keep running into an
> issue where on build I get the error:
> 
> ```
> -- Checking for module 'glib-2.0>=2.56.1'
> --   No package 'glib-2.0' found
> ```
> 
> What I've tried so far:
> - I've installed glib2.0-devel via `sudo dnf install glib2-devel`
> - I've checked via `yum provides */glib2.0.pc` which shows it is in the
> `/usr/lib64/pkgconfig` directory.
> - I've checked the contents of `echo $PKG_CONFIG_PATH` which shows
> directories like `/usr/lib64/pkgconfig` are listed.
> - I've tried building gnucash with various different arguments, but similar
> to the directions in
> https://wiki.gnucash.org/wiki/CMake#GnuCash_Configuration_Variables &
> https://wiki.gnucash.org/wiki/Building_On_Linux#Build_using_CMake_and_Ninja
> I've tried in my build directory:
> `cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt
> -DCMAKE_PREFIX_PATH=$PKG_CONFIG_PATH  -DCMAKE_VERBOSE_MAKEFILE=on
> ../gnucash-4.13`
> 
> and get the glib error. It happens also without the CMAKE_PREFIX_PATH, just
> running plain `cmake .` in the gnucash source directory, etc.
> 
> Any idea what I'm missing to get things to build?
> 
> Thanks in advance,
> Vivek
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Building Gnucash on Fedora 37 - "No package 'glib-2.0' found" error

2023-03-09 Thread Stephen M. Butler

This is the package for Ubuntu.

apt --yes --force-yes install libglib2.0 libglib2.0-dev

In fact, here are all the dependencies needed:
apt --yes --force-yes install build-essential
apt --yes --force-yes install cmake
apt --yes --force-yes install ninja-build
apt --yes --force-yes install libglib2.0 libglib2.0-dev
apt --yes --force-yes install libxml2 libxml++2.6-dev libxml2-utils
apt --yes --force-yes install libxslt1.1 libxslt1-dev
apt --yes --force-yes install libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev
apt --yes --force-yes install gtk+3.0 libgtk-3-dev
apt --yes --force-yes install zlib1g zlib1g-dev
apt --yes --force-yes install guile-2.0 guile-2.0-dev
apt --yes --force-yes install swig
apt-get install libboost-all-dev
apt-get install libsecret-1-0 libsecret-1-0-dev
apt-get install aqbanking-tools libaqbanking-dev
apt-get install gwenhywfar-tools libgwenhywfar60 libgwenhywfar60-dev
apt-get install ktoblzcheck libktoblzcheck1-dev
apt-get install libofx-dev
apt-get install xsltproc
apt-get install libdbi1 libdbi-dev libdbd-pgsql libdbd-mysql libdbd-sqlite3
apt-get install python3-pytest
apt --yes --force-yes install googletest



Stephen M Butler, PMP, PSM
stephen.m.butle...@gmail.com
kg...@arrl.net
253-350-0166
---
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

On 3/9/23 14:52, Vivek Gani wrote:

Hi,

I'm trying to build gnucash from source (rather than the rpm package or
flatpak for python bindings) on Linux (Fedora 37) and keep running into an
issue where on build I get the error:

```
-- Checking for module 'glib-2.0>=2.56.1'
--   No package 'glib-2.0' found
```

What I've tried so far:
- I've installed glib2.0-devel via `sudo dnf install glib2-devel`
- I've checked via `yum provides */glib2.0.pc` which shows it is in the
`/usr/lib64/pkgconfig` directory.
- I've checked the contents of `echo $PKG_CONFIG_PATH` which shows
directories like `/usr/lib64/pkgconfig` are listed.
- I've tried building gnucash with various different arguments, but similar
to the directions in
https://wiki.gnucash.org/wiki/CMake#GnuCash_Configuration_Variables &
https://wiki.gnucash.org/wiki/Building_On_Linux#Build_using_CMake_and_Ninja
I've tried in my build directory:
`cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt
-DCMAKE_PREFIX_PATH=$PKG_CONFIG_PATH  -DCMAKE_VERBOSE_MAKEFILE=on
../gnucash-4.13`

and get the glib error. It happens also without the CMAKE_PREFIX_PATH, just
running plain `cmake .` in the gnucash source directory, etc.

Any idea what I'm missing to get things to build?

Thanks in advance,
Vivek
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


[GNC] Building Gnucash on Fedora 37 - "No package 'glib-2.0' found" error

2023-03-09 Thread Vivek Gani
Hi,

I'm trying to build gnucash from source (rather than the rpm package or
flatpak for python bindings) on Linux (Fedora 37) and keep running into an
issue where on build I get the error:

```
-- Checking for module 'glib-2.0>=2.56.1'
--   No package 'glib-2.0' found
```

What I've tried so far:
- I've installed glib2.0-devel via `sudo dnf install glib2-devel`
- I've checked via `yum provides */glib2.0.pc` which shows it is in the
`/usr/lib64/pkgconfig` directory.
- I've checked the contents of `echo $PKG_CONFIG_PATH` which shows
directories like `/usr/lib64/pkgconfig` are listed.
- I've tried building gnucash with various different arguments, but similar
to the directions in
https://wiki.gnucash.org/wiki/CMake#GnuCash_Configuration_Variables &
https://wiki.gnucash.org/wiki/Building_On_Linux#Build_using_CMake_and_Ninja
I've tried in my build directory:
`cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt
-DCMAKE_PREFIX_PATH=$PKG_CONFIG_PATH  -DCMAKE_VERBOSE_MAKEFILE=on
../gnucash-4.13`

and get the glib error. It happens also without the CMAKE_PREFIX_PATH, just
running plain `cmake .` in the gnucash source directory, etc.

Any idea what I'm missing to get things to build?

Thanks in advance,
Vivek
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.