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

Tobias Oetiker tobi at oetiker.ch
Thu Feb 2 16:35:39 CET 2012


Hi George,

thanks

tobi

Today George Ross wrote:

> 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.
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-users mailing list