gettext problem (was Re: desktop-file-utils port problem)

Joe Marcus Clarke marcus at marcuscom.com
Thu Mar 22 14:59:20 UTC 2007



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/
>


More information about the freebsd-gnome mailing list