Return-Path: <boost-users-bounces@lists.boost.org>
Received: from n024.sc1.he.tucows.com (64.97.168.31) by n059.sc1.cp.net
	(7.2.066) id 4754DDD600069718 for boost.regex@virgin.net;
	Thu, 6 Dec 2007 18:49:47 +0000
Received: from sc1-in06.emaildefenseservice.com (64.97.203.87) by
	n024.sc1.he.tucows.com (7.2.069.1)
	id 4752299F00364B6F for boost.regex@virgin.net;
	Thu, 6 Dec 2007 18:49:41 +0000
X-SpamScore: 2
X-Spamcatcher-Summary: 2, 0, 0, 4c60634631e50f2d, 61f4b488123ce360,
	boost-users-bounces@lists.boost.org, -,
	RULES_HIT:1:2:355:379:901:905:906:908:910:911:912:945:960:967:973:974:980:988:989:997:1183:1187:1260:1261:1277:1311:1313:1314:1345:1431:1437:1513:1515:1516:1518:1521:1593:1594:1605:1606:1730:1747:1766:1792:1801:2194:2199:2227:2393:2525:2553:2559:2566:2570:2682:2685:2692:2703:2828:2857:2859:2895:2933:2937:2939:2942:2945:2947:2951:2954:3022:3421:3622:3636:3653:3657:3865:3866:3867:
	3868:3869:3870:3871:3872:3874:3934:3936:3938:3941:3944:4250:4321:4361:4605:4860:5007:6117:6118:6119:6261:7679,
	0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none,
	DomainCache:0, MSF:not bulk, SPF:, MSBL:none, DNSBL:none
X-Spamcatcher-Explanation: (100%)	RECEIVED: Countries in Received headers loop
	through multiple countries; 
Received: from moutng.kundenserver.de (moutng.kundenserver.de
	[212.227.126.177])
	by sc1-in06.emaildefenseservice.com (Postfix) with ESMTP
	for <boost.regex@virgin.net>; Thu,  6 Dec 2007 18:49:40 +0000 (UTC)
Received-SPF: none (mxeu4: 129.79.245.252 is neither permitted nor denied by
	domain of lists.boost.org) client-ip=129.79.245.252;
	envelope-from=boost-users-bounces@lists.boost.org;
	helo=wowbagger.osl.iu.edu; 
Received: from wowbagger.osl.iu.edu (wowbagger.osl.iu.edu [129.79.245.252])
	by mx.kundenserver.de (node=mxeu4) with ESMTP (Nemesis)
	id 0MKqlY-1J0Ln03Rgm-0003nV for john@johnmaddock.co.uk;
	Thu, 06 Dec 2007 19:49:39 +0100
Received: from wowbagger.osl.iu.edu (localhost [127.0.0.1])
	by wowbagger.osl.iu.edu (Postfix) with ESMTP id 762572F82CA;
	Thu,  6 Dec 2007 13:49:27 -0500 (EST)
X-Original-To: Boost-users@lists.boost.org
Delivered-To: Boost-users@lists.boost.org
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20])
	by wowbagger.osl.iu.edu (Postfix) with SMTP id BE33E2F8151
	for <Boost-users@lists.boost.org>; Thu,  6 Dec 2007 13:32:11 -0500 (EST)
Received: (qmail invoked by alias); 06 Dec 2007 18:32:10 -0000
Received: from unknown (EHLO [10.99.1.178]) [192.44.8.42]
	by mail.gmx.net (mp010) with SMTP; 06 Dec 2007 19:32:10 +0100
X-Authenticated: #4374599
X-Provags-ID: V01U2FsdGVkX18K7MBpkV0KPDGjcAhO3CxShONfRfTjbGvbk1XS8M
	jrpe/gAGavBnbn
Message-ID: <47584023.60807@gmx.de>
Date: Thu, 06 Dec 2007 19:32:03 +0100
From: =?ISO-8859-15?Q?Torsten_M=E4hne?= <Torsten.Maehne@gmx.de>
User-Agent: IceDove 1.5.0.14pre (X11/20071018)
To: Boost-users@lists.boost.org
X-Y-GMX-Trusted: 0
X-Mailman-Approved-At: Thu, 06 Dec 2007 13:48:46 -0500
Subject: [Boost-users] [units] Problem building HTML documentation from
	QuickBook sources
X-BeenThere: boost-users@lists.boost.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: boost-users@lists.boost.org
List-Id: Boost Users mailing list <boost-users.lists.boost.org>
List-Unsubscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost-users>,
	<mailto:boost-users-request@lists.boost.org?subject=unsubscribe>
List-Archive: <http://lists.boost.org/MailArchives/boost-users>
List-Post: <mailto:boost-users@lists.boost.org>
List-Help: <mailto:boost-users-request@lists.boost.org?subject=help>
List-Subscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost-users>,
	<mailto:boost-users-request@lists.boost.org?subject=subscribe>
Sender: boost-users-bounces@lists.boost.org
Errors-To: boost-users-bounces@lists.boost.org
X-Antivirus: AVG for E-mail 7.5.503 [269.16.15/1173]
Mime-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=iso-8859-15

Hello,

I'm very interested in the Boost.Units library. I've been therefore
trying to use the version, which is available from the Boost Sandbox SVN
repository (Revision 41778):

