building from source.

Steve zephod at cfl.rr.com
Tue Nov 5 13:30:08 EST 2013


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


More information about the gnucash-user mailing list