|
Boost-Build : |
From: Steven Solie (ssolie_at_[hidden])
Date: 2004-09-07 22:39:58
Rene Rivera wrote: > > For example, I want to build the graph library examples. I cd to the > > examples directory and type bjam but it complains about a missing > > subproject rule. Seems I can only run bjam from the root of Boost. > > It's not supposed to be complaining. Do you have the entire Boost tree? > Specifically do you have the "[boost-root]/tools/build/v1" directory? > What is the exact error message? What directories does it say it search > for the Boost.Build system? Perhaps the directory searching is broken on > AmigaOS. OK, I've narrowed down the problem to AmigaOS path handling. For starters, I don't understand what the build.jam file is trying to tell me here: # Platform related specifics. if $(NT) { rule .path { return "$(<:J=\\)" ; } } else if $(OS2) { rule .path { return "$(<:J=\\)" ; } } else if $(VMS) { rule .path { return "[.$(<:J=/)]" ; } } else if $(MAC) { rule .path { return ":$(<:J=\:)" ; } } else { rule .path { return "$(<:J=/)" ; } } if $(VMS) { . = "_" ; } else { . = "." ; } In
AmigaOS land, the path seperator is / (slash) and so is the DOTDOT operator. The DOT operator should be "" (two double quotes) for current directory. I'm not clear on how to tell bjam this via the build.jam file. Do you have any hints? --Steven
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