Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2007 10:19:53 -0400 (EDT)
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Andrey Chernov <ache@freebsd.org>
Cc:        gnome@freebsd.org, ade@freebsd.org
Subject:   Re: gettext problem (was Re: desktop-file-utils port problem)
Message-ID:  <20070322101753.J72356@creme-brulee.marcuscom.com>
In-Reply-To: <20070322124305.GA69324@nagual.pp.ru>
References:  <20070320054916.GA33710@nagual.pp.ru> <1174453429.79605.28.camel@shumai.marcuscom.com> <20070322034618.GB16823@nagual.pp.ru> <20070322063737.GA56493@nagual.pp.ru> <1174545988.8269.15.camel@shumai.marcuscom.com> <20070322124305.GA69324@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help


PGP Key : http://www.marcuscom.com/pgp.asc

On Thu, 22 Mar 2007, Andrey Chernov wrote:

> On Thu, Mar 22, 2007 at 02:46:28AM -0400, Joe Marcus Clarke wrote:
>> It looks like this version of gettext wants to use pthreads.  Of course,
>> since many gettext consumers are not linked with PTHREAD_LIBS, this will
>> spell disaster.
>>
>> Try adding --disable-threads to gettext's CONFIGURE_ARGS, rebuild, and
>> see if that fixes the crashes.
>
> Yes, adding --disable-threads to gettext completely fix the crash!

Can you report this to Ade?

>
> (update-desktop-database itself remains still linked with pthread, comes
> from libicui18n)

This may be problematic, too, unless glib's pkg-config file includes 
PTHREAD_LIBS.

>
> There is still some undercover gettext problems remains although not
> fatal.
> update-desktop-database -v
> running with ru_RU.KOI8-R says at the end
> Could not create cache file in directory '/usr/share/applications':
>        ????????? ?????? ??? ???????? ???????? "/usr/share/applications":
> No such file or directory
> Which with LANG=C means
> Could not create cache file in directory '/usr/share/applications':
>        Error opening directory '/usr/share/applications': No such file or
> directory
> All those ???? means that locale is not initialized and those chars are
> treated as non-printable.

I don't know how international update-desktop-database really is.  Running 
with the verbose flag is not something people typically do.

Joe

>
> -- 
> http://ache.pp.ru/
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070322101753.J72356>