pspp-dev
[Top][All Lists]
Advanced

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

Re: Make distcheck failure


From: John Darrington
Subject: Re: Make distcheck failure
Date: Fri, 9 May 2008 14:39:05 +0800
User-agent: Mutt/1.5.13 (2006-08-11)

I fixed this.  It turned out to be a bizarre shell script fragment
in the po/Makefile.in.in file provided with gettext 0.17

It searches for the string 'GNU pspp' in the toplevel sourc directory 
(any file will do --- it does grep 'GNU pspp' $(top_srcdir)/* ). If
that string isn't found it decides that pspp.pot is out of date and
tries to update it. 

Go figure!



On Fri, May 09, 2008 at 01:10:10PM +0800, John Darrington wrote:
     Is everyone else having this problem when running make distcheck ?
     
     
     
     test ! -f pspp.po || { \
               if test -f ../../po/pspp.pot; then \
                 sed -f remove-potcdate.sed < ../../po/pspp.pot > pspp.1po
               && \
                 sed -f remove-potcdate.sed < pspp.po > pspp.2po && \
                 if cmp pspp.1po pspp.2po >/dev/null 2>&1; then \
                   rm -f pspp.1po pspp.2po pspp.po; \
                 else \
                   rm -f pspp.1po pspp.2po ../../po/pspp.pot && \
                   mv pspp.po ../../po/pspp.pot; \
                 fi; \
               else \
                 mv pspp.po ../../po/pspp.pot; \
               fi; \
             }
     rm: cannot remove `../../po/pspp.pot': Permission denied
     make[4]: *** [pspp.pot-update] Error 1
     
     
     I cannot understand why anything should be trying to write to the
     source directory.
     
     J'
     
     -- 
     PGP Public key ID: 1024D/2DE827B3 
     fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
     See http://pgp.mit.edu or any PGP keyserver for public key.
     
     



     _______________________________________________
     pspp-dev mailing list
     address@hidden
     http://lists.gnu.org/mailman/listinfo/pspp-dev


-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature


reply via email to

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