From: jerry.levan on
Hi,

Any one here use the Tcl/Tk bundled with Fedora 12 and Komodo-IDE
( latest revs)?

I have found that if I try to debug a tcl program that the debugger
fails when it hits
a "proc" definition or a "package require" directive. ( a segfault is
also recorded in
the message file.)

Typical errors look like:
Mar 4 22:38:54 bigbox kernel: tclsh[3556]: segfault at 1286110c ip
0091087a sp bfe72464 error 4 in libc-2.11.1.so[8a2000+16f000]
Mar 4 22:44:26 bigbox kernel: tclsh[3594]: segfault at c ip 0059f70c
sp bfe8d9b0 error 4 in libtcl8.5.so[4cc000+118000]
Mar 4 22:51:26 bigbox kernel: tclsh[3678]: segfault at c ip 0059ed4b
sp bf8b9100 error 4 in libtcl8.5.so[4cc000+118000]
Mar 4 22:58:45 bigbox kernel: tclsh[3788]: segfault at c ip 0059f70c
sp bfabadb0 error 4 in libtcl8.5.so[4cc000+118000]
Mar 4 23:01:08 bigbox kernel: tclsh[3833]: segfault at c ip 0059ed4b
sp bf851cb0 error 4 in libtcl8.5.so[4cc000+118000]

I was having a similar problem with my mac osx 10.6.2 box and Apple's
Tcl/Tk but ActiveState asked me to try
the debug module from the Komodo-IDE 6.0alpha, it fixed the mac but
fedora is still hosed.

Just trying to find out if other folks are having similar problems.

Thanks,

Jerry
From: Jeff Hobbs on
On Mar 8, 1:55 pm, "jerry.le...(a)gmail.com" <jerry.le...(a)gmail.com>
wrote:
> Any one here use the Tcl/Tk bundled with Fedora 12 and Komodo-IDE
> ( latest revs)?
>
> I have found that if I try to debug a tcl program that the debugger
> fails when it hits
> a "proc" definition or a "package require" directive. ( a segfault is
> also recorded in the message file.)
>
> Typical errors look like:
> Mar  4 22:38:54 bigbox kernel: tclsh[3556]: segfault at 1286110c ip
> 0091087a sp bfe72464 error 4 in libc-2.11.1.so[8a2000+16f000]
> Mar  4 22:44:26 bigbox kernel: tclsh[3594]: segfault at c ip 0059f70c
> sp bfe8d9b0 error 4 in libtcl8.5.so[4cc000+118000]
...
> I was having a similar problem with my mac osx 10.6.2 box and Apple's
> Tcl/Tk but ActiveState asked me to try
> the debug module from the Komodo-IDE 6.0alpha, it fixed the mac but
> fedora is still hosed.

We did some local testing and found that ActiveTcl on Fedora works
fine, while the core Fedora Tcl does not. Which is of course why we
always recommend ActiveTcl ;). Seriously though, Fedora (RedHat) has
done funny things with building Tcl before, so unless you really need
their OS-based one, go with any other version.

Jeff
From: jerry.levan on
On Mar 9, 5:02 pm, Jeff Hobbs <jeff.ho...(a)gmail.com> wrote:
> On Mar 8, 1:55 pm, "jerry.le...(a)gmail.com" <jerry.le...(a)gmail.com>
> wrote:
>
>
>
>
>
> > Any one here use the Tcl/Tk bundled with Fedora 12 and Komodo-IDE
> > ( latest revs)?
>
> > I have found that if I try to debug a tcl program that the debugger
> > fails when it hits
> > a "proc" definition or a "package require" directive. ( a segfault is
> > also recorded in the message file.)
>
> > Typical errors look like:
> > Mar  4 22:38:54 bigbox kernel: tclsh[3556]: segfault at 1286110c ip
> > 0091087a sp bfe72464 error 4 in libc-2.11.1.so[8a2000+16f000]
> > Mar  4 22:44:26 bigbox kernel: tclsh[3594]: segfault at c ip 0059f70c
> > sp bfe8d9b0 error 4 in libtcl8.5.so[4cc000+118000]
>   ...
> > I was having a similar problem with my mac osx 10.6.2 box and Apple's
> > Tcl/Tk but ActiveState asked me to try
> > the debug module from the Komodo-IDE 6.0alpha, it fixed the mac but
> > fedora is still hosed.
>
> We did some local testing and found that ActiveTcl on Fedora works
> fine, while the core Fedora Tcl does not.  Which is of course why we
> always recommend ActiveTcl ;).  Seriously though, Fedora (RedHat) has
> done funny things with building Tcl before, so unless you really need
> their OS-based one, go with any other version.
>
> Jeff

Well I broke down and installed ActiveTcl and as advertised the
debugger
worked ok...

Just for a lark I copied the fedora BTL folder containing the
pkgindex.tcl
and the fedora Pgtcl folder into one of the teacup library folders...

I was sorta surprised that BLT and the postgresql interface seem to
be working Ok.( I have only just started looking at BLT and am trying
to understand the StripChart object :).

Is it the case that most packages should just work between the
different
tcl implemenations?

Jerry
 | 
Pages: 1
Prev: SciTE & TCL
Next: xotcl vs incr tcl