On 26/03/2017 19:22, Bruce Dubbs wrote:
Michael D. L. wrote:


On 03/26/2017 02:38 PM, Pierre Labastie wrote:
On 26/03/2017 12:05, Michael D. L. wrote:
Hi,

Just did a checkout of the latest jhalfs, and after downloading the Stable
LFS-8.0-System V Book, I received loads of errors.

Doesn't seem to affect the build-process though.
Looks like the docbook DTD is not found. Is /etc/xml/catalog set up?

That's why. I never install the Dockbook tools - and don't think I've
tried to use an existing LFS Build, to build a new LFS before - always
been using either the LiveCD or a suitable Dist :)

I think the jhalfs docs need to specify that the book(s) need to build cleanly as a prerequisite for jhalfs. This means that the host needs subversion in addition to the packages listed in the lfs svn INSTALL file:

libxml2
libxslt
both tested at the beginning of the jhalfs script. See below for doc.
docbook-xml-4.5 (including config) (also needs sgml-common and UnZip)
docbook-4.5  DTD (including config)
Included in the preceding. Only tested for BLFS. For LFS, the profiling step (for choosing the "revision") makes use of the DTD. That was not the case before the book merging. OTOH, as Michael wrote, a missing DTD throws warnings, not errors.

docbook-xsl (including config)

That one is included with the book sources. The system docbook stylesheets are not used.

tidy (optional for jhalfs, but needed for testing the book build via make)
That should not be required for jhalfs...

After that wget is a runtime dependency for jhalfs also.


The required dependencies are on the web page http://www.linuxfromscratch.org/alfs/download.html. I'll commit soon a
new README referencing that page.

docbook-xml is not needed for CLFS. I had not realized until today that it could be used for LFS, since we now profile the LFS book. I'll add a note about that. But I think the way to go is to modify the LFS.xsl script to use directly the "revision" attribute.

Regards,
Pierre

--
http://lists.linuxfromscratch.org/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to