This seems to be a strange sequence of events here. I am using sources from http://mirrors.kernel.org/gnu/dejagnu/dejagnu-1.4.4.tar.gz
I have carefully built a toolpath from scratch and installed each component into my home directory area /export/home/dclarke/local only AFTER that component passes its various checks and tests. The build of dejagnu fails to pass its "make check" stage with a very strange error. The system is a Solaris 8 Sparc server with Studio 8 installed and fully patched. All components of the toolpath thus far have been built with the same compiler and all have done well with their tests except dejagnu. Here then is what happened : $ ./configure --with-as=/usr/ccs/bin/as --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --disable-nls --prefix=/export/home/dclarke/local --with-local-prefix=/export/home/dclarke/local --enable-shared checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make sets $(MAKE)... (cached) yes checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... none checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... CC checking whether we are using the GNU C++ compiler... no checking whether CC accepts -g... yes checking dependency style of CC... none checking for a BSD-compatible install... ./install-sh -c checking for bison... bison -y checking for docbook tools... none checking for the tclsh program... none checking for tclsh... /opt/csw/bin/tclsh configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating testsuite/Makefile config.status: creating example/Makefile config.status: creating testsuite/libdejagnu/Makefile config.status: executing depfiles commands configure: configuring in example/calc configure: running /bin/bash './configure' --prefix=/export/home/dclarke/local '--with-as=/usr/ccs/bin/as' '--without-gnu-ld' '--with-ld=/usr/ccs/bin/ld' '--enable-threads=posix' '--disable-nls' '--prefix=/export/home/dclarke/local' '--with-local-prefix=/export/home/dclarke/local' '--enable-shared' 'CC=cc' 'CFLAGS=-xstrconst -xildoff -xarch=v7 -xcode=pic32 -xlibmieee -xlibmil -Xa -xregs=no%appl' 'CPPFLAGS=-I/export/home/dclarke/local/include' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... ./../../install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets ${MAKE}... yes checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether cc accepts -g... yes checking for style of include used by make... GNU checking dependency style of cc... none checking for a BSD-compatible install... ./../../install-sh -c checking how to run the C preprocessor... cc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for strcmp... yes checking whether to enable maintainer-specific portions of Makefiles... no configure: creating ./config.status config.status: creating Makefile config.status: creating calc.h config.status: executing depfiles commands configure: configuring in example/hello configure: running /bin/bash './configure' --prefix=/export/home/dclarke/local '--with-as=/usr/ccs/bin/as' '--without-gnu-ld' '--with-ld=/usr/ccs/bin/ld' '--enable-threads=posix' '--disable-nls' '--prefix=/export/home/dclarke/local' '--with-local-prefix=/export/home/dclarke/local' '--enable-shared' 'CC=cc' 'CFLAGS=-xstrconst -xildoff -xarch=v7 -xcode=pic32 -xlibmieee -xlibmil -Xa -xregs=no%appl' 'CPPFLAGS=-I/export/home/dclarke/local/include' --cache-file=/dev/null --srcdir=. checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... no checking for nawk... nawk checking whether make sets ${MAKE}... yes checking for gcc... cc checking for object suffix... o checking whether we are using the GNU C compiler... no checking whether cc accepts -g... yes checking for style of include used by make... GNU checking dependency style of cc... none configure: creating ./config.status config.status: creating Makefile config.status: creating testsuite/Makefile This all seems fine. Let us thus make : ( with GNU make ) $ which make /export/home/dclarke/local/bin/make $ make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for sparc-sun-solaris2.8 $ $ make Making all in doc make[1]: Entering directory `/export/home/dclarke/build/dejagnu-1.4.4/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/export/home/dclarke/build/dejagnu-1.4.4/doc' make[1]: Entering directory `/export/home/dclarke/build/dejagnu-1.4.4' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/export/home/dclarke/build/dejagnu-1.4.4' $ make check Making check in doc make[1]: Entering directory `/export/home/dclarke/build/dejagnu-1.4.4/doc' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/export/home/dclarke/build/dejagnu-1.4.4/doc' make[1]: Entering directory `/export/home/dclarke/build/dejagnu-1.4.4' make check-DEJAGNU make[2]: Entering directory `/export/home/dclarke/build/dejagnu-1.4.4' cd testsuite ; make check make[3]: Entering directory `/export/home/dclarke/build/dejagnu-1.4.4/testsuite' Making check in libdejagnu make[4]: Entering directory `/export/home/dclarke/build/dejagnu-1.4.4/testsuite/libdejagnu' source='unit.cc' object='unit.o' libtool=no \ depfile='.deps/unit.Po' tmpdepfile='.deps/unit.TPo' \ depmode=none /bin/bash ../../depcomp \ CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"dejagnu\" -DVERSION=\"1.4.4\" -I. -I. -I/export/home/dclarke/local/include -I../.. -g -g -c -o unit.o `test -f 'unit.cc' || echo './'`unit.cc "unit.cc", line 56: Error: std::streambuf::setbuf(char*, long) is not accessible from main(int, char**). 1 Error(s) detected. make[4]: *** [unit.o] Error 1 make[4]: Leaving directory `/export/home/dclarke/build/dejagnu-1.4.4/testsuite/libdejagnu' make[3]: *** [check-recursive] Error 1 make[3]: Leaving directory `/export/home/dclarke/build/dejagnu-1.4.4/testsuite' make[2]: *** [check-DEJAGNU] Error 2 make[2]: Leaving directory `/export/home/dclarke/build/dejagnu-1.4.4' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/export/home/dclarke/build/dejagnu-1.4.4' make: *** [check-recursive] Error 1 I should stop right here and fetch recent sources from CVS before going any further. Which I do. $ pwd /export/home/dclarke/build/dejagnu $ ls AUTHORS Makefile.in config.sub doc redhat COPYING NEWS configure example runtest CVS README configure.ac install-sh runtest.exp ChangeLog TODO contrib lib site.tmpl ChangeLog.0 aclocal.m4 debian missing stub-loader.c INSTALL baseboards dejagnu.h mkinstalldirs testglue.c MAINTAINERS config depcomp packaging testsuite Makefile.am config.guess depot pkg texinfo.tex $ $ /bin/echo "this is source fresh from cvs" this is source fresh from cvs $ $ env _=/usr/xpg4/bin/env MANPATH=/usr/share/man:/usr/X11/share/man:/usr/dt/share/man:/usr/openwin/share/man:/usr/j2se/man:/usr/perl5/5.8.4/man LANG=C HZ=100 PATH=/export/home/dclarke/local/bin:/opt/SUNWspro/bin:/usr/xpg4/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin:/opt/csw/bin:/opt/csw/sbin LC_ALL=C LD_OPTIONS=-R/export/home/dclarke/local/lib -L/export/home/dclarke/local/lib COLUMNS=80 EDITOR=/usr/xpg4/bin/vi LOGNAME=dclarke MAIL=/usr/mail/dclarke CC=cc DISPLAY=titan:0 SHELL=/usr/xpg4/bin/sh CPPFLAGS=-I/export/home/dclarke/local/include HOME=/export/home/dclarke TERM=vt100 CFLAGS=-xstrconst -xildoff -xarch=v7 -xcode=pic32 -xlibmieee -xlibmil -Xa -xregs=no%appl PWD=/export/home/dclarke/build/dejagnu TZ=Canada/Eastern LINES=24 $ $ cc -V cc: Sun C 5.5 Patch 112760-18 2005/06/14 usage: cc [ options] files. Use 'cc -flags' for details $ $ ./configure --with-as=/usr/ccs/bin/as --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --disable-nls --prefix=/export/home/dclarke/local --with-local-prefix=/export/home/dclarke/local --enable-shared checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make sets $(MAKE)... (cached) yes checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... none checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... CC checking whether we are using the GNU C++ compiler... no checking whether CC accepts -g... yes checking dependency style of CC... none checking for a BSD-compatible install... ./install-sh -c checking for docbook2html... false checking for docbook2rtf... false checking for docbook2pdf... false checking for docbook2ps... false checking for docbook2texi... false checking for expect... /export/home/dclarke/local/bin/expect checking Tcl version 8.3 or greater... yes configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands configure: configuring in example/calc configure: running /bin/bash './configure' --prefix=/export/home/dclarke/local '--with-as=/usr/ccs/bin/as' '--without-gnu-ld' '--with-ld=/usr/ccs/bin/ld' '--enable-threads=posix' '--disable-nls' '--prefix=/export/home/dclarke/local' '--with-local-prefix=/export/home/dclarke/local' '--enable-shared' 'CC=cc' 'CFLAGS=-xstrconst -xildoff -xarch=v7 -xcode=pic32 -xlibmieee -xlibmil -Xa -xregs=no%appl' 'CPPFLAGS=-I/export/home/dclarke/local/include' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... ./../../install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... none checking for a BSD-compatible install... ./../../install-sh -c checking how to run the C preprocessor... cc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for strcmp... yes checking whether to enable maintainer-specific portions of Makefiles... no configure: creating ./config.status config.status: creating Makefile config.status: creating calc.h config.status: executing depfiles commands configure: configuring in example/hello configure: running /bin/bash './configure' --prefix=/export/home/dclarke/local '--with-as=/usr/ccs/bin/as' '--without-gnu-ld' '--with-ld=/usr/ccs/bin/ld' '--enable-threads=posix' '--disable-nls' '--prefix=/export/home/dclarke/local' '--with-local-prefix=/export/home/dclarke/local' '--enable-shared' 'CC=cc' 'CFLAGS=-xstrconst -xildoff -xarch=v7 -xcode=pic32 -xlibmieee -xlibmil -Xa -xregs=no%appl' 'CPPFLAGS=-I/export/home/dclarke/local/include' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... none configure: creating ./config.status config.status: creating Makefile config.status: creating testsuite/Makefile config.status: executing depfiles commands configure: configuring in example/mathhelper configure: running /bin/bash './configure' --prefix=/export/home/dclarke/local '--with-as=/usr/ccs/bin/as' '--without-gnu-ld' '--with-ld=/usr/ccs/bin/ld' '--enable-threads=posix' '--disable-nls' '--prefix=/export/home/dclarke/local' '--with-local-prefix=/export/home/dclarke/local' '--enable-shared' 'CC=cc' 'CFLAGS=-xstrconst -xildoff -xarch=v7 -xcode=pic32 -xlibmieee -xlibmil -Xa -xregs=no%appl' 'CPPFLAGS=-I/export/home/dclarke/local/include' --cache-file=/dev/null --srcdir=. checking build system type... sparc-sun-solaris2.8 checking host system type... sparc-sun-solaris2.8 checking target system type... sparc-sun-solaris2.8 checking for a BSD-compatible install... ./../../install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... none checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... CC checking whether we are using the GNU C++ compiler... no checking whether CC accepts -g... yes checking dependency style of CC... none checking for non-GNU ld... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for /usr/ccs/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/xpg4/bin/nm -p checking for a sed that does not truncate output... /opt/csw/bin/gsed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse /usr/xpg4/bin/nm -p output... ok checking how to run the C preprocessor... cc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for cc option to produce PIC... -KPIC checking if cc PIC flag -KPIC works... yes checking if cc static flag -Bstatic works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.lo... yes checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... solaris2.8 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for an ANSI C-conforming const... yes checking for a BSD-compatible install... ./../../install-sh -c configure: creating ./config.status config.status: creating Makefile config.status: creating libmathhelper/Makefile config.status: creating testsuite/Makefile config.status: creating testsuite/mathhelper/Makefile config.status: executing depfiles commands $ ./config.guess sparc-sun-solaris2.8 $ $ $ $ which make /export/home/dclarke/local/bin/make $ $ make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for sparc-sun-solaris2.8 $ $ $ make false --string-param directory-description="The GNU testing framework." --string-param directory-category="Programming" ./doc/dejagnu.xml make: *** [doc/dejagnu.texi] Error 1 $ $ make check false --string-param directory-description="The GNU testing framework." --string-param directory-category="Programming" ./doc/dejagnu.xml make: *** [doc/dejagnu.texi] Error 1 $ I am not seeing anything good here. Is there something missing here ? Dennis _______________________________________________ DejaGnu mailing list DejaGnu@gnu.org http://lists.gnu.org/mailman/listinfo/dejagnu