bug-texinfo
[Top][All Lists]
Advanced

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

Re: mingw build error


From: Karl Berry
Subject: Re: mingw build error
Date: Tue, 19 Dec 2006 19:07:14 -0600

    If I preprocess the file, I see this,
     case 0x01: return "bn_IN";
     case 0x01: return "bn_BD";
    for the corresponding source,
     case SUBLANG_BENGALI_INDIA: return "bn_IN";
     case SUBLANG_BENGALI_BANGLADESH: return "bn_BD";

Well, texinfo is just copying that file from gettext.  I am not sure
what can be done in general.  What system are you on?  It seems like a
potential bug in the headers somewhere for them to be defined as the
same value.  Bruno, any thoughts?  See full msg below.

Of course you can just delete one of the SUBLANG_BENGALI's to get around
it for now and get texinfo compiled.  I'm sure it won't make any
difference in practical use.

Thanks for reporting it.

Karl



Date: Tue, 19 Dec 2006 15:36:55 -0500
From: Bob Rossi <address@hidden>
To: address@hidden
Subject: mingw build error

Hi,

I just downloaded texinfo-4.8a.tar.gz. I configured with

../texinfo-4.8/configure
--prefix=/home/bobbybrasko/gcc/texinfo/builddir/../prefixdir

I built with 'make', and got this error,
$ make
make  all-recursive
make[1]: Entering directory `/home/bobbybrasko/gcc/texinfo/builddir'
Making all in intl
make[2]: Entering directory `/home/bobbybrasko/gcc/texinfo/builddir/intl'
gcc -c 
-DLOCALEDIR=\"/home/bobbybrasko/gcc/texinfo/builddir/../prefixdir/share/locale\"
 -DLOCALE_ALIAS_P
ATH=\"/home/bobbybrasko/gcc/texinfo/builddir/../prefixdir/share/locale\" 
-DLIBDIR=\"/home/bobbybrasko/gc
c/texinfo/builddir/../prefixdir/lib\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 
-DIN_LIBRARY -DINSTALLDIR=\"/h
ome/bobbybrasko/gcc/texinfo/builddir/../prefixdir/lib\" -DNO_XMALLOC 
-Dset_relocation_prefix=libintl_set
_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 
-DHAVE_CONFIG_H -I. -I../../texin
fo-4.8/intl -I..  -g -O2  ../../texinfo-4.8/intl/localename.c
../../texinfo-4.8/intl/localename.c: In function `_nl_locale_name':
../../texinfo-4.8/intl/localename.c:813: error: duplicate case value
../../texinfo-4.8/intl/localename.c:812: error: previously used here
../../texinfo-4.8/intl/localename.c:1023: error: duplicate case value
../../texinfo-4.8/intl/localename.c:1022: error: previously used here
../../texinfo-4.8/intl/localename.c:1031: error: duplicate case value
../../texinfo-4.8/intl/localename.c:1030: error: previously used here
make[2]: *** [localename.o] Error 1
make[2]: Leaving directory `/home/bobbybrasko/gcc/texinfo/builddir/intl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bobbybrasko/gcc/texinfo/builddir'
make: *** [all] Error 2


If I preprocess the file, I see this,

 case 0x01: return "bn_IN";
 case 0x01: return "bn_BD";

for the corresponding source,
 case SUBLANG_BENGALI_INDIA: return "bn_IN";
 case SUBLANG_BENGALI_BANGLADESH: return "bn_BD";

please advise,
Bob Rossi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]