Hi Wael,

At 2024-11-30T19:17:56+0200, Wael Karram wrote:
> Hello,
> I'm trying to compile an .ms document with groff using the HTML output
> with the following command:
> groff -s -ms -e -Thtml -P-Dhtml -P-I1.html 1.ms > html/1.html
> I get an error "sh: line 1: missing: command not found"
> And then:
> Calling 'echo showpage | missing -q -dBATCH -dSAFER -dDEVICEHEIGHTPOINTS=792 
> -dDEVICEWIDTHPOINTS=700 -dFIXEDMEDIA=true -sDEVICE=pnmraw -r100 
> -dTextAlphaBits=4 -dGraphicsAlphaBits=4  -sOutputFile=/tmp/groff-page-p9UCo9 
> /tmp/groff-ps-Z50Aox -
> ' returned status 32512
> Followed by a bunch of errors from different pnm utilities being
> called by groff.

It looks like, when groff was configured, it could not locate a
Ghostscript interpreter program on the system.

Did you build groff from source yourself?  If so, the configure script
emits a warning banner advising that certain groff functionality will
not be available.  That includes the "grohtml" output driver,
unfortunately.

Here's the relevant part of the Autoconf macro:

https://git.savannah.gnu.org/cgit/groff.git/tree/m4/groff.m4?h=1.23.0#n529

> I suspect I have some missing dependency, but looking it up I cannot
> seem to find it. And moreover, it has been a while since I touched
> this set of documents, so I'm not entirely sure what I did at the
> time.

$ type gs

...is one way to check my hypothesis.

Also, what does "groff --version" report?

Regards,
Branden

Attachment: signature.asc
Description: PGP signature

Reply via email to