bug-automake
[Top][All Lists]
Advanced

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

address@hidden: [PATCH] GNU sed version 4.1.4 doesn't compile on RH6.2]


From: Karl Berry
Subject: address@hidden: [PATCH] GNU sed version 4.1.4 doesn't compile on RH6.2]
Date: Mon, 31 Jan 2005 19:06:20 -0500

FWIW ...

Date: Tue, 1 Feb 2005 10:45:12 +1100
From: Greg Schafer <address@hidden>
To: address@hidden
Subject: [PATCH] GNU sed version 4.1.4 doesn't compile on RH6.2


--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi

The problem is related to having an old makeinfo installed on the host. The
build errors out like this:


make[2]: Entering directory `/root/sed-4.1.4/doc'
builddir=`pwd` && cd . && \
  /bin/sh /root/sed-4.1.4/config/missing --run makeinfo --html --no-split -o 
$builddir/sed.html sed.texi
sed.texi:34: Unknown command `copying'.
sed.texi:52: Unmatched address@hidden'.
sed.texi:77: Unknown command `insertcopying'.
makeinfo: Removing output file `/root/sed-4.1.4/doc/sed.html' due to errors; 
use --force to preserve.
make[2]: *** [sed.html] Error 1
make[2]: Leaving directory `/root/sed-4.1.4/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/sed-4.1.4'
make: *** [all] Error 2


Essentially, the problem is that the autofoo for the `--enable-html' switch
is wrong. I didn't ask for `--enable-html', yet the Makefile still tries to
build it.

Attached is a patch that makes it work for me.

Regards
Greg

--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="sed-4.1.4.patch"

2005-01-29  Greg Schafer  <address@hidden>

        * doc/Makefile.am: Use BUILD_HTML instead of MAKEINFO_HTML.

diff -Naur sed-4.1.4.orig/doc/Makefile.am sed-4.1.4/doc/Makefile.am
--- sed-4.1.4.orig/doc/Makefile.am      2005-01-27 18:57:48.000000000 +1100
+++ sed-4.1.4/doc/Makefile.am   2005-01-29 11:36:34.811570464 +1100
@@ -26,7 +26,7 @@
 # Having a dependancy on sed.info automatically makes
 # sed.html dependant on sed.texi and all the included
 # sources
-if MAKEINFO_HTML
+if BUILD_HTML
 docdir = $(datadir)/doc
 doc_DATA = sed.html
 

--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-gnu-utils

--G4iJoqBmSsgzjUCe--





reply via email to

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