I am running a solaris 10 host ,, fully patched. I am attempting to build dejagnu to test the gcc 3.4.6 compilier that I have successfully built on that platform.
I installed tcl, tk, and expect from
sunfreeware.com then proceeded to attempt to build dejagnu.
here is the output in gory detail.
./conifigure: No such file or directory --(address@hidden)-(~/sunv420compiler_support/dejagnu-1.4.4)--
--(127)> ./configure sun4 configure: WARNING: you should use --build, --host, --target 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 sun4-gcc... no checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU
checking dependency style of gcc... gcc3 checking for sun4-g++... no checking for sun4-c++... no checking for sun4-gpp... no checking for sun4-aCC... no checking for sun4-CC... no checking for sun4-cxx... no
checking for sun4-cc++... no checking for sun4-cl... no checking for sun4-FCC... no checking for sun4-KCC... no checking for sun4-RCC... no checking for sun4-xlC_r... no checking for sun4-xlC... no
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 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... /usr/local/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=/usr/local 'sun4' 'build_alias=sun4' 'host_alias=sun4' 'target_alias=sun4' --cache-file=/dev/null --srcdir=.
configure: WARNING: you should use --build, --host, --target 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 sun4-gcc... no checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes
checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for a BSD-compatible install... ./../../install-sh -c checking how to run the C preprocessor... gcc -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... yes 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: calc.h is unchanged config.status: executing depfiles commands configure: configuring in example/hello
configure: running /bin/bash './configure' --prefix=/usr/local 'sun4' 'build_alias=sun4' 'host_alias=sun4' 'target_alias=sun4' --cache-file=/dev/null --srcdir=. configure: WARNING: you should use --build, --host, --target
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 sun4-gcc... no checking for gcc... gcc checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for style of include used by make... GNU
checking dependency style of gcc... gcc3 configure: creating ./config.status config.status: creating Makefile config.status: creating testsuite/Makefile --(address@hidden)-(~/sunv420compiler_support/dejagnu-
1.4.4)-- --(0)> make Making all in doc make[1]: Entering directory `/export/home/hartleyj/sunv420compiler_support/dejagnu-1.4.4/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/export/home/hartleyj/sunv420compiler_support/dejagnu-
1.4.4/doc' make[1]: Entering directory `/export/home/hartleyj/sunv420compiler_support/dejagnu-1.4.4' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/export/home/hartleyj/sunv420compiler_support/dejagnu-
1.4.4' --(address@hidden)-(~/sunv420compiler_support/dejagnu-1.4.4)-- --(0)> make check Making check in doc make[1]: Entering directory `/export/home/hartleyj/sunv420compiler_support/dejagnu-1.4.4/doc'
make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/export/home/hartleyj/sunv420compiler_support/dejagnu-1.4.4/doc' make[1]: Entering directory `/export/home/hartleyj/sunv420compiler_support/dejagnu-
1.4.4' make check-DEJAGNU make[2]: Entering directory `/export/home/hartleyj/sunv420compiler_support/dejagnu-1.4.4' cd testsuite ; make check make[3]: Entering directory `/export/home/hartleyj/sunv420compiler_support/dejagnu-
1.4.4/testsuite' Making check in libdejagnu make[4]: Entering directory `/export/home/hartleyj/sunv420compiler_support/dejagnu-1.4.4/testsuite/libdejagnu' make[4]: Nothing to be done for `check'. make[4]: Leaving directory `/export/home/hartleyj/sunv420compiler_support/dejagnu-
1.4.4/testsuite/libdejagnu' make[4]: Entering directory `/export/home/hartleyj/sunv420compiler_support/dejagnu-1.4.4/testsuite' Nothing to be done for all make check-DEJAGNU make[5]: Entering directory `/export/home/hartleyj/sunv420compiler_support/dejagnu-
1.4.4/testsuite' Making a new site.exp file... srcdir=`CDPATH="${ZSH_VERSION+.}:" && 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/bash -c "$runtest --version" > /dev/null 2>&1; then \ l='dejagnu'; for tool in $l; do \ $runtest --srcdir $srcdir ; \ done; \ else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi WARNING: Couldn't find the global config file. WARNING: No tool specified Test Run By hartleyj on Mon Aug 6 16:03:21 2007 Native configuration is sparc-sun-solaris2.10
I noticed a similar post from someone that attempted this on solaris 8 with almost exactly the same result. BUT they did not post a solution to the problem.
one curious thing is that the make appears to have nothing to do... hummmm....
some notes I have the same result when building from outside the source tree and using the --source option to tell configure where the sources are.... I used both gmake and /usr/ccs/bin/make to the same end.