Skip to content

Instantly share code, notes, and snippets.

@biot023
Created July 13, 2011 22:57

Revisions

  1. biot023 created this gist Jul 13, 2011.
    79 changes: 79 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,79 @@
    ~/src/boost_1_47_0$ cd tools/build/v2/
    ~/src/boost_1_47_0/tools/build/v2$ ./bootstrap.sh --with-toolset=clang
    -n Bootstrapping the build engine with toolset clang...
    engine/bin.macosxx86_64/bjam

    Bootstrapping is done. To build and install, run:

    ./b2 install --prefix=<DIR>

    ~/src/boost_1_47_0/tools/build/v2$ ./b2 install --prefix=/usr/local/bin
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:532: in inherit-attributes
    warning: rulename $(pattributes).get expands to empty string
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:488: in initialize
    /usr/share/boost-build/build-system.jam:115: in load
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/modules.jam:283: in import
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/boost-build.jam:8: in module scope
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:535: in inherit-attributes
    warning: rulename $(pattributes).get expands to empty string
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:488: in initialize
    /usr/share/boost-build/build-system.jam:115: in load
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/modules.jam:283: in import
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/boost-build.jam:8: in module scope
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:537: in inherit-attributes
    warning: rulename $(pattributes).get expands to empty string
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:488: in initialize
    /usr/share/boost-build/build-system.jam:115: in load
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/modules.jam:283: in import
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/boost-build.jam:8: in module scope
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:539: in inherit-attributes
    warning: rulename $(pattributes).get expands to empty string
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:488: in initialize
    /usr/share/boost-build/build-system.jam:115: in load
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/modules.jam:283: in import
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/boost-build.jam:8: in module scope
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:541: in inherit-attributes
    warning: rulename $(pattributes).get expands to empty string
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:488: in initialize
    /usr/share/boost-build/build-system.jam:115: in load
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/modules.jam:283: in import
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/boost-build.jam:8: in module scope
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:743: in attribute
    warning: rulename $($(project).attributes).get expands to empty string
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:755: in target
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:500: in initialize
    /usr/share/boost-build/build-system.jam:115: in load
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/modules.jam:283: in import
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/boost-build.jam:8: in module scope
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:743: in project.attribute
    warning: rulename $($(project).attributes).get expands to empty string
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/targets.jam:206: in object(project-target)@10.__init__
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/class.jam:88: in new
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:755: in target
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:500: in initialize
    /usr/share/boost-build/build-system.jam:115: in load
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/modules.jam:283: in import
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/boost-build.jam:8: in module scope
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/targets.jam:1563: in targets.main-target-requirements
    *** argument error
    * rule property-set.refine-from-user-input ( parent-requirements : specification * : project-module : location )
    * called with: ( : <location>/usr/local/bin/bin <hardcode-dll-paths>false : Jamfile</Users/douglivesey/src/boost_1_47_0/tools/build/v2> : . )
    * missing argument parent-requirements
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/property-set.jam:411:see definition of rule 'refine-from-user-input' being called
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/tools/stage.jam:517: in stage.install
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/tools/package.jam:89: in package.install
    Jamroot.jam:18: in modules.load
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:314: in load-jamfile
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:62: in load
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/build/project.jam:168: in project.find
    /usr/share/boost-build/build-system.jam:248: in load
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/modules.jam:283: in import
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build
    /Users/douglivesey/src/boost_1_47_0/tools/build/v2/boost-build.jam:8: in module scope