[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] pdfroff broken?
From: |
Keith Marshall |
Subject: |
Re: [Groff] pdfroff broken? |
Date: |
Sat, 4 Mar 2006 16:27:32 +0000 |
On Wednesday 01 March 2006 2:20 pm, Larry Kollar wrote:
> Running "make" on the CVS, I get this:
>
> [everything OK up to here]
> rm -f pdfmark.pdf
> export GROFF_COMMAND_PREFIX; GROFF_COMMAND_PREFIX=''; export
> GROFF_BIN_DIR;
> GROFF_BIN_DIR=/Users/larry/Projects/groff/src/roff/groff; export
> GROFF_BIN_PATH; GROFF_BIN_PATH=`echo /Users/larry/Projects/
> groff/src/roff/groff /Users/larry/Projects/groff/src/roff/troff
> /Users/larry/ Projects/groff/src/devices/grops | sed -e 's| *|:|g'`;
> ./pdfroff -F/Users/larry/ Projects/groff/font
> -F/Users/larry/Projects/groff/font -M. -M/Users/larry/
> Projects/groff/tmac -M/Users/larry/Projects/groff/tmac -dpaper=A4
> -P-pA4 -mspdf --stylesheet=./cover.ms pdfmark.ms >pdfmark.pdf
> AFPL Ghostscript 8.53: Unrecoverable error, exit code 1
>
> larry% ls -l contrib/pdfmark/pdfmark.pdf
> -rw-r--r-- 1 larry staff 1955 Mar 1 09:14
> contrib/pdfmark/pdfmark.pdf
>
> The PDF has no content.
Hmm. I can't reproduce this. From a freshly updated CVS working copy,
this afternoon:
make[2]: Entering directory
`/home/keith/sandbox/build/groff-cvs/contrib/pdfmark'
rm -f pdfroff
sed -f /home/keith/sandbox/build/groff-cvs/arch/misc/shdeps.sed \
-e "s|@VERSION@|1.19.3|" \
-e "s|@GROFF_AWK_INTERPRETERS@|gawk mawk nawk awk|" \
-e "s|@GROFF_GHOSTSCRIPT_INTERPRETERS@|gs gswin32c gsos2|" \
-e "s|@GROFF_BIN_DIR@|/usr/local/bin|"
/home/keith/sandbox/cvs/groff/contrib/pdfmark/pdfroff.sh >pdfroff
chmod +x pdfroff
if test -f
/home/keith/sandbox/build/groff-cvs/../../cvs/groff/doc/gnu.eps; then \
cp /home/keith/sandbox/build/groff-cvs/../../cvs/groff/doc/gnu.eps . ; \
elif test -f /home/keith/sandbox/build/groff-cvs/doc/gnu.eps; then \
cp /home/keith/sandbox/build/groff-cvs/doc/gnu.eps . ; \
else \
xpmtoppm
/home/keith/sandbox/build/groff-cvs/../../cvs/groff/doc/gnu.xpm |
pnmdepth 15 | \
pnmtops -noturn -rle >gnu.eps ; \
fi
rm -f pdfmark.pdf
export GROFF_COMMAND_PREFIX; GROFF_COMMAND_PREFIX=''; export
GROFF_BIN_DIR;
GROFF_BIN_DIR=/home/keith/sandbox/build/groff-cvs/src/roff/groff; export
GROFF_BIN_PATH; GROFF_BIN_PATH=`echo
/home/keith/sandbox/build/groff-cvs/src/roff/groff
/home/keith/sandbox/build/groff-cvs/src/roff/troff
/home/keith/sandbox/build/groff-cvs/src/devices/grops | sed -e 's|
*|:|g'`; ./pdfroff -F/home/keith/sandbox/build/groff-cvs/font
-F/home/keith/sandbox/build/groff-cvs/../../cvs/groff/font
-M/home/keith/sandbox/cvs/groff/contrib/pdfmark
-M/home/keith/sandbox/build/groff-cvs/tmac
-M/home/keith/sandbox/build/groff-cvs/../../cvs/groff/tmac -dpaper=A4
-P-pA4 -mspdf
--stylesheet=/home/keith/sandbox/cvs/groff/contrib/pdfmark/cover.ms
/home/keith/sandbox/cvs/groff/contrib/pdfmark/pdfmark.ms >pdfmark.pdf
Making pdfroff.n from
/home/keith/sandbox/cvs/groff/contrib/pdfmark/pdfroff.man
make[2]: Leaving directory
`/home/keith/sandbox/build/groff-cvs/contrib/pdfmark'
address@hidden groff-cvs]$ uname -a
Linux banshee.localdomain 2.4.18-6mdk #1 Fri Mar 15 02:59:08 CET 2002
i686 unknown
address@hidden groff-cvs]$ gs --version
8.14
address@hidden groff-cvs]$ ls -l contrib/pdfmark/
total 220
-rw-r--r-- 1 keith users 59608 Mar 4 16:02 gnu.eps
-rw-r--r-- 1 keith users 116519 Mar 4 16:02 pdfmark.pdf
-rwxr-xr-x 1 keith users 17873 Mar 4 16:02 pdfroff
-rw-r--r-- 1 keith users 13284 Mar 4 16:02 pdfroff.n
> MacOSX 10.4.5, configure line is "./configure --prefix=/usr
> --mandir=/usr/ share/man" (adding "CXX=g++2" is not required for
> 10.4.x) if that makes a difference.
FWIW, I configured in a separate directory, with:
address@hidden groff-cvs]$ ../../cvs/groff/configure -C PAGE=A4
I don't think the CXX issue can be relevant here; this failure occurs a
long way after all compilation steps have been completed. I've seen
similar GhostScript failure messages before; a possible cause is that it
is presented with an *empty* input file, (or stream). Can you do some
debugging? Maybe the sed filter, right at the end of pdfroff, is somehow
swallowing all the gs input.
Sorry, I can't be more helpful with the limited info available.
Regards,
Keith.
- [Groff] pdfroff broken?, Larry Kollar, 2006/03/04
- Re: [Groff] pdfroff broken?,
Keith Marshall <=
- Re: [Groff] pdfroff broken?, Larry Kollar, 2006/03/12
- Re: [Groff] pdfroff broken?, Larry Kollar, 2006/03/13
- Re: [Groff] pdfroff broken?, Keith MARSHALL, 2006/03/14
- Re: [Groff] pdfroff broken?, Larry Kollar, 2006/03/14
- Re: [Groff] pdfroff broken?, Keith MARSHALL, 2006/03/14
- Re: [Groff] pdfroff broken?, Keith Marshall, 2006/03/15
Re: [Groff] pdfroff broken?, Werner LEMBERG, 2006/03/04