<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 13px;">
<div style="">For some reason, the most recent lxc release really doesn't want to install the pregenerated copies of the man pages in the doc directory.<br>
<br>
I did a configure, make, and make install on it (installing the two prerequisite packages it wanted), it installed into /usr/local (fine), but the man pages aren't there.  sudo find / -xdev -name "lxc-kill*" found the installed binary and the man page in the
 source directory, even after I went into the "doc" subdirectory and did a make install in there.<br>
<br>
Is this expected behavior?<br>
<br>
It _has_ them, it just won't _install_ them.  "./configure --help" shows an "--enable-doc" option which complains about docbook2man not being installed.  (Why couldn't it just probe for that in ./configure and enable the docs if it finds them?  Why couldn't
 it just install the pregenerated copies<br>
it ships with?  And why is ./configure claiming to generate sgml files after I install ubuntu 10.04's docbook-utils package?  Surely that's make's job, not configure's?)<br>
<br>
Unfortunately, that configure option just gives a build break.  Doing a make after configuring with --enable-doc (and installing the docbook-utils package to make it happy) dies with:<br>
<br>
docbook2man -w all lxc-create.sgml<br>
Using catalogs: /etc/sgml/catalog<br>
Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#print<br>
Working on: /home/landley/lxc-0.7.3/doc/lxc-create.sgml<br>
nsgmls:/home/landley/lxc-0.7.3/doc/lxc-create.sgml:26:63:W: cannot generate system identifier for public text "-//Davenport//DTD DocBook V3.0//EN"<br>
nsgmls:/home/landley/lxc-0.7.3/doc/lxc-create.sgml:30:0:E: reference to entity "REFENTRY" for which no system identifier could be generated<br>
nsgmls:/home/landley/lxc-0.7.3/doc/lxc-create.sgml:26:0: entity was defined here<br>
nsgmls:/home/landley/lxc-0.7.3/doc/lxc-create.sgml:30:0:E: DTD did not contain element declaration for document type name<br>
<br>
And so on for several more pages.<br>
<br>
Building the package itself was fairly easy.  Getting the man pages to install requires copying them over by hand:<br>
<br>
for i in $(cd doc; ls *.[0-9])<br>
do<br>
  NUMBER=$(echo "$i" | sed 's/.*\(.\)$/\1/')<br>
  cp doc/$i /usr/local/man/man$NUMBER/$i<br>
done<br>
<br>
Rob<br>
</div>
</div>
</body>
</html>