Boost logo

Boost :

From: Wieger Wesselink (wieger_at_[hidden])
Date: 2004-10-07 12:41:23


I tried to use boostbook with native Windows, and ran into a few
problems. There were two things that took me several hours to
figure out. May be this could be added to the installation notes?

1) Apparently the order of the 'using boostbook' and 'using doxygen'
declarations in user-config.jam matters; I did it wrong at first, and
the resulting errors were incomprehensible to me:

   warning: Doxygen initialization: Boost.Build stylesheets not found

2) I needed to empty the bin.v2 directory to make it work. This was
something I hadn't thought about, and again the error messages were
quite incomprehensible.

Finally, the generation of PDF doesn't work because of a problem with
the jam files. It seems that fop.sh is called instead of fop.bat.
Perhaps someone could have a look at this?

...found 20 targets...
...updating 1 target...
fop ..\..\..\bin.v2\tools\boostbook\doc\gcc\debug\boostbook.pdf
'JAVA_HOME' is not recognized as an internal or external command,
operable program or batch file.

  JAVA_HOME=D:/java/jdk1.5.0 D:/cpp/boostbook/fop-0.20.5/fop.sh
..\..\..\bin.v2\tools\boostbook\doc\gcc\debug\boostbook.fo
..\..\..\bin.v2\tools\boostbook\doc\gcc\debug\boostbook.pdf

...failed fop
..\..\..\bin.v2\tools\boostbook\doc\gcc\debug\boostbook.pdf...
...failed updating 1 target...

If I run this from the command line with fop.bat, the file
boostbook.pdf is successfully created. I have used the following
settings:

--- user-config.jam ---
using xsltproc ;

using boostbook : d:/cpp/boostbook/docbook-xsl-1.66.1
                : d:/cpp/boostbook/docbook-xml-4.2
                ;

using doxygen ;

using fop : D:/cpp/boostbook/fop-0.20.5
          : D:/java/jdk1.5.0
          ;

Regards,

Wieger

-- 
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
>From your mailbox to local or overseas cell phones.
Powered by Outblaze

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk