Hi Sebastian,

Sebastian Harl wrote:
> On Tue, May 25, 2010 at 05:02:36PM -0500, Jonathan Nieder wrote:

>> If we are going to require a specific tcl
>> version, why use stubs at all?
>
> This is supposed to be s/stubs/pkgrequire/, right? ;-)

I meant stubs.  Tcl extensions can be implemented in two ways: they
either link to a tcl interpreter library like libtcl8.5, or they link
to this wrapper library[1] libtclstub which takes care of differences
between tcl versions.  Almost all tcl extensions in Debian, including
rrdtool, currently use libtclstub.

> Anyway, the problems seems to be the fourth parameter to Tcl_PkgRequire
> -- I suppose this should almost certainly be 0. I wonder why this was
> working before. I don't know if the explicit "package require" might
> have any side-effects, so I'd rather leave it in there for now and
> simply change that parameter. Do you expect any problems from that?

No, I don’t foresee problems from keeping the PkgRequire.  I also
wish I knew why it worked before.

Thanks,
Jonathan

[1] http://wiki.tcl.tk/285



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to