Re: AIX glib compile error message "gettext not found"



On Mon, Aug 16, 2004 at 08:59:37AM -0700, Salman Mohsin wrote:
> Hi,
>  
> I'm trying to compile glib on my AIX 4.3.3 machine. When I run "configure", it gives an error message after a few checks, saying:
>  
> checking for locale.h... yes
> checking for LC_MESSAGES... yes
> checking libintl.h usability... no
> checking libintl.h presence... no
> checking for libintl.h... no
> configure: error:
> *** You must have either have gettext support in your C library, or use the
> *** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
> 
> The problem is, I have gettext installed on the machine. If I search for it, I can see that:
>  
> /usr/local/lib/libintl.a
> /usr/local/lib/libintl.la
> /usr/local/include/libintl.h
> 

This is typically what I do, adjust if you are not using a csh variant.

setenv CFLAGS '-I/usr/local/include'
setenv LD_LIBRARY_PATH /usr/local/lib
setenv CPPFLAGS '-I/usr/local/include'

set path=( $path /usr/local/bin)


-- 
Daniel Nilsson
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]