Re: [Boost-docs] [accumulators] Doxygen: The system cannot find thefile specified.

Subject: Re: [Boost-docs] [accumulators] Doxygen: The system cannot find thefile specified.
From: John Maddock (john_at_[hidden])
Date: 2008-08-01 16:07:31


Eric Niebler wrote:
> You could try bjam -d+2 to see what commands are being executed. (I'm
> leaving for a long weekend, so I won't be around to help track it
> down, sorry.)

OK, here's the issues I've found, all appear to be related to either the
bbv2 rules or the accumulators doc Jamfile specifically, but I don't have
any fixes :-(

1) This message:

doxygen-action
..\..\..\bin.v2\libs\accumulators\doc\gcc-mingw-cygwin\debug\statsdoc.html-dir

    del /f /q
"..\..\..\bin.v2\libs\accumulators\doc\gcc-mingw-cygwin\debug\statsdoc\*.xml"
& "C:/Program Files/doxygen/bin/doxygen.exe"
"..\..\..\bin.v2\libs\accumulators\doc\gcc-mingw-cygwin\debug\statsdoc.doxyfile"
&& echo "Stamped" >
"..\..\..\bin.v2\libs\accumulators\doc\gcc-mingw-cygwin\debug\statsdoc.html-dir"

The system cannot find the file specified.

Is produced because there is no directory
"..\..\..\bin.v2\libs\accumulators\doc\gcc-mingw-cygwin\debug\statsdoc" and
hence no XML files to delete, I assume the correct directory name should be
"..\..\..\bin.v2\libs\accumulators\doc\gcc-mingw-cygwin\debug\statsdoc-xml"
?

2) This one looks right, but still issues an error message:

doxygen-action
..\..\..\bin.v2\libs\accumulators\doc\gcc-mingw-cygwin\debug\tagfile-xml.xml-dir

    del /f /q
"..\..\..\bin.v2\libs\accumulators\doc\gcc-mingw-cygwin\debug\tagfile-xml\*.xml"
& "C:/Program Files/doxygen/bin/doxygen.exe"
"..\..\..\bin.v2\libs\accumulators\doc\gcc-mingw-cygwin\debug\tagfile-xml.doxyfile"
&& echo "Stamped" >
"..\..\..\bin.v2\libs\accumulators\doc\gcc-mingw-cygwin\debug\tagfile-xml.xml-dir"

The system cannot find the file specified.

There are a few others like this as well.

3) Now for the real killer: if the toolset is msvc (the default) then the
images don't get copied to the correct location, but if the toolset is
specified as gcc then they do! The issue is this part of the Jamfile:

if [ os.name ] = NT
{
    CP = copy /y ;
    MKDIR = mkdir ;
    FROM = \\..\\..\\html\\statsdoc\\*.png ;
    TOHTML = .\\html\\images\\accumulators ;
    TOPDF = \\images\\accumulators ;
}
else
{
    CP = cp ;
    MKDIR = mkdir -p ;
    FROM = /../../html/statsdoc/*.png ;
    TOHTML = ./html/images/accumulators ;
    TOPDF = /images/accumulators ;
}

which may or may not be correct depending upon which toolset variant you're
using and how deep it's directory tree goes. This one is potentially nasty
because it would be all to easy to ship docs with no accumulator images :-(

Anyhow I hope this gets us a little closer to a fix, John.


This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:40 UTC