DJ Lucas wrote:
Note to self...or anyone else if they get to it first. Need to double check gtk-doc just in case I did something wrong. Also, comments appreciated for net-tools (see below).

Currently working on a svn build of LFS, but I doubt it makes a difference on 6.0. Needed rewriteSystem and URI for xsl/current to build gtk-doc else configure choked on 'configure: error: could not find DocBook XSL Stylesheets in XML catalog. Configure is specifically looking for 'current'. I added the following to xsl instructions locally, but want a second set of eyes on it.

xmlcatalog --noout --add "rewriteSystem" \
    "http://docbook.sourceforge.net/release/xsl/current/"; \
    "/usr/share/xml/docbook/xsl-stylesheets-1.67.2" \
    /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
    "http://docbook.sourceforge.net/release/xsl/current"; \
    "/usr/share/xml/docbook/xsl-stylesheets-1.67.2" \
    /etc/xml/catalog


I took a look at this issue and it appears the best place to put this is in the gtk-doc instructions. My initial thought was to put them in the DocBook XSL Stylesheets section, but that would require an entry every time the another package changed. In this case, with the use of entities, an update to dtk-doc will automatically be updated when the Stylesheets entity changes, but the specific requirements of a package should have the xmlcatalog instructions local to the package.


I do wonder if the xmlcatalog command is smart enough to replace an old entry in /etc/xml/catalog that matches a new statement.

Next, the note still exists for net-tools about make config. It seems out of place since it is automated with 'yes'. Here is the quoted text:

"If you don't know what to answer to all the questions asked during the make config phase below, then just accept the defaults (the build command below automates this)."

IMO, this should just be explained in the command explanations. Something to the effect of:
'yes "" | make config - ...this is usually fine....you can optionally run make config by itself for more control over the options.'

IIRC, we just copied that from LFS when they dropped net-tools. The entire paragraph you refer to should probably be moved to the explainations. I'll BZ this for future. This section still needs to be tagged for indexing and both issues can be done at the same time.


  -- Bruce


-- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page

Reply via email to