Re: some TODO for 1.2:
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list redhat com
- Cc: Sebastian Wilhelmi <wilhelmi ira uka de>
- Subject: Re: some TODO for 1.2:
- Date: 19 Jan 1999 16:39:38 -0500
Jeff Garzik <jgarzik@pobox.com> writes:
> On Tue, 19 Jan 1999, Tomas Ogren wrote:
> > On 19 January, 1999 - Sebastian Wilhelmi sent me these 2.5K bytes:
> > > 3) How are chances to get an internationalized (i.e. gettextized) gtk for
> > > solaris? compiling and installing gnu gettext here gains nothing, as
> > > gnu and system gettext are horrible incompatible
Can you provide details of this?
Looking at the man pages for Solaris 2.6 on http://docs.sun.com,
the prototypes for bindtextdomain(), gettext(), and dgettext()
look identical to those for GNU gettext and the invocation
of msgfmt looks compatible.
> and I can't see a way
> > > to make applications link againt the gnu one. (as they always find the
> > > system one first and link it in, changing the LD_LIBRARY_PATH is not a
> > > good idea either, as some systems tools denies to work then). What a
> > > mess, the best solution would be to prepend all gnu gettext functions
> > > and the library name (i.e. intl) with a prefix and use those functions.
> > > Those name space collisions are really deadly on solaris. I hope to be
> > > disproved on that...
> >
> > I've found a horrible kludge... after running configure, you edit
> > config.cache and say that gettext wasn't found in libc.. then re-run
> > configure and it'll try with -lintl ... But it works... (since gnu
> > gettext is linked static)
>
> Does '--with-included-gettext' not work correctly?
--with-included-gettext basically makes no sense for GTK+,
at least without major modifications to the stuff in intl/
The way that --with-included-gettext works is that it makes
a little static library to link the application against.
However, GTK+ is a library, not an application.
And, GTK+ certainly shouldn't be installing the libintl
that it builds. (It doesn't sound like the problem is
two few -libintl's)
Perhaps there are some systems in which we need to provide
a gettext, possible renamed to keep it out of harms way,
but for the time being, it looks like on (at least some
versions of) Solaris, we should be able to use the
system's -lintl and gettext().
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]