groff
[Top][All Lists]
Advanced

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

[Groff] CVS Build Problem


From: Larry Jones
Subject: [Groff] CVS Build Problem
Date: Fri, 22 Apr 2005 17:48:30 -0400 (EDT)

I'm having problems building the current CVS version of groff.

The first problem was easy -- you're not allowed to have declarations
mixed with code in C like you are in C++:

Index: src/utils/xtotroff/xtotroff.c
===================================================================
RCS file: /cvsroot/groff/groff/src/utils/xtotroff/xtotroff.c,v
retrieving revision 1.2
diff -u -r1.2 xtotroff.c
--- src/utils/xtotroff/xtotroff.c       25 Nov 2004 08:08:33 -0000      1.2
+++ src/utils/xtotroff/xtotroff.c       22 Apr 2005 21:31:39 -0000
@@ -176,10 +176,10 @@
   for (c = fi->min_char_or_byte2; c <= fi->max_char_or_byte2; c++) {
     const char *name = DviCharName(char_map, c, 0);
     if (charExists(fi, c)) {
-      wid = charWidth(fi, c);
+      int param[5];
 
+      wid = charWidth(fi, c);
       fprintf(out, "%s\t%d", name ? name : "---", wid);
-      int param[5];
       param[0] = charHeight(fi, c);
       param[1] = charDepth(fi, c);
       param[2] = 0;            /* charRBearing (fi, c) - wid */

The second problem is trickier:

gmake[2]: Entering directory `/public/GNU/groff/doc'
GROFF_COMMAND_PREFIX=''; export GROFF_COMMAND_PREFIX; GROFF_BIN_PATH=`echo 
/public/GNU/groff/src/roff/groff /public/GNU/groff/src/roff/troff 
/public/GNU/groff/src/preproc/pic /public/GNU/groff/src/preproc/eqn 
/public/GNU/groff/src/preproc/tbl /public/GNU/groff/src/preproc/grn 
/public/GNU/groff/src/preproc/refer /public/GNU/groff/src/preproc/soelim 
/public/GNU/groff/src/preproc/html /public/GNU/groff/src/devices/grops 
/public/GNU/groff/src/devices/grohtml | sed -e 's|  *|:|g'`; export 
GROFF_BIN_PATH; sed -e "s;@VERSION@;1.19.2;" meref.me | 
/public/GNU/groff/src/roff/groff/groff -M/public/GNU/groff/tmac 
-M/public/GNU/groff/tmac -F/public/GNU/groff/font -F/public/GNU/groff/font 
-Upet -ww -Tps -ge -me >meref.ps
grn: can't find `DESC' file
grn:fatal error: sorry, I can't continue
troff: can't find `DESC' file
troff: fatal error: sorry, I can't continue
gmake[2]: *** [meref.ps] Error 1
gmake[2]: Leaving directory `/public/GNU/groff/doc'
gmake[1]: *** [doc] Error 2
gmake[1]: Leaving directory `/public/GNU/groff'
gmake: *** [all] Error 2

There is a DESC file in /pubic/GNU/groff/font/devps, so I'm not sure why
it's not being found.

-Larry Jones

Physical education is what you learn from having your face in
someone's armpit right before lunch. -- Calvin




reply via email to

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