Right, I was missing DYLD_LBRARY_PATH. CGM configures now, make runs for a while then I get the following error:
....
In copy constructor 'BRepBuilderAPI_MakeShape::BRepBuilderAPI_MakeShape(const BRepBuilderAPI_MakeShape&)':
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/TopTools_ListOfShape.hxx:112: error: 'TopTools_ListOfShape::TopTools_ListOfShape(const TopTools_ListOfShape&)' is private
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/BRepBuilderAPI_MakeShape.hxx:38: error: within this context
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/BRepBuilderAPI_MakeWire.hxx: In copy constructor
'BRepBuilderAPI_MakeWire::BRepBuilderAPI_MakeWire(const BRepBuilderAPI_MakeWire&)':
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/BRepBuilderAPI_MakeWire.hxx:66: note: synthesized method 'BRepBuilderAPI_MakeShape::BRepBuilderAPI_MakeShape(const BRepBuilderAPI_MakeShape&)' first required here
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/TopTools_ListOfShape.hxx: In copy constructor 'BRepLib_MakeShape::BRepLib_MakeShape(const BRepLib_MakeShape&)':
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/TopTools_ListOfShape.hxx:112: error: 'TopTools_ListOfShape::TopTools_ListOfShape(const TopTools_ListOfShape&)' is private
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/BRepLib_MakeShape.hxx:46: error: within this context
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/TopTools_ListOfShape.hxx:112: error: 'TopTools_ListOfShape::TopTools_ListOfShape(const TopTools_ListOfShape&)' is private
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/BRepLib_MakeShape.hxx:46: error: within this context
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/TopTools_ListOfShape.hxx:112: error: 'TopTools_ListOfShape::TopTools_ListOfShape(const TopTools_ListOfShape&)' is private
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/BRepLib_MakeShape.hxx:46: error: within this context
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/BRepLib_MakeWire.hxx: In copy constructor 'BRepLib_MakeWire::BRepLib_MakeWire(const BRepLib_MakeWire&)':
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/BRepLib_MakeWire.hxx:81: note: synthesized method 'BRepLib_MakeShape::BRepLib_MakeShape(const BRepLib_MakeShape&)' first required here
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/TopTools_MapOfShape.hxx:88: error: 'TopTools_MapOfShape::TopTools_MapOfShape(const TopTools_MapOfShape&)' is private
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/BRepLib_MakeWire.hxx:81: error: within this context
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/BRepBuilderAPI_MakeWire.hxx: In copy constructor 'BRepBuilderAPI_MakeWire::BRepBuilderAPI_MakeWire(const BRepBuilderAPI_MakeWire&)':
/Users/rajeevjain/Downloads/OpenCASCADE652/ros/install/inc/BRepBuilderAPI_MakeWire.hxx:66: note: synthesized method
'BRepLib_MakeWire::BRepLib_MakeWire(const BRepLib_MakeWire&)' first required here
OCCModifyEngine.cpp: In member function 'CubitStatus OCCModifyEngine::do_loft(BRepOffsetAPI_ThruSections&, DLIList<DLIList<TopoDS_Edge*>*>) const':
OCCModifyEngine.cpp:952: note: synthesized method 'BRepBuilderAPI_MakeWire::BRepBuilderAPI_MakeWire(const BRepBuilderAPI_MakeWire&)' first required here
make[4]: *** [OCCModifyEngine.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2