Re: Building eu40.4 question

new topic     » goto parent     » topic index » view thread      » older message » newer message

This was my first attempt at building eu4.0.5
I downloaded and installed euphoria-4.0.5-ow.exe. I have Windows XP SP2.
I installed it in c:euphoria I installed Watcom 1.9 at c:watcom In System\advanced\enviromental variables, I can see the path set correctly to the two Watcom direcotries.

-- I did  
SET EUINC=C:\EUPHORIA\include 
--I can see the EUINC properly initialised. 
-- I did  
cd source 
configure  --prefix  \EUPHORIA 
 
-- wmake is Watcom compiler command in the c:\watcom\binw directory 
-- Then I tried 
wmake  -f  makefile.wat 

It errored out, because it did not find config.wat at line 9 of Makefile.wat. I checked by putting an extra line of comment in Makefile.wat and it errored our at line 10. I tried the full paths to everything, but it did not work

c:\watcom\binw\wmake  -f  c:\euphoria\source\Makefile.wat 

Finally I commented out line 9 pf Makefile.wat

# !include $(CONFIG) 
-- adding instead 
!include config.wat 
 

and lo and behold, it work up to a point.
It created c:\euphoria\source\build and .....\pcre
It put in some files there

But it came with an error.

By now I have created a composite batch file

and this is the message.

Build directory is build 
Open Watcom Make Version 1.9 
Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved. 
Source code is available under the Sybase Open Watcom Public License. 
See http://www.openwatcom.org/ for details. 
	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 
config.h(11): Error! E1091: **  
pcre.h(7): Error! E1091: ** 
pcre.h(8): Error! E1091: ** No OS set!                               
pcre.h(9): Error! E1091: ** Please run configure and make utilities  
pcre.h(10): Error! E1091: ** from this directory s parent 
pcre.h(11): Error! E1091: **  
pcre_internal.h(386): Error! E1091: LINK_SIZE must be either 2, 3, or 4 
 

Note that in the line
wcc386 ...... the word $(EOSTYPE) is missing.

I therefore tried:
PLAT=WINDOWS in the config.wat FILE - no success
PLAT=WINDOWS in the Makefile.wat FILE - no success
I tried several other statements but no success
Substitution with whatever I assign to EOSTYPE occurs in the erro message display but no success

## 
# Makefile for PCRE to be included into Euphoria 
## 
<\eucode> 
 
<eucode> 
CC = wcc386 
# 
 #PLAT = WINDOWS 
 #EOSTYPE = 3 
 #EOSTYPE = OS_WIN 
 #EOSTYPE = "OS_WIN" 
 #EOSTYPE = WINDOWS 
# 
EOSTYPE = "WINDOWS" 
 
BASEPATH=$(BUILDDIR)\pcre 
# 
# !include $(CONFIG) 
# 
!include config.wat 
!include objects.wat 
!ifeq DEBUG 1 
PCREDEBUG=/d2 
!endif 
all: $(BASEPATH) $(PCRE_OBJECTS)  
.c.obj : .AUTODEPEND 
	wcc386 $(EOSTYPE) /zp4 /w0 /5r /ol $(PCREDEBUG) -zq -oaxt -DHAVE_CONFIG_H -DNO_RECURSE $< -fo=$@ 
$(BASEPATH) : .EXISTSONLY $(BUILDDIR) 
	mkdir $(BASEPATH) 
 
 
Is there any write up anywhere, where I can look it up?
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu