[Top][All Lists]

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

Re: Error building Bison 2.6.5 on OS X Mountain Lion

From: Akim Demaille
Subject: Re: Error building Bison 2.6.5 on OS X Mountain Lion
Date: Mon, 26 Nov 2012 08:58:46 +0100

Le 25 nov. 2012 à 09:45, John Horigan <address@hidden> a écrit :

> I got the following error while compiling under OS X Mountain Lion:
> rm -f hr.gmo && /usr/local/bin/msgfmt -c --statistics --verbose -o hr.gmo
> hr.po
> hr.po:8: nplurals = 3...
> hr.po:85: ...but some messages have only 2 plural forms
> /usr/local/bin/msgfmt: found 1 fatal error
> hr.po: 191 translated messages, 9 fuzzy translations, 2 untranslated
> messages.
> make[3]: *** [hr.gmo] Error 1
> make[2]: *** [stamp-po] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> I was able to compile using
>  ./configure --disable-nls
> It appears that Croatian has three plural forms. But the message at line 81
> of hr.po only has two plural forms. Adding a third form at line 87 allows
> Bison to build with NLS support. Now we need a Croatian speaker to provide
> the correct three plural forms for the shift/reduce conflict message.

Hi John,

We did have such an error in the past, in the development versions of Bison,
but, AFAICT, we never released a tarball with this problem.  In particular,
in Bison 2.6.5, po/hr.po, I read:

    80  #: src/conflicts.c:621
    81  #, c-format
    82  msgid "expected %d reduce/reduce conflict"
    83  msgid_plural "expected %d reduce/reduce conflicts"
    84  msgstr[0] "očekujem %d reduciraj/reduciraj konflikt"
    85  msgstr[1] "očekujem %d reduciraj/reduciraj konflikta"
    86  msgstr[2] "očekujem %d reduciraj/reduciraj konflikata"

so everything seems fine.  runtime-po/hr.po has 65 lines only.

Besides, I don't understand why the PO file is about to be compiled
on your side, provided that the GMO file is part of the tarball.

Can you provide us with more details on how you built Bison?

Thanks in advance.

reply via email to

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