Building native extensions. This could take a while... ERROR: Error installing dep_selector: ERROR: Failed to build gem native extension. /usr/local/ree-1.8.7-2011.03/bin/ruby extconf.rb checking for main() in -lgecodesearch... yes checking for main() in -lgecodeint... yes checking for main() in -lgecodekernel... yes checking for main() in -lgecodesupport... yes checking for main() in -lgecodeminimodel... yes creating Makefile make Makefile:134: warning: overriding commands for target `/mnt/gems-chef-0.5/gems/dep_selector-0.0.8/lib' Makefile:132: warning: ignoring old commands for target `/mnt/gems-chef-0.5/gems/dep_selector-0.0.8/lib' g++ -I. -I/opt/local/include -I. -I/usr/local/ree-1.8.7-2011.03/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -O2 -c dep_selector_swig_wrap.cxx g++ -I. -I/opt/local/include -I. -I/usr/local/ree-1.8.7-2011.03/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -O2 -c dep_selector_to_gecode_interface.cpp g++ -I. -I/opt/local/include -I. -I/usr/local/ree-1.8.7-2011.03/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -O2 -c dep_selector_to_gecode.cpp dep_selector_to_gecode.cpp: In constructor ‘VersionProblem::VersionProblem(int, bool, bool)’: dep_selector_to_gecode.cpp:116: error: no matching function for call to ‘Gecode::VarArgArray::VarArgArray()’ /usr/include/gecode/kernel/array.hpp:1192: note: candidates are: Gecode::VarArgArray::VarArgArray(const Gecode::VarArray&) [with Var = Gecode::BoolVar] /usr/include/gecode/kernel/array.hpp:1187: note: Gecode::VarArgArray::VarArgArray(const Gecode::VarArgArray&) [with Var = Gecode::BoolVar] /usr/include/gecode/kernel/array.hpp:1182: note: Gecode::VarArgArray::VarArgArray(int) [with Var = Gecode::BoolVar] dep_selector_to_gecode.cpp: In constructor ‘VersionProblem::VersionProblem(bool, VersionProblem&)’: dep_selector_to_gecode.cpp:142: error: no matching function for call to ‘Gecode::VarArgArray::VarArgArray()’ /usr/include/gecode/kernel/array.hpp:1192: note: candidates are: Gecode::VarArgArray::VarArgArray(const Gecode::VarArray&) [with Var = Gecode::BoolVar] /usr/include/gecode/kernel/array.hpp:1187: note: Gecode::VarArgArray::VarArgArray(const Gecode::VarArgArray&) [with Var = Gecode::BoolVar] /usr/include/gecode/kernel/array.hpp:1182: note: Gecode::VarArgArray::VarArgArray(int) [with Var = Gecode::BoolVar] dep_selector_to_gecode.cpp: In member function ‘void VersionProblem::Finalize()’: dep_selector_to_gecode.cpp:317: error: ‘create’ is not a member of ‘Gecode::IntArgs’ dep_selector_to_gecode.cpp:360: error: no matching function for call to ‘branch(VersionProblem&, Gecode::IntVar&, Gecode::IntValBranch)’ /usr/include/gecode/kernel/branch.hpp:156: note: candidates are: void Gecode::branch(Gecode::Space&, void (*)(Gecode::Space&)) /usr/include/gecode/int.hh:2160: note: void Gecode::branch(Gecode::Space&, const Gecode::IntVarArgs&, Gecode::IntVarBranch, Gecode::IntValBranch, const Gecode::VarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2166: note: void Gecode::branch(Gecode::Space&, const Gecode::IntVarArgs&, const Gecode::TieBreakVarBranch&, Gecode::IntValBranch, const Gecode::TieBreakVarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2172: note: void Gecode::branch(Gecode::Space&, const Gecode::BoolVarArgs&, Gecode::IntVarBranch, Gecode::IntValBranch, const Gecode::VarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2178: note: void Gecode::branch(Gecode::Space&, const Gecode::BoolVarArgs&, const Gecode::TieBreakVarBranch&, Gecode::IntValBranch, const Gecode::TieBreakVarBranchOptions&, const Gecode::ValBranchOptions&) dep_selector_to_gecode.cpp:361: error: no matching function for call to ‘branch(VersionProblem&, Gecode::IntVar&, Gecode::IntValBranch)’ /usr/include/gecode/kernel/branch.hpp:156: note: candidates are: void Gecode::branch(Gecode::Space&, void (*)(Gecode::Space&)) /usr/include/gecode/int.hh:2160: note: void Gecode::branch(Gecode::Space&, const Gecode::IntVarArgs&, Gecode::IntVarBranch, Gecode::IntValBranch, const Gecode::VarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2166: note: void Gecode::branch(Gecode::Space&, const Gecode::IntVarArgs&, const Gecode::TieBreakVarBranch&, Gecode::IntValBranch, const Gecode::TieBreakVarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2172: note: void Gecode::branch(Gecode::Space&, const Gecode::BoolVarArgs&, Gecode::IntVarBranch, Gecode::IntValBranch, const Gecode::VarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2178: note: void Gecode::branch(Gecode::Space&, const Gecode::BoolVarArgs&, const Gecode::TieBreakVarBranch&, Gecode::IntValBranch, const Gecode::TieBreakVarBranchOptions&, const Gecode::ValBranchOptions&) dep_selector_to_gecode.cpp:362: error: no matching function for call to ‘branch(VersionProblem&, Gecode::IntVar&, Gecode::IntValBranch)’ /usr/include/gecode/kernel/branch.hpp:156: note: candidates are: void Gecode::branch(Gecode::Space&, void (*)(Gecode::Space&)) /usr/include/gecode/int.hh:2160: note: void Gecode::branch(Gecode::Space&, const Gecode::IntVarArgs&, Gecode::IntVarBranch, Gecode::IntValBranch, const Gecode::VarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2166: note: void Gecode::branch(Gecode::Space&, const Gecode::IntVarArgs&, const Gecode::TieBreakVarBranch&, Gecode::IntValBranch, const Gecode::TieBreakVarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2172: note: void Gecode::branch(Gecode::Space&, const Gecode::BoolVarArgs&, Gecode::IntVarBranch, Gecode::IntValBranch, const Gecode::VarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2178: note: void Gecode::branch(Gecode::Space&, const Gecode::BoolVarArgs&, const Gecode::TieBreakVarBranch&, Gecode::IntValBranch, const Gecode::TieBreakVarBranchOptions&, const Gecode::ValBranchOptions&) dep_selector_to_gecode.cpp:363: error: no matching function for call to ‘branch(VersionProblem&, Gecode::IntVar&, Gecode::IntValBranch)’ /usr/include/gecode/kernel/branch.hpp:156: note: candidates are: void Gecode::branch(Gecode::Space&, void (*)(Gecode::Space&)) /usr/include/gecode/int.hh:2160: note: void Gecode::branch(Gecode::Space&, const Gecode::IntVarArgs&, Gecode::IntVarBranch, Gecode::IntValBranch, const Gecode::VarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2166: note: void Gecode::branch(Gecode::Space&, const Gecode::IntVarArgs&, const Gecode::TieBreakVarBranch&, Gecode::IntValBranch, const Gecode::TieBreakVarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2172: note: void Gecode::branch(Gecode::Space&, const Gecode::BoolVarArgs&, Gecode::IntVarBranch, Gecode::IntValBranch, const Gecode::VarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2178: note: void Gecode::branch(Gecode::Space&, const Gecode::BoolVarArgs&, const Gecode::TieBreakVarBranch&, Gecode::IntValBranch, const Gecode::TieBreakVarBranchOptions&, const Gecode::ValBranchOptions&) dep_selector_to_gecode.cpp:365: error: no matching function for call to ‘branch(VersionProblem&, Gecode::IntVar&, Gecode::IntValBranch)’ /usr/include/gecode/kernel/branch.hpp:156: note: candidates are: void Gecode::branch(Gecode::Space&, void (*)(Gecode::Space&)) /usr/include/gecode/int.hh:2160: note: void Gecode::branch(Gecode::Space&, const Gecode::IntVarArgs&, Gecode::IntVarBranch, Gecode::IntValBranch, const Gecode::VarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2166: note: void Gecode::branch(Gecode::Space&, const Gecode::IntVarArgs&, const Gecode::TieBreakVarBranch&, Gecode::IntValBranch, const Gecode::TieBreakVarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2172: note: void Gecode::branch(Gecode::Space&, const Gecode::BoolVarArgs&, Gecode::IntVarBranch, Gecode::IntValBranch, const Gecode::VarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2178: note: void Gecode::branch(Gecode::Space&, const Gecode::BoolVarArgs&, const Gecode::TieBreakVarBranch&, Gecode::IntValBranch, const Gecode::TieBreakVarBranchOptions&, const Gecode::ValBranchOptions&) dep_selector_to_gecode.cpp:366: error: no matching function for call to ‘branch(VersionProblem&, Gecode::IntVar&, Gecode::IntValBranch)’ /usr/include/gecode/kernel/branch.hpp:156: note: candidates are: void Gecode::branch(Gecode::Space&, void (*)(Gecode::Space&)) /usr/include/gecode/int.hh:2160: note: void Gecode::branch(Gecode::Space&, const Gecode::IntVarArgs&, Gecode::IntVarBranch, Gecode::IntValBranch, const Gecode::VarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2166: note: void Gecode::branch(Gecode::Space&, const Gecode::IntVarArgs&, const Gecode::TieBreakVarBranch&, Gecode::IntValBranch, const Gecode::TieBreakVarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2172: note: void Gecode::branch(Gecode::Space&, const Gecode::BoolVarArgs&, Gecode::IntVarBranch, Gecode::IntValBranch, const Gecode::VarBranchOptions&, const Gecode::ValBranchOptions&) /usr/include/gecode/int.hh:2178: note: void Gecode::branch(Gecode::Space&, const Gecode::BoolVarArgs&, const Gecode::TieBreakVarBranch&, Gecode::IntValBranch, const Gecode::TieBreakVarBranchOptions&, const Gecode::ValBranchOptions&) dep_selector_to_gecode.cpp: In member function ‘void VersionProblem::ConstrainVectorLessThanBest(Gecode::IntVarArgs&, Gecode::IntVarArgs&)’: dep_selector_to_gecode.cpp:551: error: no match for ‘operator-’ in ‘Gecode::operator-(const Gecode::IntVar&, int)(best_val) - borrow.Gecode::BoolVarArray::.Gecode::VarArray::operator[] [with Var = Gecode::BoolVar](i)’ /usr/include/gecode/minimodel/lin-expr.hpp:284: note: candidates are: Gecode::LinExpr Gecode::operator-(int, const Gecode::IntVar&) /usr/include/gecode/minimodel/lin-expr.hpp:288: note: Gecode::LinExpr Gecode::operator-(int, const Gecode::LinExpr&) /usr/include/gecode/minimodel/lin-expr.hpp:292: note: Gecode::LinExpr Gecode::operator-(const Gecode::IntVar&, int) /usr/include/gecode/minimodel/lin-expr.hpp:296: note: Gecode::LinExpr Gecode::operator-(const Gecode::LinExpr&, int) /usr/include/gecode/minimodel/lin-expr.hpp:300: note: Gecode::LinExpr Gecode::operator-(const Gecode::IntVar&, const Gecode::IntVar&) /usr/include/gecode/minimodel/lin-expr.hpp:304: note: Gecode::LinExpr Gecode::operator-(const Gecode::IntVar&, const Gecode::LinExpr&) /usr/include/gecode/minimodel/lin-expr.hpp:308: note: Gecode::LinExpr Gecode::operator-(const Gecode::LinExpr&, const Gecode::IntVar&) /usr/include/gecode/minimodel/lin-expr.hpp:312: note: Gecode::LinExpr Gecode::operator-(const Gecode::LinExpr&, const Gecode::LinExpr&) /usr/include/gecode/minimodel/lin-expr.hpp:316: note: Gecode::LinExpr Gecode::operator-(const Gecode::IntVar&) /usr/include/gecode/minimodel/lin-expr.hpp:320: note: Gecode::LinExpr Gecode::operator-(const Gecode::LinExpr&) /usr/include/gecode/minimodel/lin-expr.hpp:376: note: Gecode::LinExpr Gecode::operator-(int, const Gecode::BoolVar&) /usr/include/gecode/minimodel/lin-expr.hpp:380: note: Gecode::LinExpr Gecode::operator-(int, const Gecode::LinExpr&) /usr/include/gecode/minimodel/lin-expr.hpp:384: note: Gecode::LinExpr Gecode::operator-(const Gecode::BoolVar&, int) /usr/include/gecode/minimodel/lin-expr.hpp:388: note: Gecode::LinExpr Gecode::operator-(const Gecode::LinExpr&, int) /usr/include/gecode/minimodel/lin-expr.hpp:392: note: Gecode::LinExpr Gecode::operator-(const Gecode::BoolVar&, const Gecode::BoolVar&) /usr/include/gecode/minimodel/lin-expr.hpp:396: note: Gecode::LinExpr Gecode::operator-(const Gecode::BoolVar&, const Gecode::LinExpr&) /usr/include/gecode/minimodel/lin-expr.hpp:400: note: Gecode::LinExpr Gecode::operator-(const Gecode::LinExpr&, const Gecode::BoolVar&) /usr/include/gecode/minimodel/lin-expr.hpp:404: note: Gecode::LinExpr Gecode::operator-(const Gecode::LinExpr&, const Gecode::LinExpr&) /usr/include/gecode/minimodel/lin-expr.hpp:408: note: Gecode::LinExpr Gecode::operator-(const Gecode::BoolVar&) /usr/include/gecode/minimodel/lin-expr.hpp:412: note: Gecode::LinExpr Gecode::operator-(const Gecode::LinExpr&) dep_selector_to_gecode.cpp:551: error: ‘expr’ was not declared in this scope make: *** [dep_selector_to_gecode.o] Error 1