Re: Building eu40.4 question
- Posted by EUWX Nov 28, 2012
- 2752 views
the problem seems to be config.wat is not created. I think Makefile. and eu.cfg are also created by configure. so you can then just run wmake
was there an error message at that point or lack of error message? try configure with no options.
Config .wat is being created and in fact, I fiddled with it by trying to add PLAT=WINDOWS
# Configuration for Watcom PLAT=WINDOWS ASSERT=1 PREFIX=\EUPHORIA SCP=pscp -C SSH=plink -C HG=hg ARCH=ix86 EUPHORIA=1 MANAGED_MEM=1 DELTREE=del /Q /S RM=del /Q RMDIR=rmdir /Q/S EUDOC=eudoc.exe CREOLE=creole.exe TRUNKDIR=C:\euphoria BUILDDIR=C:\euphoria\source\build
I have gone about line at a time and confirmed what is working and what is not working. Definitely, the current Makefile.wat in the euphoria-4.0.5-ow version after installation into C:euphoria is a small fileand the wmake command of Watcom does not recognize
!include $(CONFIG)
and I had to change it manually to
!include config.wat
Then it recognized the line and proceeded to
wcc386 $(EOSTYPE) /zp4 /w0 /5r /ol $(PCREDEBUG) -zq -oaxt -DHAVE_CONFIG_H -DNO_RECURSE $< -fo=$@
where it did not find OS defined and came with the error message
wcc386 /zp4 /w0 /5r /ol -zq -oaxt -DHAVE_CONFIG_H -DNO_RECURSE pcre_chartables.c -fo=C:\euphoria\source\build\pcre\pcre_chartables.obj config.h(7): Error! E1091: ** config.h(8): Error! E1091: ** No OS set! config.h(9): Error! E1091: ** Please run configure and make utilities config.h(10): Error! E1091: ** from this directory s parent
Notice the absence of
$(EOSTYPE) or its substitution in the error message.
So far what I have discovered is that the Makefile.wat in the OW distribution version of 4.0.5 for Windows is vastly different from the one same in the Linux version. I also have euphoria-4.0.4-WINDOWS.zip which I either downloaded with that name or I gave that name to a Windows version of 4.0.4. In there, the Makefile.wat is a very similar long file to the Linux version of 4.0.4.
Additionally the source file in this version has about 20-30 .cpp files.