With the attached patch I was able to compile plplot-5.9.9 with tcl 8.6.0-3 and itcl 3.4.1-2.
itcl was not enabled in cmake but I was unable to uncomment it. Even with clean make and itcl unchecked, the conf tools searched for itcl on the system. After installing itcl 3.4.1-2 and locating the valid path on configuration file, the configuration completed but built failed.
1)There was a conflict of 'Tcl_Import' struct between plplot and new tcl headers ("char * pattern" instead of "const char * pattern").
2)Also 'Tcl_Interp' struct does not seem to has any member "result".
These two rough-fixes (see the ugly patch) left the built process to finish. I built it on an Arch-x64 box with GCC 4.7.2 and cmake 188.8.131.52.
Thanks and congratulations for your work!
p.s. message from built (help semantic bots find the problem):
plplot/bindings/tk/tkMain.c:89:12: error: conflicting types for ‘Tcl_Import’
In file included from /usr/include/tcl.h:2433:0,
/usr/include/tclDecls.h:1472:13: note: previous declaration of ‘Tcl_Import’ was here
Log in to post a comment.