Log of the first steps of a build of dmake on OpenVMS Alpha.

 Welcome to OpenVMS (TM) Alpha Operating System, Version V7.3-2  

Username: user12
Password: 
   Welcome to OpenVMS (TM) Alpha Operating System, Version V7.3-2
%DCL-I-SUPERSEDE, previous value of DCL$PATH has been superseded
$ dir

Directory USERS:[user12]

.bashrc;1           bouwdmake.log;1     dmake.DIR;1         login.com;1        
temp.DIR;1          

Total of 5 files.
$ bash
bash$ ls
bouwdmake.log  dmake  login.com  temp
bash$ cd dmake/
bash$ ls
AUTHORS		 autogen.sh	 dstdarg.h   makefile.mk    rulparse.c
COPYING		 config.guess	 expand.c    man	    stamp-h
CVS		 config.h.in	 extern.h    missing	    startup
ChangeLog	 config.sub	 function.c  mkinstalldirs  stat.c
INSTALL		 configure	 getinp.c    msdos	    state.c
Makefile.am	 configure.in	 hash.c      os2	    stdmacs.h
Makefile.in	 dag.c		 imacs.c     parse.c	    struct.h
NEWS		 db.h		 infer.c     patchlvl.h     sysintf.c
_head		 dbug		 install-sh  path.c	    tempnam.c
_install	 depcomp	 itypes.h    percent.c	    tos
acinclude.in	 dmake.c	 mac	     posix.h	    unix
acinclude.m4	 dmake.h	 macparse.c  qssl	    version.h
acinclude.m4.in  dmakeroot.h.in  make.bat    quit.c	    vextern.h
aclocal.m4	 dmdump.c	 make.c      rcsclean.awk   win95
alloc.h		 dmstring.c	 make.cmd    readme	    winnt
bash$ grep conftest\.dir configure
  mkdir conftest.dir
  cp "$am_depcomp" conftest.dir
  cd conftest.dir
  rm -rf conftest.dir
bash$ mv configure configure.org
bash$ sed 's/conftest\.dir/conftest\.ddd/g' configure.org > configure
bash$ ./configure --build=alpha-hp-vms --disable-dependency-tracking
checking for a BSD-compatible install... /gnu/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
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 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... none
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /gnu/bin/install -c
checking whether ln -s works... no, using ln
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... :
checking for gawk... (cached) gawk
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for strings.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for unistd.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking spawn.h usability... no
checking spawn.h presence... no
checking for spawn.h... no
checking wait.h usability... yes
checking wait.h presence... yes
checking for wait.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for working memcmp... yes
checking return type of signal handlers... void
checking whether utime accepts a null argument... yes
checking for vprintf... yes
checking for _doprnt... no
checking for getcwd... yes
checking for getwd... no
checking for putenv... yes
checking for strcspn... yes
checking for strerror... yes
checking for strspn... yes
checking for strstr... yes
checking for setvbuf... yes
checking for tzset... yes
checking for settz... no
checking for mkstemp... yes
checking for tempnam... yes
checking the operating system... 
configure: error: OpenVMS operating system is n
ot suitable to build dmake!

Adding OpenVMS as a supported platform to the configure script: After: "GNU") OS_VERSION=linux ;; Add: "OpenVMS") OS_VERSION=OpenVMS ;;
Then restart the configure script. (or start here.. ;-))

