RE: [gtk-list] Re: GTk+ 1.1.13: (x)gettext, configure and FreeBS



Hello Ronan,

On 27-Jan-99 Ronan Bourlier wrote:
> Jeroen Ruigrok/Asmodai wrote:
>> [...]
>> 
>> checking whether NLS is requested... yes
>> checking for libintl.h... no
>> checking whether catgets can be used... no
>> --omit-header: not found
>> found xgettext program is not GNU xgettext; ignore it
>> checking for gettext... no
>> checking for gettext in -lintl... no
>> 
> Look at the config.log file.
> It should tell why it's not finding it and the result of the configure
> test.
> May be it cannot find the library file or something else.

Here is the relevant snippet:

configure:3823: checking whether catgets can be used
configure:4168: checking for gettext
configure:4196: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
/var/tmp/cco153131.o: In function `main':
/usr/home/asmodai/extract/gtk+-1.1.13/configure(.text+0x4): undefined
reference to `gettext'
configure: failed program was:
#line 4173 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char gettext(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gettext();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_gettext) || defined (__stub___gettext)
choke me
#else
gettext();
#endif

; return 0; }
configure:4214: checking for gettext in -lintl
configure:4233: gcc -o conftest -g -O2 -Wall   conftest.c -lintl   1>&5
/usr/libexec/elf/ld: cannot open -lintl: No such file or directory
configure: failed program was:
#line 4222 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gettext();

int main() {
gettext()
; return 0; }

Any ideas for enabling even more output/debugging info?

Any ideas about the problem?

---
Jeroen Ruigrok van der Werven          It's a Dance of Energy,
asmodai(at)wxs.nl                 when the Mind goes Binary...
Network/Security Specialist      <http://home.wxs.nl/~asmodai>
BSD & picoBSD: The Power to Serve     <http://www.freebsd.org>



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