> Well, the docs suggest to use
> using fop : "C:/fop-0.20.5rc2/fop.bat" : "C:/j2sdk1.4.1_01" ;
> on windows.

Quite right.  I have changed my user-config.jam to indicate fop.bat rather than
fop.sh.  After reading boostbook.xml more carefully, I also realize that
FOP_COMMAND in the schematic must be replaced with the full path including the
name of the script or batch file rather than just the directory as in the
JAVA_HOME instance.

By the way, my question about this bit of documentation stems not from
\tools\boostbook\doc\boostbook.xml but from
http://www.boost.org/doc/html/boostbook/fop.html, Configuring Apache FOP for
PostScript/PDF Output.  Unless I'm missing something, boostbook.xml does not
generate fop.html and changes to the former must also be manually entered into
the latter page.

Perhaps fop.html could be eliminated or consolidated to ease maintenance of the
documentation.  I got back to Boost.Book a few days ago by doing a Google search
and was, because of the particular terms that I used, sent to the middle of
Section III of The Boost C++ Libraries, the Boost.Build v2 User Manual.  I was
flailing around there for a while but eventually I made sense of it.  I have
been keeping notes on the problems I encountered and I'll have some suggestions
later when I can eliminate some "operator error" problems on my side of the
keyboard.

>> If I now run "bjam --v2 pdf" from the C:\boostcvs\doc directory to test my
>> "using fop" line above for PDF generation, I get
...
>>     126 [main] BJAM 536107 fork_copy: user/cygwin data pass 2 failed,
>> 0xBB0000.. 0x1070000, done 0, windows pid 4294272229, Win32 error 8
>> vfork: Resource temporarily unavailable
> This is very strange. Looks like you're using cygwin bjam. Do you have cygwin
installed?

Yes, I do.

> Two ideas:
> 1. Try running "bjam --v2 -n". If the above error is generated only when
trying to execute a program, "bjam --v2 -n" should work fine, showing the list
of command bjam would have executed.

It does appear to work fine if I use (the cygwin version of) "bjam --v2 -n pdf"
in the \doc directory.  Here are the results of that run:
--------------------------------------------
...patience...
...found 204 targets...
...updating 32 targets...
MkDir1 ../bin.v2/libs

    mkdir "../bin.v2/libs"

MkDir1 ../bin.v2/libs/algorithm

    mkdir "../bin.v2/libs/algorithm"

MkDir1 ../bin.v2/libs/algorithm/string

    mkdir "../bin.v2/libs/algorithm/string"

MkDir1 ../bin.v2/libs/algorithm/string/doc

    mkdir "../bin.v2/libs/algorithm/string/doc"

MkDir1 ../bin.v2/libs/algorithm/string/doc/gcc

    mkdir "../bin.v2/libs/algorithm/string/doc/gcc"

MkDir1 ../bin.v2/libs/algorithm/string/doc/gcc/debug

    mkdir "../bin.v2/libs/algorithm/string/doc/gcc/debug"

text-action ../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.doxyfile

echo "ENABLE_PREPROCESSING = YES" >
"../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.doxyfile"

echo "EXPAND_ONLY_PREDEF = YES" >>
"../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.doxyfile"
 echo "EXTRACT_PRIVATE = NO" >>
"../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.doxyfile"
 echo "HIDE_UNDOC_MEMBERS = YES" >>
"../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.doxyfile"
 echo "MACRO_EXPANSION = YES" >>
"../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.doxyfile"
 echo "PREDEFINED = BOOST_STRING_TYPENAME=typename
\"BOOST_STATIC_CONSTANT(type,var)=static const type var;\"" >>
"../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.doxyfile"
 echo "SEARCH_INCLUDES = YES" >>
"../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.doxyfile"
 echo "GENERATE_HTML = NO" >>
"../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.doxyfile"
 echo "GENERATE_LATEX = NO" >>
"../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.doxyfile"
 echo "GENERATE_XML = YES" >>
"../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.doxyfile"
 echo "INPUT =  /cygdrive/c/boostcvs/boost/algorithm/string.hpp
