[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext
From: |
Cary Farah |
Subject: |
Re: gettext |
Date: |
Mon, 04 Oct 2004 08:52:15 -0500 |
Ok that worked I installed it and then i run the glib and it say's it
can't find the gettext.
checking locale.h usability... yes
checking locale.h presence... yes
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
Sorry im kind of a newbe...
thanks for any help!
>>> Bruno Haible <address@hidden> 10/01/04 03:06PM >>>
Cary Farah wrote:
> I have hp-ux 11.11
> trying to make the gettext and i get errors:
> Making all in lib
> cc -DDEPENDS_ON_LIBINTL=1 -DHAVE_CONFIG_H -I. -I. -I.. -I.
-I.
> -I.. -
> I../intl -I./../intl -I../../gettext-tools/lib
> -I./../../gettext-tools/lib -
> g -c setenv.c
> cc: "../../gettext-tools/lib/allocsa.h", line 96: error 1509:
> Enumeration value
> must be constant.
Thanks for the report.
It's a HP-UX cc bug; you can use the appended patch as workaround.
Btw, please don't use the ~gnu ~ at ~ gnu ~.~ org~ mail address for
bug
reports; this address is for enquiries about the GNU project as a
whole.
~ bug-gnu-gettext ~ at ~ gnu ~.~ org~ is the right one: this is the
one mentioned in the --help output and in the manual.
Bruno
*** gettext-tools/lib/allocsa.h 19 Dec 2003 11:25:19
-0000 1.1
--- gettext-tools/lib/allocsa.h 6 Feb 2004 21:09:50
-0000 1.2
***************
*** 1,5 ****
/* Safe automatic memory allocation.
! Copyright (C) 2003 Free Software Foundation, Inc.
Written by Bruno Haible <address@hidden>, 2003.
This program is free software; you can redistribute it and/or
modify
--- 1,5 ----
/* Safe automatic memory allocation.
! Copyright (C) 2003-2004 Free Software Foundation, Inc.
Written by Bruno Haible <address@hidden>, 2003.
This program is free software; you can redistribute it and/or
modify
***************
*** 77,82 ****
--- 77,86 ----
#elif defined __cplusplus
template <class type> struct sa_alignof_helper { char __slot1; type
__slot2; };
# define sa_alignof(type) offsetof (sa_alignof_helper<type>,
__slot2)
+ #elif defined __hpux
+ /* Work around a HP-UX 10.20 cc bug with enums constants defined as
offsetof
+ values. */
+ # define sa_alignof(type) (sizeof (type) <= 4 ? 4 : 8)
#else
# define sa_alignof(type) offsetof (struct { char __slot1; type
__slot2; }, __slot2)
#endif
- gettext, Cary Farah, 2004/10/02
- Re: gettext,
Cary Farah <=