|
Boost-Build : |
From: Eric Niebler (eric_at_[hidden])
Date: 2004-12-29 13:40:08
David Abrahams wrote:
> Title says it all.
>
> I can bjam --v2 html but not bjam --v2 pdf
> How is it done?
>
I think this is broken as well, at least under cygwin. Back in the day,
I got this working by following the steps at
http://boost.org/doc/html/boostbook/fop.html. I added the following to
my user-config.jam:
using fop : /home/catfood/fop-0.20.5/
: /cygdrive/c/Java/j2re1.4.2_06/
;
and this did the trick. But now, when I try to build a pdf, I get:
catfood_at_ericne-lap ~/boost/cvs/boost-sandbox/libs/xpressive/doc
$ bjam --v2 pdf
warning: toolset fop initialization:
warning: can't find user-provided command '/home/catfood/fop-0.20.5/'
warning: initialized from
...found 36 targets...
...updating 1 target...
fop.render ../../../bin.v2/libs/xpressive/doc/gcc/debug/xpressive.pdf
/home/catfood/fop-0.20.5/: not found
JAVA_HOME=/cygdrive/c/Java/j2re1.4.2_06/
/home/catfood/fop-0.20.5/
../../../bin.v2/libs/xpressive/doc/gcc/debug/xpressive.fo
../../../bin.v2/libs/xpressive/doc/gcc/debug/xpressive.pdf
...failed fop.render
../../../bin.v2/libs/xpressive/doc/gcc/debug/xpressive.pdf...
...failed updating 1 target...
I'm not sure when this stopped working, and I don't recall doing
anything to my environment that would affect this.
After a bit of fiddling, I got it working again by using
/home/catfood/fop-0.20.5/fop.sh as FOP_DIR and by setting JAVACMD envar
to point directly to my java.exe. But this shouldn't be necessary, and
at the very least, the documentation is wrong.
-- Eric Niebler Boost Consulting www.boost-consulting.com
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