/cygdrive/c/boostcvs/boost/algorithm/string_regex.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/classification.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/iterator_range.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/sequence_traits.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/std_containers_traits.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/collection_traits.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/concept.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/compare.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/constants.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/case_conv.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/find.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/finder.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/find_iterator.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/trim.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/predicate.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/split.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/erase.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/replace.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/find_format.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/formatter.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/regex.hpp
/cygdrive/c/boostcvs/boost/algorithm/string/regex_find_format.hpp " >>
"../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.doxyfile"

doxygen-action ../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.xml

  "C:/program files/doxygen/bin/doxygen.exe"
../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.doxyfile  ;
  echo "Stamped" > "../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.xml"

xslt-xsltproc ../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.doxygen

  XML_CATALOG_FILES=catalog.xml  "xsltproc"  --stringparam doxygen.xml.path
/cygdrive/c/boostcvs/doc/xml  --xinclude -o
"../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.doxygen"
"/cygdrive/c/boostcvs/tools/boostbook/xsl/doxygen/collect.xsl"  "xml/index.xml"

xslt-xsltproc ../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.boostbook

  XML_CATALOG_FILES=catalog.xml  "xsltproc"   --xinclude -o
"../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.boostbook"
"/cygdrive/c/boostcvs/tools/boostbook/xsl/doxygen/doxygen2boostbook.xsl"
"../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.doxygen"

common.copy ../libs/algorithm/string/doc/autodoc.boostbook

    cp  "../bin.v2/libs/algorithm/string/doc/gcc/debug/autodoc.boostbook"
"../libs/algorithm/string/doc/autodoc.boostbook"

MkDir1 ../bin.v2/libs/logic

    mkdir "../bin.v2/libs/logic"

MkDir1 ../bin.v2/libs/logic/doc

    mkdir "../bin.v2/libs/logic/doc"

MkDir1 ../bin.v2/libs/logic/doc/gcc

    mkdir "../bin.v2/libs/logic/doc/gcc"

MkDir1 ../bin.v2/libs/logic/doc/gcc/debug

    mkdir "../bin.v2/libs/logic/doc/gcc/debug"

text-action ../bin.v2/libs/logic/doc/gcc/debug/reference.doxyfile

echo "GENERATE_HTML = NO" >
"../bin.v2/libs/logic/doc/gcc/debug/reference.doxyfile"

echo "GENERATE_LATEX = NO" >>
"../bin.v2/libs/logic/doc/gcc/debug/reference.doxyfile"
 echo "GENERATE_XML = YES" >>
"../bin.v2/libs/logic/doc/gcc/debug/reference.doxyfile"
 echo "INPUT =  /cygdrive/c/boostcvs/boost/logic/tribool.hpp
/cygdrive/c/boostcvs/boost/logic/tribool_fwd.hpp
/cygdrive/c/boostcvs/boost/logic/tribool_io.hpp " >>
"../bin.v2/libs/logic/doc/gcc/debug/reference.doxyfile"

doxygen-action ../bin.v2/libs/logic/doc/gcc/debug/reference.xml

  "C:/program files/doxygen/bin/doxygen.exe"
../bin.v2/libs/logic/doc/gcc/debug/reference.doxyfile  ;
  echo "Stamped" > "../bin.v2/libs/logic/doc/gcc/debug/reference.xml"

xslt-xsltproc ../bin.v2/libs/logic/doc/gcc/debug/reference.doxygen

  XML_CATALOG_FILES=catalog.xml  "xsltproc"  --stringparam doxygen.xml.path
/cygdrive/c/boostcvs/doc/xml  --xinclude -o
"../bin.v2/libs/logic/doc/gcc/debug/reference.doxygen"
"/cygdrive/c/boostcvs/tools/boostbook/xsl/doxygen/collect.xsl"  "xml/index.xml"

xslt-xsltproc ../bin.v2/libs/logic/doc/gcc/debug/reference.boostbook

  XML_CATALOG_FILES=catalog.xml  "xsltproc"   --xinclude -o
"../bin.v2/libs/logic/doc/gcc/debug/reference.boostbook"
"/cygdrive/c/boostcvs/tools/boostbook/xsl/doxygen/doxygen2boostbook.xsl"
"../bin.v2/libs/logic/doc/gcc/debug/reference.doxygen"

