On Jan 6, 2012, at 2:18 AM, Colin Law wrote:

> On 10 December 2011 20:42, Colin Law <clan...@googlemail.com> wrote:
>> On 10 December 2011 17:08, John Ralls <jra...@ceridwen.us> wrote:
>>> 
>>> On Dec 10, 2011, at 8:58 AM, Colin Law wrote:
>>> 
>>>> On 10 December 2011 16:51, John Ralls <jra...@ceridwen.us> wrote:
>>>>> 
>>>>> On Dec 10, 2011, at 8:29 AM, Colin Law wrote:
>>>>> 
>>>>>> On 10 December 2011 14:32, Colin Law <clan...@googlemail.com> wrote:
>>>>>>> I am testing the build of gnucash on ubuntu 12.04 alpha.  I have
>>>>>>> checkout out the 2.4 branch from git and run
>>>>>>> ./autogen.sh
>>>>>>> ./configure --prefix=/usr/bin/gnucash2.4 --enable-compile-warnings
>>>>>>> --with-html-engine=webkit
>>>>>>> make
>>>>>>> 
>>>>>>> I get the error:
>>>>>>> /bin/bash ../../../libtool --tag=CC   --mode=compile gcc
>>>>>>> -DHAVE_CONFIG_H -I. -I../../.. -DG_LOG_DOMAIN=\"qof\"
>>>>>>> -I../../../lib/libc -I../../../src -pthread -I/usr/include/glib-2.0
>>>>>>> -I/usr/lib/i386-linux-gnu/glib-2.0/include     -Werror
>>>>>>> -Wdeclaration-after-statement -g -O2 -Wall -Wunused
>>>>>>> -Wmissing-prototypes -Wmissing-declarations  -Wno-unused -MT guid.lo
>>>>>>> -MD -MP -MF .deps/guid.Tpo -c -o guid.lo guid.c
>>>>>>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../..
>>>>>>> -DG_LOG_DOMAIN=\"qof\" -I../../../lib/libc -I../../../src -pthread
>>>>>>> -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include
>>>>>>> -Werror -Wdeclaration-after-statement -g -O2 -Wall -Wunused
>>>>>>> -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT guid.lo
>>>>>>> -MD -MP -MF .deps/guid.Tpo -c guid.c  -fPIC -DPIC -o .libs/guid.o
>>>>>>> guid.c: In function 'guid_to_string':
>>>>>>> guid.c:680:5: error: 'g_static_private_get' is deprecated (declared at
>>>>>>> /usr/include/glib-2.0/glib/deprecated/gthread.h:245): Use
>>>>>>> 'g_private_get' instead [-Werror=deprecated-declarations]
>>>>>>> guid.c:684:9: error: 'g_static_private_set' is deprecated (declared at
>>>>>>> /usr/include/glib-2.0/glib/deprecated/gthread.h:248): Use
>>>>>>> 'g_private_set' instead [-Werror=deprecated-declarations]
>>>>>> 
>>>>>> The version of glib is 2.31.2.  The version on Ubuntu 11.10 that
>>>>>> compiles ok is 2.30.0
>> ...
>> 
>> Reported bug
>> https://bugzilla.gnome.org/show_bug.cgi?id=665923
> 
> Are there plans to look at this at some point?  I still cannot build
> on Ubuntu 12.04 alpha (due for release in April).  I would have a go
> myself but know nothing about this area of code.  I do know C though
> so if it is a straightforward fix I can implement it if someone tells
> me what to do.

It looks to me that you're going to have to not use "disable-deprecated" in 
your build. As I'm sure you know, our policy is to support very old and stable 
distributions (Debian stable and RHEL), and the target minimum GLib versions 
are 2.12 for GC 2.4 and 2.20 for 2.6. We haven't yet discussed what we'll aim 
the next version after 2.6 at, but Ryan is moving GLib along at such a clip 
that it's unlikely that GC will ever build cleanly without deprecations against 
the current release versions.

Regards,
John Ralls


_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to