Postgis使用
使用make docs
建構Postgis,“無法解析/html/docbook.xsl”
當我嘗試建構文件時,我得到了,
make -C doc html make[1]: Entering directory '/home/ecarroll/code/postgis/doc' make -C html/image_src images make[2]: Entering directory '/home/ecarroll/code/postgis/doc/html/image_src' make[2]: Nothing to be done for 'images'. make[2]: Leaving directory '/home/ecarroll/code/postgis/doc/html/image_src' /usr/bin/xsltproc --param section.autolabel 1 --param section.label.includes.component.label 1 --param chunk.section.depth 0 --param generate.section.toc.level 2 --param funcsynopsis.style kr --param admon.graphics 1 --param admon.textlabel 0 --param simplesect.in.toc 0 --param use.id.as.filename 1 --param chunk.quietly 1 --nonet --stringparam html.stylesheet style.css \ --output html/postgis.html \ /html/docbook.xsl \ postgis-out.xml warning: failed to load external entity "/html/docbook.xsl" cannot parse /html/docbook.xsl Makefile:258: recipe for target 'html/postgis.html' failed make[1]: *** [html/postgis.html] Error 4 make[1]: Leaving directory '/home/ecarroll/code/postgis/doc' GNUmakefile:89: recipe for target 'docs' failed make: *** [docs] Error 2
這是因為你沒有
docbook.xsl
. 在 Ubuntu 上,可以在docbook-xsl
包中找到,執行sudo apt-get install docbook-xsl ./configure make docs