[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Problems compiling groff 1.18
From: |
Colin Watson |
Subject: |
Re: [Groff] Problems compiling groff 1.18 |
Date: |
Mon, 23 Sep 2002 14:22:05 +0100 |
User-agent: |
Mutt/1.4i |
On Mon, Sep 23, 2002 at 03:03:40PM +0200, Johan Bengtsson wrote:
> I'm trying to compile groff 1.18 on Solaris 8 with gcc 2.95.2.
> Here's the error messages I get:
[...]
> /local/GROFF/groff-1.18/tmac/ps.tmac:38: warning: `fchar' not defined
> (probable missing space after `fc')
groff is inadvertently using an older version of troff rather than the
one that's just been built. There was a thread about this here:
http://ffii.org/archive/mails/groff/2002/Jul/0181.html
... and these patches were applied to CVS:
Index: contrib/mom/ChangeLog
===================================================================
RCS file: /var/cvs/groff/contrib/mom/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -p -u -u -r1.7 -r1.8
--- contrib/mom/ChangeLog 17 Jul 2002 04:50:28 -0000 1.7
+++ contrib/mom/ChangeLog 24 Jul 2002 15:19:54 -0000 1.8
@@ -1,3 +1,8 @@
+*Wed Jul 24 2002
+
+o Makefile.sub (groff_bin_path): Don't use ' \+' but ' *' for sed.
+ (GROFF): Set GROFF_COMMAND_PREFIX to empty value.
+
*Fri Jul 12 2002
o More fixes to underlining.
Index: contrib/mom/Makefile.sub
===================================================================
RCS file: /var/cvs/groff/contrib/mom/Makefile.sub,v
retrieving revision 1.8
retrieving revision 1.9
diff -p -u -u -r1.8 -r1.9
--- contrib/mom/Makefile.sub 7 Jun 2002 21:19:47 -0000 1.8
+++ contrib/mom/Makefile.sub 24 Jul 2002 15:19:54 -0000 1.9
@@ -21,12 +21,14 @@ groff_bin_dirs=\
$(top_builddir)/src/roff/groff \
$(top_builddir)/src/roff/troff \
$(top_builddir)/src/devices/grops
-groff_bin_path=`echo $(groff_bin_dirs) | sed -e 's| \+|:|g'`
+groff_bin_path=`echo $(groff_bin_dirs) | sed -e 's| *|:|g'`
FFLAG=-F$(top_builddir)/font
TFLAG=-M$(top_builddir)/tmac -M$(srcdir)
-GROFF=GROFF_BIN_PATH=$(groff_bin_path); \
+GROFF=GROFF_COMMAND_PREFIX=''; \
+ export GROFF_COMMAND_PREFIX; \
+ GROFF_BIN_PATH=$(groff_bin_path); \
export GROFF_BIN_PATH; \
$(top_builddir)/src/roff/groff/groff $(FFLAG) $(TFLAG)
Index: ChangeLog
===================================================================
RCS file: /var/cvs/groff/ChangeLog,v
retrieving revision 1.439
retrieving revision 1.440
diff -p -u -u -r1.439 -r1.440
--- ChangeLog 24 Jul 2002 14:59:10 -0000 1.439
+++ ChangeLog 24 Jul 2002 15:21:20 -0000 1.440
@@ -1,3 +1,9 @@
+2002-07-24 Werner LEMBERG <address@hidden>
+
+ * doc/Makefile.in, doc/Makefile.sub (groff_bin_path): Don't use
+ ' \+' but ' *' for sed.
+ (GROFF): Set GROFF_COMMAND_PREFIX to empty value.
+
2002-07-23 Werner LEMBERG <address@hidden>
* doc/groff.texinfo: Document `papersize' keyword.
Index: doc/Makefile.in
===================================================================
RCS file: /var/cvs/groff/doc/Makefile.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -p -u -u -r1.3 -r1.4
--- doc/Makefile.in 19 Jun 2002 13:17:53 -0000 1.3
+++ doc/Makefile.in 24 Jul 2002 15:21:20 -0000 1.4
@@ -58,7 +58,7 @@ groff_bin_dirs=\
$(top_builddir)/src/devices/grolj4 \
$(top_builddir)/src/devices/grolbp \
$(top_builddir)/src/devices/grohtml
-groff_bin_path=`echo $(groff_bin_dirs) | sed -e 's| \+|:|g'`
+groff_bin_path=`echo $(groff_bin_dirs) | sed -e 's| *|:|g'`
version=`cat $(top_srcdir)/VERSION`
# No additional number if revision is zero.
@@ -68,7 +68,9 @@ FFLAG=-F$(top_builddir)/font -F$(top_src
TFLAG=-M$(top_builddir)/tmac -M$(top_srcdir)/tmac
TROFF=$(top_builddir)/src/roff/troff/troff $(TFLAG) $(FFLAG) -ww
-GROFF=GROFF_BIN_PATH=$(groff_bin_path); \
+GROFF=GROFF_COMMAND_PREFIX=''; \
+ export GROFF_COMMAND_PREFIX; \
+ GROFF_BIN_PATH=$(groff_bin_path); \
export GROFF_BIN_PATH; \
sed -e "s;@VERSION@;$(version)$(revision);" $< \
| $(top_builddir)/src/roff/groff/groff $(TFLAG) $(FFLAG) -Upet -ww
Index: doc/Makefile.sub
===================================================================
RCS file: /var/cvs/groff/doc/Makefile.sub,v
retrieving revision 1.4
retrieving revision 1.5
diff -p -u -u -r1.4 -r1.5
--- doc/Makefile.sub 15 Jun 2002 09:32:04 -0000 1.4
+++ doc/Makefile.sub 24 Jul 2002 15:21:20 -0000 1.5
@@ -33,12 +33,14 @@ groff_bin_dirs=\
$(top_builddir)/src/preproc/html \
$(top_builddir)/src/devices/grops \
$(top_builddir)/src/devices/grohtml
-groff_bin_path=`echo $(groff_bin_dirs) | sed -e 's| \+|:|g'`
+groff_bin_path=`echo $(groff_bin_dirs) | sed -e 's| *|:|g'`
FFLAG=-F$(top_builddir)/font -F$(top_srcdir)/font
TFLAG=-M$(top_builddir)/tmac -M$(top_srcdir)/tmac
GROFF=\
+ GROFF_COMMAND_PREFIX=''; \
+ export GROFF_COMMAND_PREFIX; \
GROFF_BIN_PATH=$(groff_bin_path); \
export GROFF_BIN_PATH; \
sed -e "s;@VERSION@;$(version)$(revision);" $< \
Cheers,
--
Colin Watson address@hidden