[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Compile from Snapshot on ubuntu - assertion failed g_ty
Thomas A. Moulton
Re: [Bug-gnubg] Compile from Snapshot on ubuntu - assertion failed g_type_init
Fri, 31 Aug 2007 22:34:00 -0400 (EDT)
> Is your locale set up correctly? What does the 'locale' command tell
> you? What is the lang set to in your .gnubgautorc //
set lang system
> If the setlocale commands fails early it is possible that a call to
> outputerrf will fail because the gtk interface isn't set up yet. Try
> to comment out this line in set.c:
> outputerrf(_("Language change failed"))
> and recompile.
I did get
(gnubg:6572): Gdk-WARNING **: locale not supported by C library
and then changed lang to
set lang en_US.UTF-8
and it came up fine
so... since this confirms your idea... do you have a fix in mind?
> On 8/31/07, Thomas A. Moulton <address@hidden> wrote:
>> > gtype.c is part of glib, more precisely the glib object system. It
>> appears to be an Ubuntu bug (why am I not surprised) and should be fixed
>> in the latest update of gtk. So update your system, rebuild gnubg, and
>> see if the problem doesn't solve itself.
>> > Christian.
>> I found where the source changed to cause this problem I am seeing.
>> July 10th
>> I am guessing that in the set languages changes you made that gtype
>> may be getting called a bit earlier than previously.
>> Any idea what may fix it?
>> (ie who eventually calls xx_g_type_init to keep gtk happy?)
>> Bug-gnubg mailing list