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: Stefan Schaeckeler <schaecsn%gmx.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
linux-pkg-people%netbsd.org@localhost,gnats-admin%netbsd.org@localhost,pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/44016: x11/gtk must be linked against libintl
Date: Thu, 11 Nov 2010 22:10:14 -0800 (PST)

 >  >  >  >  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.
 
 I see.
 
   
 >  >  >  >  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
 
 I did it. Now, gtk compiles cleanly in /usr/current.
 
 Thanks, Stefan
 


Home | Main Index | Thread Index | Old Index