[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] problem with current snapshot
From: |
Joerg van den Hoff |
Subject: |
Re: [Groff] problem with current snapshot |
Date: |
Fri, 16 Mar 2007 16:24:52 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Fri, Mar 16, 2007 at 10:28:30AM -0400, Larry Kollar wrote:
>
> Joerg van den Hoff wrote:
>
> > I've tried to test the current snapshot (under OSX 10.4.8.). I encountered
> > the
> > following problems:
> >
> > 1.)
> > contrary to earlier versions, this one did initially _not_ compile due to a
> > probably
> > simple problem:
> > utilities such as `xpmtoppm' which are used during documentation
> > generation are not present under OSX und not even available via the package
> > systems (fink, port). I did not try to get those otherwise (where could
> > I?), but
> > edited the corresponding makefile, susbtituting the affected lines by using
> > `convert' (from ImageMagick) to achieve the apparently intended conversions.
> > I presume fiddling with the affected two lines does not mess up the further
> > compile/install run?
>
> You need the NetPBM tools (netpbm.sf.net). Using ImageMagick should
> work equally well.
>
> > question: could the makefile be modified so that it checks for availability
> > of
> > the conversion tools and maybe even tries whether it can use `convert'
> > instead?
>
> If I knew how to fool with autoconf, I would patch in a couple of package
> options:
>
> --with-netpbm (default: =yes)
> --with-imagemagick (default: =no)
> --with-sips (default =no)
if someone could do that it would of course be helpful (autoconf? I can't)
>
> Sips is an OSX utility that performs many of the same functions as
> NetPBM or ImageMagick. You can convert, for example, JPEG to PNG
> using:
>
> sips -s format png foo.jpg --out foo.png
>
> It supports: jpeg, tiff, png, gif, jp2 (JPEG2000 I think), pict, bmp,
> qtif (not sure), psd (Photoshop), sgi, and tga.
that escaped my attention up to now. good to know, thanks (and completely off
topic: you know of `mdfind' which queries the spotlight metadata database from
the command line? rather more powerful than `locate')
>
> > 2.)
> > after solving(?) point 1 above compile went through. the first test of
> > the installed snapshot now yields more problems:
> >
> > I get _lots_ of errors: " `\E' is not allowed in an escape name"
> >
> > and the formatting yields buggy output (with -ms) ...
> >
> > here the switch to italic for a single word (image) fails (italic is
> > activated
> > and maintained for the rest of the paragraph) and some register is not
> > expanded
> > or macro not recognized, it seems ([par*prev-font]), maybe related to the
> > error message given above?
>
> Strange. I didn't have that problem with the CVS from a couple of
> months ago. Are you sure you're invoking the just-compiled groff?
yes. I created a whole separate directory tree for the test installation and put
it in front of the standard groff on the search path (I checked).
> Try copying your test file into the source directory and use "./test-groff"
> with the normal command-line options.
same result. the problem seems related to the `ms' macros somehow.
I now did `make clean' and recompiled. here follows the final section prior to
the crash:
GROFF_COMMAND_PREFIX=''; export GROFF_COMMAND_PREFIX; GROFF_BIN_PATH=`echo
/Users/vdh/Desktop/groff-current/src/roff/groff
/Users/vdh/Desktop/groff-current/src/roff/troff
/Users/vdh/Desktop/groff-current/src/preproc/pic
/Users/vdh/Desktop/groff-current/src/preproc/eqn
/Users/vdh/Desktop/groff-current/src/preproc/tbl
/Users/vdh/Desktop/groff-current/src/preproc/grn
/Users/vdh/Desktop/groff-current/src/preproc/refer
/Users/vdh/Desktop/groff-current/src/preproc/soelim
/Users/vdh/Desktop/groff-current/src/preproc/html
/Users/vdh/Desktop/groff-current/src/devices/grops
/Users/vdh/Desktop/groff-current/src/devices/grohtml | sed -e 's| *|:|g'`;
export GROFF_BIN_PATH; sed -e "s;@VERSION@;1.19.3;" pic.ms |
/Users/vdh/Desktop/groff-current/src/roff/groff/groff
-M/Users/vdh/Desktop/groff-current/tmac -M/Users/vdh/Desktop/groff-current/tmac
-F/Users/vdh/Desktop/groff-current/font -F/Users/vdh/Desktop/groff-current/font
-Upet -ww -Tps -ms -mwww >pic.ps
<standard input>:670: `\E' is not allowed in an escape name
<standard input>:676: `\E' is not allowed in an escape name
<standard input>:678: `\E' is not allowed in an escape name
<standard input>:686: `\E' is not allowed in an escape name
<standard input>:688: `\E' is not allowed in an escape name
<standard input>:782: `\E' is not allowed in an escape name
<standard input>:787: `\E' is not allowed in an escape name
<standard input>:913: `\E' is not allowed in an escape name
<standard input>:915: `\E' is not allowed in an escape name
<standard input>:1813: `\E' is not allowed in an escape name
<standard input>:1816: `\E' is not allowed in an escape name
<standard input>:1894: `\E' is not allowed in an escape name
<standard input>:1897: `\E' is not allowed in an escape name
<standard input>:1901: `\E' is not allowed in an escape name
<standard input>:1903: `\E' is not allowed in an escape name
<standard input>:1907: `\E' is not allowed in an escape name
<standard input>:1909: `\E' is not allowed in an escape name
<standard input>:1912: `\E' is not allowed in an escape name
<standard input>:1914: `\E' is not allowed in an escape name
<standard input>:1916: `\E' is not allowed in an escape name
<standard input>:1920: `\E' is not allowed in an escape name
<standard input>:1922: `\E' is not allowed in an escape name
<standard input>:1926: `\E' is not allowed in an escape name
<standard input>:1929: `\E' is not allowed in an escape name
<standard input>:1945: `\E' is not allowed in an escape name
<standard input>:1948: `\E' is not allowed in an escape name
<standard input>:1953: `\E' is not allowed in an escape name
<standard input>:1955: `\E' is not allowed in an escape name
<standard input>:2100: `\E' is not allowed in an escape name
<standard input>:2103: `\E' is not allowed in an escape name
<standard input>:2105: `\E' is not allowed in an escape name
<standard input>:2138: `\E' is not allowed in an escape name
<standard input>:2142: `\E' is not allowed in an escape name
<standard input>:2146: `\E' is not allowed in an escape name
<standard input>:2148: `\E' is not allowed in an escape name
<standard input>:2192: `\E' is not allowed in an escape name
<standard input>:2197: `\E' is not allowed in an escape name
xpmtoppm ./gnu.xpm | pnmdepth 15 | \
pnmtops -noturn -rle >gnu.eps
/bin/sh: line 1: xpmtoppm: command not found
/bin/sh: line 1: pnmdepth: command not found
/bin/sh: line 1: pnmtops: command not found
make[2]: *** [gnu.eps] Error 127
make[1]: *** [doc] Error 2
make: *** [all] Error 2
===========================================================================
as you can see during the attempt(?) to create `pic.ps' I get the same error
message already at compile time ( `\E' is not allowed in an escape name) and
than it stumbles over the absent `xpmtoppm' etc..
any more tips would be appreciated.
joerg
- Re: [Groff] problem with current snapshot, (continued)
- Re: [Groff] problem with current snapshot, Joerg van den Hoff, 2007/03/20
- Re: [Groff] problem with current snapshot, Larry Kollar, 2007/03/20
- Re: [Groff] problem with current snapshot, Joerg van den Hoff, 2007/03/21
- Re: [Groff] problem with current snapshot, Werner LEMBERG, 2007/03/21
- Re: [Groff] problem with current snapshot, Joerg van den Hoff, 2007/03/22
- Re: [Groff] problem with current snapshot, Werner LEMBERG, 2007/03/22
Re: [Groff] problem with current snapshot, Larry Kollar, 2007/03/16
- Re: [Groff] problem with current snapshot,
Joerg van den Hoff <=