2003-08-17 20:12:16

by Rob Landley

[permalink] [raw]
Subject: make htmldocs is broken.

Standard Red Hat 9 install (with 2.6.0-test3-bk1), did a make htmldocs, and it
barfed like so:

> DOCPROC Documentation/DocBook/parportbook.sgml
> FIG2PNG Documentation/DocBook/parport-share.png
>/bin/sh: line 1: fig2dev: command not found
>make[1]: *** [Documentation/DocBook/parport-share.png] Error 127

Does this command live on default installs of SuSE or debian or something?
(Or maybe it was in RH 7 or so and has been removed?)

Rob


2003-08-17 20:19:34

by Kurt Wall

[permalink] [raw]
Subject: Re: make htmldocs is broken.

Quoth Rob Landley:
> Standard Red Hat 9 install (with 2.6.0-test3-bk1), did a make htmldocs, and it
> barfed like so:
>
> > DOCPROC Documentation/DocBook/parportbook.sgml
> > FIG2PNG Documentation/DocBook/parport-share.png
> >/bin/sh: line 1: fig2dev: command not found
> >make[1]: *** [Documentation/DocBook/parport-share.png] Error 127
>
> Does this command live on default installs of SuSE or debian or something?
> (Or maybe it was in RH 7 or so and has been removed?)

Dunno about the other others, but Slackware installs fig2dev from
the transfig package.

Kurt
--
You are a very redundant person, that's what kind of person you are.

2003-08-17 21:08:16

by Jeff Garzik

[permalink] [raw]
Subject: Re: make htmldocs is broken.

Rob Landley wrote:
> Standard Red Hat 9 install (with 2.6.0-test3-bk1), did a make htmldocs, and it
> barfed like so:
>
>
>> DOCPROC Documentation/DocBook/parportbook.sgml
>> FIG2PNG Documentation/DocBook/parport-share.png
>>/bin/sh: line 1: fig2dev: command not found
>>make[1]: *** [Documentation/DocBook/parport-share.png] Error 127
>
>
> Does this command live on default installs of SuSE or debian or something?
> (Or maybe it was in RH 7 or so and has been removed?)


Red Hat and Debian ship this program in their current distros, in the
transfig package.

Jeff



2003-08-18 00:46:29

by Rob Landley

[permalink] [raw]
Subject: [PATCH] Re: make htmldocs is broken.

On Sunday 17 August 2003 17:07, Jeff Garzik wrote:
> Rob Landley wrote:
> > Does this command live on default installs of SuSE or debian or
> > something? (Or maybe it was in RH 7 or so and has been removed?)
>
> Red Hat and Debian ship this program in their current distros, in the
> transfig package.
>
> Jeff

But it's not installed by default. Okay...

How bout this one then? :)

>Working on: /home/landley/linux/linux-2.6.0-test3/Documentation/DocBook/sis900.sgml
>Done.
> DOCPROC Documentation/DocBook/kernel-api.sgml
>docproc: kernel/pm.c: No such file or directory
>make[1]: *** [Documentation/DocBook/kernel-api.sgml] Error 139
>make: *** [htmldocs] Error 2

Possibly due to me upgrading to test3-bk5. The following patch seems to
fix it, although there are 8 zillion warnings build everything from there on
down...

--- temp/Documentation/DocBook/kernel-api.tmpl 2003-08-17 20:40:39.000000000 -0400
+++ linux-2.6.0-test3/Documentation/DocBook/kernel-api.tmpl 2003-08-17 20:40:54.000000000 -0400
@@ -206,7 +206,7 @@

<chapter id="pmfuncs">
<title>Power Management</title>
-!Ekernel/pm.c
+!Ekernel/power/pm.c
</chapter>

<chapter id="blkdev">


Rob

2003-08-18 01:19:20

by Michael Still

[permalink] [raw]
Subject: Re: [PATCH] Re: make htmldocs is broken.

Rob Landley wrote:

>>Working on:
>>/home/landley/linux/linux-2.6.0-test3/Documentation/DocBook/sis900.sgml
>>Done.
>> DOCPROC Documentation/DocBook/kernel-api.sgml
>>docproc: kernel/pm.c: No such file or directory
>>make[1]: *** [Documentation/DocBook/kernel-api.sgml] Error 139
>>make: *** [htmldocs] Error 2
>
> Possibly due to me upgrading to test3-bk5. The following patch seems
> to fix it, although there are 8 zillion warnings build everything from
> there on down...
>
> --- temp/Documentation/DocBook/kernel-api.tmpl 2003-08-17
> 20:40:39.000000000 -0400 +++
> linux-2.6.0-test3/Documentation/DocBook/kernel-api.tmpl 2003-08-17
> 20:40:54.000000000 -0400 @@ -206,7 +206,7 @@
>
> <chapter id="pmfuncs">
> <title>Power Management</title>
> -!Ekernel/pm.c
> +!Ekernel/power/pm.c
> </chapter>
>
> <chapter id="blkdev">

This patch looks good to me (it works on 2.6.0-test3-bk5). It actually
fixes a breakage in make sgmldocs which is used by htmldocs et al.
Cheers,
Mikal