[rrd-users] Patch needed for tcl bindings on SL6?

George Ross gdmr at inf.ed.ac.uk
Thu Feb 2 14:55:26 CET 2012


Does anyone else use the tcl bindings on SL6?  I found I had to apply the 
following patch (to 1.4.7) to get Rrd to load.  Otherwise [package require] 
grumbles about a version mismatch.

--- bindings/tcl/tclrrd.c.DIST  2012-02-02 11:50:15.000000000 +0000
+++ bindings/tcl/tclrrd.c       2012-02-02 11:50:22.000000000 +0000
@@ -678,7 +678,7 @@
     if (Tcl_InitStubs(interp, TCL_VERSION, 0) == NULL)
         return TCL_ERROR;
 
-    if (Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, 1) == NULL) {
+    if (Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, 0) == NULL) {
         return TCL_ERROR;
     }

(This just turns off the "exact" check.)

I also had to symlink /usr/lib64/tcl8.5/rrdtool to ../rrdtool, but that may 
be a problem with the tcl installation, as IIRC I had to do a similar thing 
with tkined.
-- 
George D M Ross MSc PhD CEng MBCS CITP, University of Edinburgh,
School of Informatics, 10 Crichton Street, Edinburgh, Scotland, EH8 9AB
Mail: gdmr at inf.ed.ac.uk   Voice: 0131 650 5147   Fax: 0131 650 6899
PGP: 1024D/AD758CC5  B91E D430 1E0D 5883 EF6A  426C B676 5C2B AD75 8CC5

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.




More information about the rrd-users mailing list