bash$ ./configure --build=alpha-hp-vms --disable-dependency-tracking checking for a BSD-compatible install... /gnu/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc 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 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... none checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /gnu/bin/install -c checking whether ln -s works... no, using ln checking whether make sets $(MAKE)... (cached) yes checking for ranlib... : checking for gawk... (cached) gawk checking for dirent.h that defines DIR... yes checking for library containing opendir... none required 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for strings.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking spawn.h usability... no checking spawn.h presence... no checking for spawn.h... no checking wait.h usability... yes checking wait.h presence... yes checking for wait.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for working memcmp... yes checking return type of signal handlers... void checking whether utime accepts a null argument... yes checking for vprintf... yes checking for _doprnt... no checking for getcwd... yes checking for getwd... no checking for putenv... yes checking for strcspn... yes checking for strerror... yes checking for strspn... yes checking for strstr... yes checking for setvbuf... yes checking for tzset... yes checking for settz... no checking for mkstemp... yes checking for tempnam... yes checking the operating system... checked (OpenVMS) configure: creating ./config.status config.status: creating Makefile config.status: creating unix/Makefile config.status: creating startup/Makefile config.status: creating startup/unix/Makefile config.status: creating startup/unix/linux/Makefile config.status: creating startup/unix/solaris/Makefile config.status: creating startup/unix/macosx/Makefile config.status: creating startup/unix/sysvr4/Makefile config.status: creating startup/unix/cygwin/Makefile config.status: creating startup/winnt/Makefile config.status: creating startup/winnt/mingw/Makefile config.status: creating startup/winnt/msvc6/Makefile config.status: creating msdos/Makefile config.status: creating win95/Makefile config.status: creating win95/microsft/Makefile config.status: creating config.h config.status: executing depfiles commands bash$ make make all-recursive make[1]: Entering directory `/USERS/user12/dmake' Making all in unix make[2]: Entering directory `/USERS/user12/dmake/unix' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../unix/OpenVMS/gnu -I../unix -I.. /unix/OpenVMS -g -c `test -f 'arlib.c' || echo './'`arlib.c #include <ar.h> .^ %CC-F-NOINCLFILEF, Cannot find file <ar.h> specified in #include directive. at line number 97 in file USERS:[user12.dmake.unix]arlib.c;1 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../unix/OpenVMS/gnu -I../unix -I.. /unix/OpenVMS -g -c `test -f 'dcache.c' || echo './'`dcache.c #include "public.h" .^ %CC-F-NOINCLFILEF, Cannot find file "public.h" specified in #include directive. at line number 146 in file USERS:[user12.dmake]extern.h;1 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../unix/OpenVMS/gnu -I../unix -I.. /unix/OpenVMS -g -c `test -f 'dirbrk.c' || echo './'`dirbrk.c #include "public.h" .^ %CC-F-NOINCLFILEF, Cannot find file "public.h" specified in #include directive. at line number 146 in file USERS:[user12.dmake]extern.h;1 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../unix/OpenVMS/gnu -I../unix -I.. /unix/OpenVMS -g -c `test -f 'rmprq.c' || echo './'`rmprq.c #include "public.h" .^ %CC-F-NOINCLFILEF, Cannot find file "public.h" specified in #include directive. at line number 146 in file USERS:[user12.dmake]extern.h;1 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../unix/OpenVMS/gnu -I../unix -I.. /unix/OpenVMS -g -c `test -f 'ruletab.c' || echo './'`ruletab.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../unix/OpenVMS/gnu -I../unix -I.. /unix/OpenVMS -g -c `test -f 'runargv.c' || echo './'`runargv.c #include "public.h" .^ %CC-F-NOINCLFILEF, Cannot find file "public.h" specified in #include directive. at line number 146 in file USERS:[user12.dmake]extern.h;1 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../unix/OpenVMS/gnu -I../unix -I.. /unix/OpenVMS -g -c `test -f 'tempnam.c' || echo './'`tempnam.c #endif ......^ %CC-W-EMPTYFILE, Source file does not contain any declarations. at line number 106 in file USERS:[user12.dmake.unix]tempnam.c;1 rm -f libunix.a ar cru libunix.a arlib.o dcache.o dirbrk.o rmprq.o ruletab.o runargv.o tempnam.o %LIBRAR-W-OPENIN, error opening USERS:[user12.dmake.unix]arlib.o; as input -RMS-E-FNF, file not found %LIBRAR-W-OPENIN, error opening USERS:[user12.dmake.unix]dcache.o; as input -RMS-E-FNF, file not found %LIBRAR-W-OPENIN, error opening USERS:[user12.dmake.unix]dirbrk.o; as input -RMS-E-FNF, file not found %LIBRAR-W-OPENIN, error opening USERS:[user12.dmake.unix]rmprq.o; as input -RMS-E-FNF, file not found %LIBRAR-W-OPENIN, error opening USERS:[user12.dmake.unix]runargv.o; as input -RMS-E-FNF, file not found %LIBRAR-W-COMCOD, compilation warnings in module TEMPNAM file USERS:[user12.dmak e.unix]tempnam.o;1 : libunix.a make[2]: Leaving directory `/USERS/user12/dmake/unix' Making all in startup make[2]: Entering directory `/USERS/user12/dmake/startup' Making all in unix make[3]: Entering directory `/USERS/user12/dmake/startup/unix' Making all in OpenVMS /tmp/make002fd0: OpenVMS: invalid argument make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/USERS/user12/dmake/startup/unix' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/USERS/user12/dmake/startup' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/USERS/user12/dmake' bash$ exit $ lo USER12 logged out at 27-JUN-2004 22:39:44.43
Not very succesfull, but there are some files and directories we can add to make things a lot better. Next time we'll go on.
First we have to check that all checks in the configure script resulted in a correct config.h.