Boost logo

Boost-Build :

From: Russell L. Carter (rcarter_at_[hidden])
Date: 2006-08-28 15:27:53


Greetings,
I am trying to carefully follow the 'Extender Manual'
and its example code in 'example/customization' (which
builds fine) and I am missing something. For a quick
test, I want to teach bjam how to build pdf's from
latex files using rubber:

file rubber.jam:

import type ;
type.register LATEX : tex : : main ;
type.register LATEX_PDF : pdf ;

import generators ;

generators.register-standard latex.latex : LATEX : LATEX_PDF ;

actions latex
{
   rubber $(>)
}

file project-root.jam:

import rubber ;

file Jamfile:

latex report.pdf : report.tex ;

Error:

rcarter_at_feyerabend [275] bjam
/usr/share/boost-build/build/targets.jam:1156: in construct from module
object(typed-target)@1
error: unable to construct ./report.pdf
/usr/share/boost-build/build/targets.jam:1024: in
object(typed-target)@1.generate from module object(typed-target)@1
/usr/share/boost-build/build/targets.jam:546: in generate-really from module
object(main-target)@1
/usr/share/boost-build/build/targets.jam:519: in object(main-target)@1.generate
from module object(main-target)@1
/usr/share/boost-build/build/targets.jam:203: in
object(project-target)@1.generate from module object(project-target)@1
/usr/share/boost-build/build-system.jam:160: in load from module build-system
/usr/share/boost-build/kernel/modules.jam:259: in import from module modules
/usr/share/boost-build/kernel/bootstrap.jam:120: in boost-build from module
/usr/share/boost-build/boost-build.jam:1: in module scope from module

rcarter_at_feyerabend [276] bjam -v
Boost.Jam Version 3.1.11. OS=LINUX.

This is on a debian amd64 testing box, with boost-build installed
from the debian package. Note, the online documentation doesn't mention
using 'main' in the type declaration, but it's described in the
installed documentation, and exists in the build system jam files.

TIA,
Russell


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