[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] Compilation error in nbd



On Sat, Sep 12, 2015 at 02:13:52PM +0000, ARC wrote:
> Getting the following compilation error while compiling nbd:
> amitava@...2110...:~/data/prog/c/nbd/nbd$ ./autogen.sh
> + make -C man -f Makefile.am nbd-server.1.sh.in nbd-server.5.sh.in
> nbd-client.8.sh.in nbd-trdump.1.sh.in
> make: Entering directory `/home/amitava/data/prog/c/nbd/nbd/man'
> LC_ALL=C docbook2man nbd-server.1.in.sgml
> Using catalogs: /etc/sgml/catalog
> Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#print
> Working on: /home/amitava/data/prog/c/nbd/nbd/man/nbd-server.1.in.sgml
> nsgmls:/home/amitava/data/prog/c/nbd/nbd/man/nbd-server.1.in.sgml:1:59:W:
> cannot generate system identifier for public text "-//OASIS//DTD DocBook V4.1//
> EN"

That means you don't have the correct DocBook DTD installed. As such,
docbook2man doesn't work (since none of the entities can be found).

If you're using Debian, make sure you have the "docbook" package
installed; docbook-utils has alternate dependencies to docbook and
docbook-xml, where the latter is not what you need. For other
distributions, you'll want to find out which package contains
/usr/share/sgml/docbook/dtd/4.1/docbook.dtd

Regards,

-- 
It is easy to love a country that is famous for chocolate and beer

  -- Barack Obama, speaking in Brussels, Belgium, 2014-03-26



Reply to: