bug-dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-dejagnu] make check problem


From: Douglas E. Williams
Subject: [Bug-dejagnu] make check problem
Date: Wed, 12 Sep 2001 14:02:30 -0400

Greetings!

I have been trying for over a week to get dejagnu installed on my system
and I'm still having problems.  My situation is the following:

   Sun Ultra 1 box
   Solaris 2.6          (present on box as a binary file)
   gcc 2.95.2           (installed as a binary file from the Net)
   perl 5.6.1           (compiled and installed and checked clean)
   tcl 8.4a3            (compiled and installed and checked clean)
   tk 8.4a3             (compiled and installed and checked clean)
   expect 5.32          (compiled and installed and checked clean)
   dejagnu 1.4.1        (problems, see below)

When I run "config.guess" I get: "sparc-sun-solaris2.6" as output which
is correct.

when I run "./configure" with a "sparc-sun-solaris2.6" argument it seems
to work okay (output attached).

Next, I run "make" and it seems to be okay (output atached).

Finally, I run "make check" and it mostly seems okay except for the
following (complete listing attached):

...<snip>
make  check-DEJAGNU
make[3]: Entering directory `/usr/local/src/dejagnu-1.4.1/testsuite'
srcdir=`cd . && pwd`; export srcdir; \
EXPECT=expect; export EXPECT; \
runtest=`   if [ -f ../runtest ] ; then     echo ../runtest;   else echo
"ERROR: runtest not found" ; exit 1; fi`; \
if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
  $runtest --srcdir $srcdir ; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi
WARNING: could not find `runtest'
<snip>...

I just can not determine why runtest cannot be found and why it dumps
core in the "./testsuite" directory?  "runtest" and "runtest.exp" are
both there and have liberal permission settings.  I ran gdb on the core
file and it says:

Core was generated by `expect--../runtest.exp'.
Program terminated with signal 11, Segmentation Fault.
0 0x0 in ?? ()

If you can provide any help or ideas, it would be greatly appreciated.

Regards,

--- Doug
creating cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... yes
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for a BSD compatible install... ./install-sh -c
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for docbook tools... none
checking for the tclsh program... none
checking for tclsh... /usr/local/bin/tclsh
updating cache ./config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating testsuite/Makefile
creating example/Makefile
creating testsuite/libdejagnu/Makefile
configuring in example/calc
running /bin/sh ./configure  sparc-sun-solaris 
--cache-file=../.././config.cache --srcdir=.
loading cache ../.././config.cache
checking for a BSD compatible install... ./../../install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... ./../../install-sh -c
checking how to run the C preprocessor... gcc -E
checking for stdlib.h... yes
checking for strcmp... yes
updating cache ../.././config.cache
creating ./config.status
creating Makefile
creating calc.h
Making all in doc
make[1]: Entering directory `/usr/local/src/dejagnu-1.4.1/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/dejagnu-1.4.1/doc'
Making all in testsuite
make[1]: Entering directory `/usr/local/src/dejagnu-1.4.1/testsuite'
Making a new site.exp file...
Making all in libdejagnu
make[2]: Entering directory `/usr/local/src/dejagnu-1.4.1/testsuite/libdejagnu'
c++ -DPACKAGE=\"dejagnu\" -DVERSION=\"1.4.1\"  -I. -I.      -I../.. -g -c 
unit.cc
c++  -I../.. -g  -o unit  unit.o  
make[2]: Leaving directory `/usr/local/src/dejagnu-1.4.1/testsuite/libdejagnu'
make[2]: Entering directory `/usr/local/src/dejagnu-1.4.1/testsuite'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/usr/local/src/dejagnu-1.4.1/testsuite'
Nothing to be done for all
make[1]: Leaving directory `/usr/local/src/dejagnu-1.4.1/testsuite'
Making all in example
make[1]: Entering directory `/usr/local/src/dejagnu-1.4.1/example'
Makefile:315: warning: overriding commands for target `check-recursive'
Makefile:109: warning: ignoring old commands for target `check-recursive'
Making all in calc
make[2]: Entering directory `/usr/local/src/dejagnu-1.4.1/example/calc'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c calc.c
gcc  -g -O2  -o calc  calc.o  
make[2]: Leaving directory `/usr/local/src/dejagnu-1.4.1/example/calc'
make[2]: Entering directory `/usr/local/src/dejagnu-1.4.1/example'
Makefile:315: warning: overriding commands for target `check-recursive'
Makefile:109: warning: ignoring old commands for target `check-recursive'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/usr/local/src/dejagnu-1.4.1/example'
make[1]: Leaving directory `/usr/local/src/dejagnu-1.4.1/example'
make[1]: Entering directory `/usr/local/src/dejagnu-1.4.1'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/usr/local/src/dejagnu-1.4.1'
Making check in doc
make[1]: Entering directory `/usr/local/src/dejagnu-1.4.1/doc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/usr/local/src/dejagnu-1.4.1/doc'
Making check in testsuite
make[1]: Entering directory `/usr/local/src/dejagnu-1.4.1/testsuite'
Making check in libdejagnu
make[2]: Entering directory `/usr/local/src/dejagnu-1.4.1/testsuite/libdejagnu'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/usr/local/src/dejagnu-1.4.1/testsuite/libdejagnu'
make[2]: Entering directory `/usr/local/src/dejagnu-1.4.1/testsuite'
make  check-DEJAGNU
make[3]: Entering directory `/usr/local/src/dejagnu-1.4.1/testsuite'
srcdir=`cd . && pwd`; export srcdir; \
EXPECT=expect; export EXPECT; \
runtest=`   if [ -f ../runtest ] ; then     echo ../runtest;   else echo 
"ERROR: runtest not found" ; exit 1; fi`; \
if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
  $runtest --srcdir $srcdir ; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi
WARNING: could not find `runtest'
make[3]: Leaving directory `/usr/local/src/dejagnu-1.4.1/testsuite'
make[2]: Leaving directory `/usr/local/src/dejagnu-1.4.1/testsuite'
make[1]: Leaving directory `/usr/local/src/dejagnu-1.4.1/testsuite'
Making check in example
make[1]: Entering directory `/usr/local/src/dejagnu-1.4.1/example'
Makefile:315: warning: overriding commands for target `check-recursive'
Makefile:109: warning: ignoring old commands for target `check-recursive'
No check target in examples
make[1]: Leaving directory `/usr/local/src/dejagnu-1.4.1/example'
make[1]: Entering directory `/usr/local/src/dejagnu-1.4.1'
make  check-DEJAGNU
make[2]: Entering directory `/usr/local/src/dejagnu-1.4.1'
Do nothing here, cause we don't want to run the tests twice
make[2]: Leaving directory `/usr/local/src/dejagnu-1.4.1'
make[1]: Leaving directory `/usr/local/src/dejagnu-1.4.1'

Attachment: dewillia.vcf
Description: Card for Douglas E. Williams


reply via email to

[Prev in Thread] Current Thread [Next in Thread]