bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Compile from Snapshot on ubuntu - assertion failed g_ty


From: Thomas A. Moulton
Subject: Re: [Bug-gnubg] Compile from Snapshot on ubuntu - assertion failed g_type_init
Date: Fri, 31 Aug 2007 22:34:00 -0400 (EDT)
User-agent: SquirrelMail/1.4.6

> Is your locale set up correctly? What does the 'locale' command tell

address@hidden:~/gnubg$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

> you? What is the lang set to in your .gnubgautorc //
> .gnubg/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.

That helped...

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?

>
> Christian.
>
> 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
>>
>> gnubg.c
>> http://cvs.savannah.gnu.org/viewvc/gnubg/gnubg/gnubg.c?r1=1.712&r2=1.714
>>
>> 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?)
>>
>> tom
>>
>>
>> _______________________________________________
>> Bug-gnubg mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/bug-gnubg
>>
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]