Installation and test problems with DejaGnu 1.5.1
"Ellis N. Thomas" <[email protected]> Wed, 15 May 2013 12:48:32 +0100
| Newsgroups | gmane.comp.sysutils.dejagnu.bugs |
|---|---|
| Message-ID | <[email protected]> |
Fails on installation/test of DejaGnu 1.5.1 To: <[email protected]> 1. Introduction Trying to install DejaGnu in order to run tests for gcc 4.7.2. Running Mac OS X: System Version: Mac OS X 10.5.8 (9L30) Kernel Version: Darwin 9.8.0 >uname -mpv Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 i386 Expect is available here, but not Tcl (strange since it uses Tcl). There is a man page for Tcl. There are TCL executables in the Mac Development area. > expect -v expect version 5.42.0 (The current version of Expect from http://expect.sourceforge.net/ is 5.44.1.) Downloaded dejagnu-1.5.1.tar.gz and .sig from mirror at ftp://www.mirrorservice.org/sites/ftp.gnu.org/gnu/ to /Gnu/dejagnu/ Extracted using tar -xzf. Created and populated /Gnu/dejagnu/dejagnu-1.5.1. Examined INSTALL and README, and followed their steps. There were some problems during installation, and in make check. 2. Installation Ran configure &> ../logs/config1.log. Seems OK, but log included: configure: WARNING: 'missing' script is too old or missing and checking Tcl version 8.3 or greater... yes Ran make &> ../logs/make1.log Reported: make: Nothing to be done for `all'. The INSTALL and README files do not mention that make does nothing. Proceeded anyway. 3. Errors reported by make check. Tried make check &> ../logs/makechk2.log. Failed: === Summary === # of expected passes 7 # of unexpected failures 21 make[1]: *** [check-DEJAGNU] Error 1 make: *** [check-am] Error 2 The various logs include mention of "./dejagnu/../config.guess": no such file or directory but there is no dejagnu directory within /Gnu/dejagnu/dejagnu-1.5.1 and config.guess is in /Gnu/dejagnu/dejagnu-1.5.1. (The dejagnu directory was not created when the tar was extracted, nor during the configure/make sequence.) The use of "./x/../y" would normally be the same as "./y", unless x was strange, or non-existent. Tried creating ./dejagnu, and retesting (after some tidying up). Repeated make check &> ../logs/makechk5.log. There are now extra files x.log x.sum xXx.log xXx.sum like testrun.log and testrun.sum. The makechk5.log finishes: === Summary === # of expected passes 63 So this is taken as OK now, although the .log and .sum pairs above cite some errors, like: Didn't find file /Gnu/dejagnu/dejagnu-1.5.1/../../expect/expect, returning expect 4. Extra information bash> config.guess i386-apple-darwin9.8.0 The bug reporting guidelines ask for "the output of the configure script". The redirected output from "configure &> ../logs/ config1.log" is included at the end. The file config.log is somewhat bigger, and not included, but available if needed. 5. Summary There is an unclear effect during make, and a problem with testing using make check. - make Reported: make: Nothing to be done for `all'. The INSTALL and README files do not mention that make does nothing. - Testing actioned by make check tries to access a non-existent directory in "./dejagnu/../config.guess" Tests seem to run OK when (empty) directory ./dejagnu/ is added. ------------------------------------------------------------------------------- redirected output from "configure &> ../logs/config1.log" ------------------------------------------------------------------------------- checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /Gnu/dejagnu/dejagnu-1.5.1/missing: Unknown `--is-lightweight' option Try `/Gnu/dejagnu/dejagnu-1.5.1/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/local/bin/mkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes 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 works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for docbook2html... false checking for docbook2rtf... false checking for docbook2pdf... false checking for docbook2ps... false checking for docbook2x-texi... false checking for expect... /usr/bin/expect checking Tcl version 8.3 or greater... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands -------------------------------------------------------------------------------