Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2005-03-07 21:10:17


Andre Stechert <andre_at_[hidden]> writes:

> Hi,
>
> I'm trying to make pmade software's netxx package available via
> darwinports, but I'm running into some trouble from bjam. In
> particular, while doing the build, bjam fails like this:
>
> ...
> DEBUG: Assembled command: 'cd
> "/Users/andrestechert/darwinports/dports-local/devel/netxx/work/netxx-0.4.2"
> && NETXX_JAM=bjam MACOSX_DEPLOYMENT_TARGET=10.3 bjam
> --prefix=/opt/local -sTOOLS=darwin
> -sBOOST_BUILD_PATH=/opt/local/share/boost-build/'
> Jamfile:4: in modules.load
> rule SubInclude unknown in module
> Jamfile</Users/andrestechert/darwinports/dports-local/devel/netxx/work/netxx-0.4.2>.
> /opt/local/share/boost-build/build/project.jam:255: in load-jamfile
> /opt/local/share/boost-build/build/project.jam:67: in project.load
> /opt/local/share/boost-build/build-system.jam:75: in load
> /opt/local/share/boost-build//kernel/modules.jam:259: in import
> /opt/local/share/boost-build//kernel/bootstrap.jam:120: in boost-build
> /opt/local/share/boost-build//boost-build.jam:1: in module scope
> ...
>
> I can't find any related bugs in the archive and
>
> strings `which bjam` | grep SubInclude
>
> yields:
>
> rule SubInclude

The bjam executable's behavior depens on its name. If argv[0] isn't
"bjam," it will act differently. It appears in your case argv[0]
might be "NETXX_JAM=bjam".

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net