make[1]: *** [Draw_Interpretor.lo] Error 1

Whatever help anyone can give would be appreciated. I am trying to build Open CASCADE 6.3 on a Mandriva 2010.0 i686 machine. Configure seemed to go OK and in the configure.log ends with "configure: exit 0".

I then ran make (from ../OpenCASCADE6.3.0/ros/adm/make and it ran until it got to TKDraw and ended with the following error:
../../../src/Draw/Draw_Interpretor.cxx: In member function ‘const char* Draw_Interpretor::Result() const’:
../../../src/Draw/Draw_Interpretor.cxx:291: error: ‘struct Tcl_Interp’ has no member named ‘result’
make[1]: *** [Draw_Interpretor.lo] Error 1
make[1]: Leaving directory `/Data/Downloads/OpenCASCADE6.3.0/ros/adm/make/TKDraw'
make: *** [all-recursive] Error 1

I do not know what to do next and would welcome any guidance anyone can give. Thank you
Leon

Denis Barbier's picture

Hi, there are indeed problems when compiling with tcl 8.6. You can find a patch at
http://git.debian.org/?p=debian-science/packages/opencascade.git;a=blob;...

leon244's picture

Denis,
Thank you. Would this work even if the orginal tcl package was an rpm under Mandriva?

leon244's picture

ignore my last comment. I figured out how to apply the patch, did so and solved the issue. Thank you so much.