common.copy ../libs/logic/doc/reference.boostbook

    cp  "../bin.v2/libs/logic/doc/gcc/debug/reference.boostbook"
"../libs/logic/doc/reference.boostbook"

MkDir1 ../bin.v2/libs/program_options

    mkdir "../bin.v2/libs/program_options"

MkDir1 ../bin.v2/libs/program_options/doc

    mkdir "../bin.v2/libs/program_options/doc"

MkDir1 ../bin.v2/libs/program_options/doc/gcc

    mkdir "../bin.v2/libs/program_options/doc/gcc"

MkDir1 ../bin.v2/libs/program_options/doc/gcc/debug

    mkdir "../bin.v2/libs/program_options/doc/gcc/debug"

text-action ../bin.v2/libs/program_options/doc/gcc/debug/autodoc.doxyfile

echo "GENERATE_HTML = NO" >
"../bin.v2/libs/program_options/doc/gcc/debug/autodoc.doxyfile"

echo "GENERATE_LATEX = NO" >>
"../bin.v2/libs/program_options/doc/gcc/debug/autodoc.doxyfile"
 echo "GENERATE_XML = YES" >>
"../bin.v2/libs/program_options/doc/gcc/debug/autodoc.doxyfile"
 echo "INPUT =
/cygdrive/c/boostcvs/boost/program_options/environment_iterator.hpp
/cygdrive/c/boostcvs/boost/program_options/cmdline.hpp
/cygdrive/c/boostcvs/boost/program_options/config.hpp
/cygdrive/c/boostcvs/boost/program_options/eof_iterator.hpp
/cygdrive/c/boostcvs/boost/program_options/errors.hpp
/cygdrive/c/boostcvs/boost/program_options/option.hpp
/cygdrive/c/boostcvs/boost/program_options/options_description.hpp
/cygdrive/c/boostcvs/boost/program_options/parsers.hpp
/cygdrive/c/boostcvs/boost/program_options/positional_options.hpp
/cygdrive/c/boostcvs/boost/program_options/value_semantic.hpp
/cygdrive/c/boostcvs/boost/program_options/variables_map.hpp
/cygdrive/c/boostcvs/boost/program_options/version.hpp " >>
"../bin.v2/libs/program_options/doc/gcc/debug/autodoc.doxyfile"

doxygen-action ../bin.v2/libs/program_options/doc/gcc/debug/autodoc.xml

  "C:/program files/doxygen/bin/doxygen.exe"
../bin.v2/libs/program_options/doc/gcc/debug/autodoc.doxyfile  ;
  echo "Stamped" > "../bin.v2/libs/program_options/doc/gcc/debug/autodoc.xml"

xslt-xsltproc ../bin.v2/libs/program_options/doc/gcc/debug/autodoc.doxygen

  XML_CATALOG_FILES=catalog.xml  "xsltproc"  --stringparam doxygen.xml.path
/cygdrive/c/boostcvs/doc/xml  --xinclude -o
"../bin.v2/libs/program_options/doc/gcc/debug/autodoc.doxygen"
"/cygdrive/c/boostcvs/tools/boostbook/xsl/doxygen/collect.xsl"  "xml/index.xml"

xslt-xsltproc ../bin.v2/libs/program_options/doc/gcc/debug/autodoc.boostbook

  XML_CATALOG_FILES=catalog.xml  "xsltproc"   --xinclude -o
"../bin.v2/libs/program_options/doc/gcc/debug/autodoc.boostbook"
"/cygdrive/c/boostcvs/tools/boostbook/xsl/doxygen/doxygen2boostbook.xsl"
"../bin.v2/libs/program_options/doc/gcc/debug/autodoc.doxygen"

common.copy ../libs/program_options/doc/autodoc.boostbook

    cp  "../bin.v2/libs/program_options/doc/gcc/debug/autodoc.boostbook"
"../libs/program_options/doc/autodoc.boostbook"

xslt-xsltproc ../bin.v2/doc/gcc/debug/boost.docbook

  XML_CATALOG_FILES=catalog.xml  "xsltproc"  --stringparam boost.libraries
