On Fri, May 23, 2008 at 4:53 PM, Jeff Hobbs <[EMAIL PROTECTED]> wrote:
> Michele Joyce wrote: > >> I'm trying to use the Tcl::Tk module on RHat linux (rhel-4-0-ia32) >> My version of perl: 5.8.2 >> My version of tcl: 8.4 (threads-enabled) >> I tried to install and built the latest versions of the Tcl and Tcl::Tk >> modules, but Tcl::Tk failed it's test. Apparently it needs perl5.8.3. > > my guess that its not the perl version that troubles you with latest Tcl::Tk, but rather requirement of package 'snit' - you must have 'snit' starting with some versions May be it is unfortunate decision to depend on a Tcl package that is not always installed. There was a possibility to ship 'snit' with the package - but this could bring more trouble than it could solve > >> Going back to Tcl::Tk version 0.91 seemed to build and install fine. >> > > I assume the error that occurred was different than the one below? If > there is a regression, please let us know. > > Code: >> my $m = Tcl::Tk::MainWindow->new(); >> my $int = $m->interp; >> $int->Eval('package require BLT; blt::tabnotebook .bltnbook1'); >> >> ERROR: couldn't load file "/usr/csite/pubtools/tcl/8.4/lib/libBLT24.so": >> /usr/csite/pubtools/tcl/8.4/lib/libBLT24.so: undefined symbol: TclpRealloc >> > here is a BLT example BTW http://vkonovalov.ru/cgi-bin/perl-tcltk-wiki.cgi/40 > >> Is this due to the older version of the perl or Tcl::Tk module? > > Tcl::Tk is pure-perl and should not be a cause of errors like this > Have I built something wrong? Am I using it wrong? Any help would be >> appreciated. >> > > Can you start up an associated Tcl shell (tclsh) corresponding to the one > you are loading via Tcl::Tk and do the 'package require BLT'? It appears > that it may just be a BLT issue. Was that compiled against the same Tcl? > > Jeff > Best regards, Vadim