building from source.

Geert Janssens janssens-geert at telenet.be
Tue Nov 5 13:48:57 EST 2013


Steve,

RHEL and by consequence CentOS are too far behind in their libraries for 
GnuCash 2.5.x.

Rebuilding the libraries is hardly an option. Glib2 is a requirement for 
almost every other package on your system, so if you want a special 
glib2 for gnucash, you will probably have to rebuild each and every 
library used by gnucash.

You're in an unfortunate position. You can build 2.4.13 on Centos 6, but 
that won't get you much further. If you want to contribute in the future 
(which I thought I understood from your other mail), you need to work on 
the development branch.

So the only way forward I see for that is installing something like 
virtualbox with a distribution that does have recent enough versions of 
the above mentioned libraries. Almost all other current distros do.

Sorry for the bad news.

Geert

On Tuesday 05 November 2013 13:30:08 Steve wrote:
> Following on from yesterday's "Getting source using git" thread and
> again following the instructions from
> http://wiki.gnucash.org/wiki/Building, I created a seperate build
> directory and executed:
> 
> $ ../configure --enable-compile-warnings --enable-debug
> ...
> checking for pkg-config... /usr/bin/pkg-config
> checking for glib-2.0 >= 2.38 gio-2.0 >= 2.25 gthread-2.0 gobject-2.0
> gmodule-2.0... no checking for glib-2.0 >= 2.36 gio-2.0 >= 2.25
> gthread-2.0 gobject-2.0 gmodule-2.0... no checking for glib-2.0 >=
> 2.32 gio-2.0 >= 2.25 gthread-2.0 gobject-2.0 gmodule-2.0... no
> checking for glib-2.0 >= 2.28 gio-2.0 >= 2.25 gthread-2.0 gobject-2.0
> gmodule-2.0... no Requested 'glib-2.0 >= 2.28' but version of GLib is
> 2.22.5 Requested 'gio-2.0 >= 2.25' but version of GIO is 2.22.5
> configure: error: Library requirements (glib-2.0 >= 2.28 gio-2.0 >=
> 2.25 gthread-2.0 gobject-2.0 gmodule-2.0) not met; consider adjusting
> the PKG_CONFIG_PATH environment variable if your libraries are in a
> nonstandard prefix so pkg-config can find them.
> 
> The README.dependencies file seems out of date and only mentions RHEL
> (on which CentOS is based) 4 and 5 but not 6.
> 
> What are my options here? An older git repository? Download and build
> source for glib2-28 in a private directory?
> 
> This is on a fully up to date CentOS 6 system
> $ rpm -qa | grep -i glib2
> pulseaudio-libs-glib2-0.9.21-14.el6_3.i686
> glib2-2.22.5-7.el6.i686
> glib2-devel-2.22.5-7.el6.i686
> $ rpm -qa | grep -i gio
> $
> $ uname -a
> Linux localhost.localdomain 2.6.32-358.18.1.el6.i686 #1 SMP Wed Aug 28
> 14:27:42 UTC 2013 i686 i686 i386 GNU/Linux
> 
> Thanks,
> Steve
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> 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.


More information about the gnucash-user mailing list