error:

checking for DocBook XSL Stylesheets in XML catalog... not found
checking for DocBook XSL Stylesheets in XML catalog... not found
configure: error: DocBook XSL Stylesheets are required for --enable-man
===> Script "configure" failed unexpectedly.

 

In the config.log file :

configure:28806: checking for DocBook XSL Stylesheets in XML catalog
configure:28809: $XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourcef
No entry for SYSTEM http://docbook.sourceforge.net/release/xsl/current/manpages/
No entry for URI http://docbook.sourceforge.net/release/xsl/current/manpages/doc
configure:28812: $? = 4
configure:28818: result: not found
configure:28827: error: DocBook XSL Stylesheets are required for --enable-man

 Same thing for

configure: error: docbook dtd is required for --enable-man

Root of the problem in xml catalog file. Because XML/XSL entry is missing

 

My solution was to add manually XSL entry in /usr/local/share/xml/catalog.ports:

 

# cat /usr/local/share/xml/catalog.ports

<?xml version="1.0"?> <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"     "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> <!-- Created by XML Catalog Manager 2.2 --> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <nextCatalog catalog="/usr/local/share/xml/docbook/catalog.xml" /> <nextCatalog catalog="/usr/local/share/xsl/docbook/catalog.xml" /><nextCatalog catalog="/usr/local/share/xml/sdocbook/1.1/dtd/catalog.xml" /> </catalog>