svn co http://svn.boost.org/svn/boost/sandbox/units boost_units

I've no problems using the header-only Boost.Units library in my own
small test programs, but I'm struggling to build the reference
documentation located in libs/units/doc/. Therefore, I'm currently
forced to use the outdated HTML documentation from the
mcs_units_v0.7.2.zip archive available from the Boost file vault or read
directly the units.qbk source.

I'm using Boost.Units together with boost-1.34.1, which is unpacked in a
parallel directory:

$ ls
boost-1.34.1
boost_units

on my laptop running Debian Etch:

$ uname -a
Linux babylon5 2.6.18-5-686 #1 SMP Wed Oct 3 00:12:50 UTC 2007 i686
GNU/Linux
$ g++ --version
g++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

After defining the environment variable:

BOOST_BUILD_PATH=3D<absolute_path_to_boost-1.34.1>/tools/build/v2

and creating the following user-config.jam in $BOOST_BUILD_PATH, I was
able to build the boost libraries itself, and the HTML and PDF
documentation from their Boost.Book and Quickbook sources:

#### Begin user-config.jam ####
using gcc : 4.1 : g++-4.1 ;

using xsltproc : "/usr/bin/xsltproc" ;

using boostbook
         : "/usr/share/xml/docbook/stylesheet/nwalsh/"
         : "/usr/share/xml/docbook/schema/dtd/4.2"
         ;

using doxygen : "/usr/bin/doxygen" ;

using fop : "/usr/bin/fop"
          : "/usr/lib/jvm/java-6-sun-1.6.0.00"
          ;
##### End user-config.jam #####

I have to admit that I don't fully understand yet the boost.build
system, but I achieved to create the necessary Jamroot file in
boost_units/ (my working copy of the units library). It contains only

#### Begin of Jamroot ####
use-project boost
  : ../boost-1.34.1 ;
##### End of Jamroot #####

Then I was able to build the tests in libs/units/test and
libs/units/test_headers. All tests in tests in libs/units/test and only
the test for non_si_units.hpp fails in libs/units/test_headers. Judging
from the #define error in this header, it seems to be expected. But
running bjam in the libs/units/doc directory fails after outputting
several times:

runtime error: file
/home/maehne/build/boost-1.34.1/tools/boostbook/xsl/docbook.xsl line 338
element element
xsl:element: The QName 'xi:include' has no namespace binding in scope in
the stylesheet; this is an error, since the namespace was not s
pecified by the instruction itself.

There are also a lot of warnings like:

warning: cannot find header `boost/units/operators.hpp'
warning: cannot find header `boost/units/systems/trig.hpp'
Cannot find class named 'boost::units::unit'
Cannot find class named 'boost::units::quantity'

I've seen on the Boost developers mailing list, that there were
previously problems with Boost.Book discussed as in the thread from
"[units] Boost.Book problems" from August 2007
<http://lists.boost.org/Archives/boost/2007/08/126004.php>.

I also tried to use boost-trunk from the SVN repository (revision
41797). But then I seem to run into the same error, which was posted by
John Maddock <http://lists.boost.org/Archives/boost/2007/08/126031.php>
in the above mentioned thread:

Generate XML output for dir /home/torsten/build/boost-units/boost/
Generate XML output for dir
/home/torsten/build/boost-units/boost/units/systems/physical_dimensions/
Generate XML output for dir
/home/torsten/build/boost-units/boost/units/systems/
Generate XML output for dir /home/torsten/build/boost-units/boost/units/
[1]+  Done                    rm -f
"bin/gcc-4.2.2/debug/dimensions_reference-xml/*.xml"
xslt-xsltproc bin/gcc-4.2.2/debug/dimensions_reference-xml.doxygen
xslt-xsltproc bin/gcc-4.2.2/debug/dimensions_reference-xml.boostbook
warning: failed to load external entity "Reference"
cannot parse Reference

  XML_CATALOG_FILES=3D../../../../boost-trunk/bin.v2/boostbook_catalog.xml
export XML_CATALOG_FILES
 "/usr/bin/xsltproc" --stringparam boost.doxygen.reftitle ""Dimensions
Reference"" --xinclude -o
"bin/gcc-4.2.2/debug/dimensions_reference-xml.boostbook"
"/home/torsten/build/boost-trunk/tools/boostbook/xsl/doxygen/doxygen2boostb=
ook.xsl"
"bin/gcc-4.2.2/debug/dimensions_reference-xml.doxygen"

...failed xslt-xsltproc
bin/gcc-4.2.2/debug/dimensions_reference-xml.boostbook...
...skipped <p.>dimensions_reference.xml for lack of
<pbin/gcc-4.2.2/debug>dimensions_reference-xml.boostbook...
...skipped <pbin/gcc-4.2.2/debug>units.docbook for lack of
<p.>trig_reference.xml...
...skipped <phtml>standalone_HTML.manifest for lack of
<pbin/gcc-4.2.2/debug>units.docbook...
...failed updating 7 targets...
...skipped 10 targets...
...updated 64 targets...
Exit 1

Am I doing something wrong or am I facing a bug in the Boost.Units,
Boost.Book or QuickBook? Could maybe someone, who succeeded to build the
Boost.Units documentation, send it to me in HTML or PDF format?

Best regards,

Torsten M=E4hne

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users


-- 
No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.16.15/1173 - Release Date: 05/12/2007=
 21:29


