groff
[Top][All Lists]
Advanced

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

Re: [Groff] Automake migration proposal


From: Werner LEMBERG
Subject: Re: [Groff] Automake migration proposal
Date: Mon, 11 Aug 2014 15:24:15 +0200 (CEST)

> 2. Both make and make -j fail with multiple errors:
> a.
> /bin/sh: xpmtoppm: command not found
> /bin/sh: pnmdepth: command not found
> /bin/sh: pnmtops: command not found

Those programs are only needed if you build directly from the git
repository – it can be expected that developers have all the necessary
programs –; you don't need them for a normal build from a tarball.  To
proceed, simply do

  touch doc/gnu.eps

(at the expense of a slightly crippled documentation, which is not
important for testing purposes).

> sed -f ../tmac/strip.sed \
>     ../contrib/mom/`basename contrib/mom/om.tmac`-u \
>     > contrib/mom/om.tmac;
> sed: RE error: illegal byte sequence

Please try the patch below.


    Werner


======================================================================


diff --git a/contrib/mom/Makefile.sub b/contrib/mom/Makefile.sub
index a286dfb..eb4970b 100644
--- a/contrib/mom/Makefile.sub
+++ b/contrib/mom/Makefile.sub
@@ -184,7 +184,8 @@ install_pdfexamples: install_examples_always 
$(PROCESSEDEXAMPLEFILES)
 stamp-strip: $(STRIPFILES)
        for f in $(STRIPFILES); do \
          rm -f $$f-s; \
-         sed -f $(top_srcdir)/tmac/strip.sed $(srcdir)/$$f >$$f-s; \
+         LANG=C LC_ALL=C \
+           sed -f $(top_srcdir)/tmac/strip.sed $(srcdir)/$$f >$$f-s; \
        done
        touch $@
 


reply via email to

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