Bug 12631 - make -k check fails: ERROR: (DejaGnu) proc "exp-debug" does not exist
Summary: make -k check fails: ERROR: (DejaGnu) proc "exp-debug" does not exist
Status: RESOLVED WORKSFORME
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 3.2.3
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: build
Depends on:
Blocks:
 
Reported: 2003-10-16 00:35 UTC by Peter
Modified: 2005-07-23 22:49 UTC (History)
2 users (show)

See Also:
Host: sparc-sun-solaris2.7
Target: same
Build: same
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2003-10-16 00:35:27 UTC
Trying to build and test gcc 3.2.3 .  Tools were: gcc 3.1, gmake, gnu as, gnu ld.
Used "configure --prefix=/usr/devel/gcc-3.2.3 --enable-languages=c  
--disable-multilib" .
"make bootstrap" worked without error.
"make -k check"  failed on the very first test:

  WARNING: Couldn't find the global config file.
  Test Run By  peter on  Wed Oct 15 etc.
  Native configuration is sparc-sun-solaris2.7
      ===  gcc tests ===
  ERROR: (DejaGnu) proc "exp-debug" does not exist
  The error code is
  The info on the error is:

     === gcc summary ===

I can't figure out why dejagnu or expect fails.  I'm using dejagnu 1.4.3, 
tcl/tk 8.2, and expect 5.31 .  I can do "expect -d script" and it does go 
into debug mode.

Have I done something wrong?

-- Peter Butterfield
Comment 1 Andrew Pinski 2003-10-16 00:39:03 UTC
Here are the versions I use which work:
WARNING: Couldn't find the global config file.
Expect version is       5.26
Tcl version is          8.4
Framework version is    1.4.2.x
Comment 2 carlo 2003-10-16 01:43:26 UTC
Subject: Re:  make -k check fails: ERROR: (DejaGnu) proc "exp-debug" does not exist

Here are the versions that I use, which work:

WARNING: Couldn't find the global config file.
Expect version is       5.38.0
Tcl version is          8.3
Framework version is    1.4.3

"exp-debug" is not a file or part of a file that exists on
my machine - nor is it a string that appears anywhere in
the gcc source tree.

My conculsion is that your installation of expect / dejagnu
is broken or too old.

Comment 3 Dara Hazeghi 2003-10-18 03:15:12 UTC
Have you tried adding the following lines (from http://gcc.gnu.org/install/test.html)?

          TCL_LIBRARY = /usr/local/share/tcl8.0
          DEJAGNULIBS = /usr/local/share/dejagnu

Thanks.
Comment 4 Andrew Pinski 2003-12-17 04:17:54 UTC
This works for me, so closing.