../../libs/libraries.htm  --xinclude -o "../bin.v2/doc/gcc/debug/boost.docbook"
"/cygdrive/c/boostcvs/tools/boostbook/xsl/docbook.xsl"  "src/boost.xml"

xslt-xsltproc ../bin.v2/doc/gcc/debug/boost.fo

  XML_CATALOG_FILES=catalog.xml  "xsltproc"  --stringparam boost.libraries
../../libs/libraries.htm  --xinclude -o "../bin.v2/doc/gcc/debug/boost.fo"
"/cygdrive/c/boostcvs/tools/boostbook/xsl/fo.xsl"
"../bin.v2/doc/gcc/debug/boost.docbook"

fop.render.pdf ../bin.v2/doc/gcc/debug/boost.pdf

  JAVA_HOME=C:/j2sdk1.4.1_01  C:/fop-0.20.5rc2/fop.bat
../bin.v2/doc/gcc/debug/boost.fo  ../bin.v2/doc/gcc/debug/boost.pdf

...updated 32 targets...
--------------------------------------------
Does anything in the above file look wrong?


I also ran "bjam --v2 -n" from my Boost CVS root directory which gives me:
--------------------------------------------
******************************************************
Building Boost.Regex with Unicode/ICU support disabled.
HINT: define the environment variable ICU_PATH to point to the
root directy of your ICU installation if you have one.
Couldn't find utypes.h in
******************************************************
/cygdrive/c/boostcvs/tools/build/v2/build/targets.jam:1267: in targets.tag-name
from module targets
error: Both <tag> and <name> properties specified
/cygdrive/c/boostcvs/tools/build/v2/tools/stage.jam:128: in construct from
module object(stage-target-class)@1
/cygdrive/c/boostcvs/tools/build/v2/build/targets.jam:1123: in
object(stage-target-class)@1.generate from module object(stage-target-class)@1
/cygdrive/c/boostcvs/tools/build/v2/build/targets.jam:750: in generate-really
from module object(main-target)@1
/cygdrive/c/boostcvs/tools/build/v2/build/targets.jam:723: in
object(main-target)@1.generate from module object(main-target)@1
/cygdrive/c/boostcvs/tools/build/v2/build/targets.jam:252: in
object(project-target)@2.generate from module object(project-target)@2
/cygdrive/c/boostcvs/tools/build/v2/build-system.jam:160: in load from module
build-system
/cygdrive/c/boostcvs/tools/build/v2/kernel/modules.jam:259: in import from
module modules
/cygdrive/c/boostcvs/tools/build/v2/kernel/bootstrap.jam:120: in boost-build
from module
/cygdrive/c/boostcvs/boost-build.jam:12: in module scope from module
--------------------------------------------

> 2. If you've built with cygwin, try explicitly building bjam with some other
compiler, for example:
   ./build.bat borland or ./build.bat msvc
> I don't know why cygwin version fails (maybe cygwin is not reliable on Win
98), but trying another compiler is a possibility.

Here I run into other problems.  Referring to /tools/build/jam_src/index.html, I
tried several things.  The table under Building Boost.Jam does not show my
Windows 98SE operating system in the build.bat script section but I tried it
anyway by issuing commands in the tools\build\jam_src directory.

A. Attempt: ".\build.bat borland"  Result: numerous "bad command or filename"
message, two errors, the computer goes into an infinite loop and I take drastic
steps to kill the process.  (The Borland bcc32 version 5.6.4 \bin directory is
in the environment's path statement.)  The errors are:
>rd /S /Q bootstrap
Invalid switch - /S
>md bootstrap
unable to create directory

B. Attempt: ".\build.bat mingw"  Result: same as for Borland above.

Now moving on to try build.sh:
C. Attempt: "sh ./build.sh borland"  Result: the error message is "Unknown
toolset: borland"  It appears that build.sh is looking for bc++ which is not
present on my machine.  (Substituting kylix, shown on the table on the Borland
line, indeed gives me the error "bc++: not found")

The MinGW compiler is not an option when using the build.sh script.  I don't
have msvc or any of the other compilers which may be used with build.sh and
build.bat.

Charles Brockman



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to