public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: "Németh Márton" <nm127@freemail.hu>
Cc: "William M. Brack" <wbrack@mmm.com.hk>,
	V4L Mailing List <linux-media@vger.kernel.org>
Subject: Re: problem building v4l2-spec from docbook source
Date: Thu, 3 Sep 2009 08:54:55 -0300	[thread overview]
Message-ID: <20090903085455.176f4df3@pedra.chehab.org> (raw)
In-Reply-To: <4A9F52E1.7030004@freemail.hu>

Em Thu, 03 Sep 2009 07:23:45 +0200
Németh Márton <nm127@freemail.hu> escreveu:

> William M. Brack wrote:
> > Németh Márton wrote:
> >> Hi,
> >>
> >> I get the source from http://linuxtv.org/hg/v4l-dvb repository and I
> >> am now
> >> at version 12564:6f58a5d8c7c6. When I try to build the human readable
> >> version
> >> of the V4L2 specification I get some error message:
> >>
> >> $ make v4l2-spec
> >> [...]
> >> Using catalogs: /etc/sgml/catalog
> >> Using stylesheet:
> >> /usr/src/linuxtv.org/v4l-dvb/v4l2-spec/custom.dsl#html
> >> Working on: /usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml
> >> openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:1:55:W:
> >> cannot generate system identifier for public text "-//OASIS//DTD
> >> DocBook V3.1//EN"
> >> openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:23:0:E:
> >> reference to entity "BOOK" for which no system identifier could be
> >> generated
> >> openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:1:0: entity
> >> was defined here
> >> openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:23:0:E: DTD
> >> did not contain element declaration for document type name
> >> openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:25:9:E:
> >> there is no attribute "ID"
> >> openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:25:19:E:
> >> element "BOOK" undefined
> > <snip>
> >> openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:367:11:E:
> >> element "REVREMARK" undefined
> >> openjade:I: maximum number of errors (200) reached; change with -E
> >> option
> >> make[2]: *** [html-single-build.stamp] Error 8
> >> make[2]: Leaving directory `/usr/src/linuxtv.org/v4l-dvb/v4l2-spec'
> >> make[1]: *** [v4l2-spec] Error 2
> >> make[1]: Leaving directory `/usr/src/linuxtv.org/v4l-dvb/v4l'
> >> make: *** [v4l2-spec] Error 2
> >>
> >> I am running Debian 5.0 with docbook-utils package version 0.6.14-1.1.
> >> Any idea how to fix this?
> >
> > It appears you are missing one or more of the packages involved in the
> > sgml catalog for docbook.  My first guess would be the sgml-common
> > package; my second guess would be docbook-dtds.  After that, it gets
> > more complicated - can you confirm you have those two and still have
> > the problem?
> 
> Unfortunately the sgml-common and the docbook-dtds are not installed and
> I cannot install them on Debian because they are not found:
> http://packages.debian.org/search?keywords=sgml-common&searchon=names&suite=stable&section=all
> http://packages.debian.org/search?suite=stable&section=all&arch=any&searchon=names&keywords=docbook-dtds
> 
> In the meantime I updated to version "12614:fd679bbd8bb3" and now I get
> a different error message:
> 
> | $ make v4l2-spec
> | [...]
> | Using catalogs: /etc/sgml/catalog
> | Using stylesheet: /usr/src/linuxtv.org/v4l-dvb/v4l2-spec/custom.dsl#html
> | Working on: /usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml
> | openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/./remote_controllers.sgml:21:27:E: there is no attribute "Role"

Try to replace "Role" to "role". Maybe it is just another case where you need to use lowercase with some xml engines.



Cheers,
Mauro

  reply	other threads:[~2009-09-03 11:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-30  8:20 problem building v4l2-spec from docbook source Németh Márton
2009-08-31 12:42 ` William M. Brack
2009-08-31 16:52   ` Mauro Carvalho Chehab
2009-09-01  0:35     ` Mauro Carvalho Chehab
2009-09-01  6:59       ` Hans Verkuil
2009-09-01  8:49         ` Laurent Pinchart
2009-09-01  8:55           ` Hans Verkuil
2009-09-01 13:11             ` Mauro Carvalho Chehab
2009-09-03  5:23   ` Németh Márton
2009-09-03 11:54     ` Mauro Carvalho Chehab [this message]
2009-09-03 12:08       ` Mauro Carvalho Chehab
2009-09-04 14:43         ` Németh Márton
2009-09-05 17:54           ` Peter Brouwer
2009-09-07  1:25             ` Mauro Carvalho Chehab
2009-09-07  7:00               ` Mauro Carvalho Chehab
2009-09-09  4:07                 ` CityK
2009-09-12 16:19                   ` Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090903085455.176f4df3@pedra.chehab.org \
    --to=mchehab@infradead.org \
    --cc=linux-media@vger.kernel.org \
    --cc=nm127@freemail.hu \
    --cc=wbrack@mmm.com.hk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox