Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Expect broken by new TCL import
@ 2003-01-23  0:19 Daniel Jacobowitz
  2003-01-23  0:30 ` Martin M. Hunt
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2003-01-23  0:19 UTC (permalink / raw)
  To: gdb

Running expect now fails; it can't find init.tcl, since it searches only in
paths in the $objdir:

Tcl_Init failed: Can't find a usable init.tcl in the following directories: 
    {} /opt/src/binutils/x86-as/gdb/testsuite/../../share/tcl8.3 /opt/src/binutils/x86-as/gdb/testsuite/../share/tcl8.3 /opt/src/binutils/x86-as/gdb/testsuite/../share/tcl8.3/library /opt/src/binutils/x86-as/gdb/testsuite/../library /opt/src/binutils/x86-as/gdb/testsuite/../tcl8.3/library /opt/src/binutils/x86-as/gdb/testsuite/tcl8.3/library



This probably means that Tcl wasn't installed properly.



And running make check fails:

Tcl_Init failed: can't read "tcl_pkgPath": no such variable
make: *** [just-check] Error 1


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Expect broken by new TCL import
  2003-01-23  0:19 Expect broken by new TCL import Daniel Jacobowitz
@ 2003-01-23  0:30 ` Martin M. Hunt
  2003-01-23  1:42   ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Martin M. Hunt @ 2003-01-23  0:30 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb

Your expect is looking for tcl8.3, which is the old version. Maybe you
need to rebuild expect against the the tcl8.4 release?

Martin

On Wed, 2003-01-22 at 16:19, Daniel Jacobowitz wrote:
> Running expect now fails; it can't find init.tcl, since it searches only in
> paths in the $objdir:
> 
> Tcl_Init failed: Can't find a usable init.tcl in the following directories: 
>     {} /opt/src/binutils/x86-as/gdb/testsuite/../../share/tcl8.3 /opt/src/binutils/x86-as/gdb/testsuite/../share/tcl8.3 /opt/src/binutils/x86-as/gdb/testsuite/../share/tcl8.3/library /opt/src/binutils/x86-as/gdb/testsuite/../library /opt/src/binutils/x86-as/gdb/testsuite/../tcl8.3/library /opt/src/binutils/x86-as/gdb/testsuite/tcl8.3/library
> 
> 
> 
> This probably means that Tcl wasn't installed properly.
> 
> 
> 
> And running make check fails:
> 
> Tcl_Init failed: can't read "tcl_pkgPath": no such variable
> make: *** [just-check] Error 1
> 
> 
> -- 
> Daniel Jacobowitz
> MontaVista Software                         Debian GNU/Linux Developer



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Expect broken by new TCL import
  2003-01-23  0:30 ` Martin M. Hunt
@ 2003-01-23  1:42   ` Daniel Jacobowitz
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2003-01-23  1:42 UTC (permalink / raw)
  To: gdb

I did that.  TCL has some serious make issues; my tcl object directory
has 8.3 and 8.4 in it, and nothing triggered expect to reconfigure in
such a way as to discard the cached -ltcl8.3.

This means existing build directories probably need to be cleaned
pretty thoroughly.  The beauty of the new toplevel configury: it's as
simple as rm -rf expect, make all-expect.  Now it works.

On Wed, Jan 22, 2003 at 04:32:23PM -0800, Martin M. Hunt wrote:
> Your expect is looking for tcl8.3, which is the old version. Maybe you
> need to rebuild expect against the the tcl8.4 release?
> 
> Martin
> 
> On Wed, 2003-01-22 at 16:19, Daniel Jacobowitz wrote:
> > Running expect now fails; it can't find init.tcl, since it searches only in
> > paths in the $objdir:
> > 
> > Tcl_Init failed: Can't find a usable init.tcl in the following directories: 
> >     {} /opt/src/binutils/x86-as/gdb/testsuite/../../share/tcl8.3 /opt/src/binutils/x86-as/gdb/testsuite/../share/tcl8.3 /opt/src/binutils/x86-as/gdb/testsuite/../share/tcl8.3/library /opt/src/binutils/x86-as/gdb/testsuite/../library /opt/src/binutils/x86-as/gdb/testsuite/../tcl8.3/library /opt/src/binutils/x86-as/gdb/testsuite/tcl8.3/library
> > 
> > 
> > 
> > This probably means that Tcl wasn't installed properly.
> > 
> > 
> > 
> > And running make check fails:
> > 
> > Tcl_Init failed: can't read "tcl_pkgPath": no such variable
> > make: *** [just-check] Error 1
> > 
> > 
> > -- 
> > Daniel Jacobowitz
> > MontaVista Software                         Debian GNU/Linux Developer
> 
> 
> 

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Expect broken by new TCL import
@ 2003-01-23  5:03 Michael Elizabeth Chastain
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Elizabeth Chastain @ 2003-01-23  5:03 UTC (permalink / raw)
  To: drow, gdb

Daniel J writes:
> This means existing build directories probably need to be cleaned
> pretty thoroughly.  The beauty of the new toplevel configury: it's as
> simple as rm -rf expect, make all-expect.  Now it works.

Ah, that is a blind spot in my coverage, I build in virgin directories
nearly all the time, so I don't find problams like this.

Also I checkout "gdb" and "dejagnu" separately, not "gdb+dejagnu",
so that's another set of code paths that never hit my test bed.

Michael C


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-23  5:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-23  0:19 Expect broken by new TCL import Daniel Jacobowitz
2003-01-23  0:30 ` Martin M. Hunt
2003-01-23  1:42   ` Daniel Jacobowitz
2003-01-23  5:03 Michael Elizabeth Chastain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox