texinfo-devel
[Top][All Lists]
Advanced

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

Re: help with gettext and make distcheck


From: Gavin Smith
Subject: Re: help with gettext and make distcheck
Date: Tue, 15 Dec 2015 21:20:19 +0000

On 15 December 2015 at 16:52, Gavin Smith <address@hidden> wrote:
> What a mess. I've tried upgrading gettext, but when I run "make dist"
> I get the error:
>
> test ! -f texinfo.po || { \
>   if test -f ../../../po/texinfo.pot-header; then \
>     sed -e '1,/^#$/d' < texinfo.po > texinfo.1po && \
>     cat ../../../po/texinfo.pot-header texinfo.1po > texinfo.po; \
>     rm -f texinfo.1po; \
>   fi; \
>   if test -f ../../../po/texinfo.pot; then \
>     sed -f remove-potcdate.sed < ../../../po/texinfo.pot > texinfo.1po && \
>     sed -f remove-potcdate.sed < texinfo.po > texinfo.2po && \
>     if cmp texinfo.1po texinfo.2po >/dev/null 2>&1; then \
>       rm -f texinfo.1po texinfo.2po texinfo.po; \
>     else \
>       rm -f texinfo.1po texinfo.2po ../../../po/texinfo.pot && \
>       mv texinfo.po ../../../po/texinfo.pot; \
>     fi; \
>   else \
>     mv texinfo.po ../../../po/texinfo.pot; \
>   fi; \
> }
> rm: cannot remove '../../../po/texinfo.pot': Permission denied
> make[5]: *** [texinfo.pot-update] Error 1
> make[5]: Leaving directory
> `/home/g/src/texinfo/PROJ_SVN/texinfo-6.0dev/_build/sub/po'

I reckon I've found the cause of the problem. It was due to differing
versions of xgettext being used: I had an older /usr/bin/xgettext in
the main directory and a recently installed /usr/local/bin/xgettext in
the distcheck subdirectory, and their outputs were slightly different.
Deleting config.cache and re-running configure solved the problem.



reply via email to

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