pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/44016: x11/gtk must be linked against libintl
The following reply was made to PR pkg/44016; it has been noted by GNATS.
From: Steven Drake <sbd%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/44016: x11/gtk must be linked against libintl
Date: Thu, 11 Nov 2010 21:34:05 +1300 (NZDT)
On Wed, 10 Nov 2010, Stefan Schaeckeler wrote:
> > From: Steven Drake <sbd%NetBSD.org@localhost>
> >
> > On Mon, 8 Nov 2010, Stefan Schaeckeler wrote:
> >
> > > I have a stable pkgsrc branch installed under /usr/local. Nothing
> > > special there.
> >
> > That explains it,
>
> Not to me.
>
> > you must have gettext-lib installed under /usr/local.
>
> It was (and sill is).
Your complier (probably gcc) is finding and using the libintl.h header
from /usr/local/include (part of the gettext-lib package) instead of the
system header from /usr/include, because gcc looks for headers in
/usr/local/include before /usr/include.
This is the wrong as normally the glibc header should be used.
> > > Just figured out that if I remove /usr/local (e.g. mv /usr/local
> > > /usr/local.tmp), then gtk compiles cleanly under /usr/current.
> >
> > Try removing the gettext-lib package (possibly gettext-tools/gettext to)
>
> Remove from /usr/current? I did it, but I get the same error
> (after ldconfig and make clean).
Remove the gettext-lib package from /usr/local
--
Steven
Home |
Main Index |
Thread Index |
Old Index