bug-bison
[Top][All Lists]
Advanced

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

Re: Bison 2.4.1: make install does not install mo files


From: Akim Demaille
Subject: Re: Bison 2.4.1: make install does not install mo files
Date: Sun, 16 Aug 2009 08:41:35 +0200


Le 13 août 09 à 11:24, Martin Jacobs a écrit :

Hi,

Hi!

After running make and doing make install, no mo files are
installed under /usr/share/locale.

Running

        make install DESTDIR=/var/tmp/bison-2.4.1

in folder po or runtime-po creates this output:

if test "bison" = "gettext-tools"; then \
         /bin/mkdir -p /var/tmp/bison-2.4.1/usr/share/gettext/po; \
for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed address@hidden address@hidden insert-header.sin Rules-quot Makevars.template; do \
           /usr/bin/install -c -m 644 ./$file \
/var/tmp/bison-2.4.1/usr/share/gettext/po/ $file; \
         done; \
         for file in Makevars; do \
           rm -f /var/tmp/bison-2.4.1/usr/share/gettext/po/$file; \
         done; \
       else \
         : ; \
       fi

Previous version 2.3 was fine in same environment.

Any idea?

Nope :(  With the current Git version, I have this:

address@hidden bison $ gmake -rR install DESTDIR=/tmp/bison-2.4.1 -C po
gmake: Entering directory `/Users/akim/src/urbi/2.0/kernel/bison/ _build/debug/po'
/opt/local/bin/gmkdir -p /tmp/bison-2.4.1/usr/local/share
installing ../../../po/da.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/da/LC_MESSAGES/bison.mo installing ../../../po/de.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/de/LC_MESSAGES/bison.mo installing ../../../po/el.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/el/LC_MESSAGES/bison.mo installing ../../../po/es.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/es/LC_MESSAGES/bison.mo installing ../../../po/et.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/et/LC_MESSAGES/bison.mo installing ../../../po/fi.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/fi/LC_MESSAGES/bison.mo installing ../../../po/fr.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/fr/LC_MESSAGES/bison.mo installing ../../../po/ga.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/ga/LC_MESSAGES/bison.mo installing ../../../po/hr.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/hr/LC_MESSAGES/bison.mo installing ../../../po/id.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/id/LC_MESSAGES/bison.mo installing ../../../po/it.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/it/LC_MESSAGES/bison.mo installing ../../../po/ja.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/ja/LC_MESSAGES/bison.mo installing ../../../po/ms.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/ms/LC_MESSAGES/bison.mo installing ../../../po/nb.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/nb/LC_MESSAGES/bison.mo installing ../../../po/nl.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/nl/LC_MESSAGES/bison.mo installing ../../../po/pl.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/pl/LC_MESSAGES/bison.mo installing ../../../po/pt.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/pt/LC_MESSAGES/bison.mo installing ../../../po/pt_BR.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/pt_BR/LC_MESSAGES/bison.mo installing ../../../po/ro.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/ro/LC_MESSAGES/bison.mo installing ../../../po/ru.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/ru/LC_MESSAGES/bison.mo installing ../../../po/sv.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/sv/LC_MESSAGES/bison.mo installing ../../../po/tr.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/tr/LC_MESSAGES/bison.mo installing ../../../po/uk.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/uk/LC_MESSAGES/bison.mo installing ../../../po/vi.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/vi/LC_MESSAGES/bison.mo installing ../../../po/zh_TW.gmo as /tmp/bison-2.4.1/usr/local/share/ locale/zh_TW/LC_MESSAGES/bison.mo
if test "bison" = "gettext-tools"; then \
/opt/local/bin/gmkdir -p /tmp/bison-2.4.1/usr/local/share/gettext/ po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed address@hidden address@hidden insert-header.sin Rules-quot Makevars.template; do \
            /opt/local/bin/ginstall -c -m 644 ../../../po/$file \
                            /tmp/bison-2.4.1/usr/local/share/gettext/po/$file; \
          done; \
          for file in Makevars; do \
            rm -f /tmp/bison-2.4.1/usr/local/share/gettext/po/$file; \
          done; \
        else \
          : ; \
        fi
gmake: Leaving directory `/Users/akim/src/urbi/2.0/kernel/bison/ _build/debug/po'

Same with stock 2.4.1.

What does

        grep install-data: po/Makefile

(in builddir) gives?  It should be

        install-data: install-data-yes

I suppose you have install-data-no.

The yes/no comes from @USE_NLS@, so I suppose you should study your config.log to understand why NLS (which is the pattern to look for in there) is false.



reply via email to

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