Subject: Re: [Boost-build] unexpected requirement
From: Jurko GospodnetiÄ (jurko.gospodnetic_at_[hidden])
Date: 2012-06-27 09:49:09
> I have a user-config.jam file set up so that it can find the xsltproc.exe.
> If I run without my path including this progam I get an error. I get this
> the problem is that error occurs even if I'm not using xsltproc.exe
> which is almost always.
> WHat is the best way to address this?
I just went through the tools/xsltproc.jam and as it reads - it will
error out if it gets called with an invalid path parameter. Which I do
not really see anything wrong with.
So the question is - why are you initializing this toolset in the
If you know where the tool's executable is located - simply pass the
correct path here. And if you do not have the executable - do not call
the 'using xsltproc' rule in the first place.
If you have some sort of customized auto-detection code detecting
whether you have the xsltproc executable available - simply update it to
not call 'using xsltproc' if it can not find the executable.
If your user-config.jam file is stored as a part of your project
sources then that is something to change. My suggestion is to make it
part of the documented development environment setup procedure to have
the developer configure where the needed xsltproc.exe is located in his
local site-config.jam, user-config.jam or project-config.jam.
Or, if you are really going for the 'ease of use' - move this code to
project-config.jam and implement some auto-detection to initialize the
xsltproc toolset only if it can locate the executable and it has not
already been initialized by the user's local
Hope this helps.
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