|
Boost-Build : |
From: John Maddock (john_at_[hidden])
Date: 2007-05-04 14:04:45
For some reason whenever I instruct bjam to build docs into a PDF, xsltproc
fails if the .fo file already exists. And yet.... for some strange reason I
don't see the same problem with other xsltproc targets.
Does anyone have any idea on what's going on here and how we can fix it?
Maybe change the xsltproc rule so it deletes the target XML file before
invoking xsltproc?
The actual error messages are:
xslt-xsltproc
c:\data\boost\develop\boost\libs\regex\doc\..\..\..\bin.v2\libs\re
gex\doc\msvc-8.0\debug\threading-multi\regex.fo
set
XML_CATALOG_FILES=..\..\..\bin.v2\libs\regex\doc\msvc-8.0\debug\threading-
multi/catalog.xml
"C:/download/open/xml/bin/xsltproc-win32/xsltproc.exe" --stringparam
admon.grap
hics.extension .svg --stringparam admon.graphics 1 --stringparam
body.start.inde
nt 0pt --stringparam chunk.first.sections 1 --stringparam
chunk.section.depth 10
--stringparam fop.extensions 0 --stringparam generate.section.toc.level
10 --st
ringparam navig.graphics 1 --stringparam page.margin.inner
0.5in --stringparam p
age.margin.outer 0.5in --stringparam toc.max.depth 4 --stringparam
toc.section.d
epth 10 --stringparam xep.extensions 1 --xinclude -o
"c:\data\boost\develop\boos
t\libs\regex\doc\..\..\..\bin.v2\libs\regex\doc\msvc-8.0\debug\threading-multi\r
egex.fo" "c:\data\boost\develop\boost\tools\boostbook\xsl\fo.xsl"
"..\..\..\bin.
v2\libs\regex\doc\msvc-8.0\debug\threading-multi\regex.docbook"
Making portrait pages on USletter paper (8.5inx11in)
runtime error
xsltApplyStylesheet: saving to
file:///c%3A/data/boost/develop/boost/libs/regex/
doc/../../../bin.v2/libs/regex/doc/msvc-8.0/debug/threading-multi/regex.fo
may n
ot be possible
...failed xslt-xsltproc
c:\data\boost\develop\boost\libs\regex\doc\..\..\..\bin.
v2\libs\regex\doc\msvc-8.0\debug\threading-multi\regex.fo...
...removing
c:\data\boost\develop\boost\libs\regex\doc\..\..\..\bin.v2\libs\rege
x\doc\msvc-8.0\debug\threading-multi\regex.fo
Cheers, John.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk