[AWS] Building AWS 1.4 on Windows XP Pro

Alex Watkins alex_watkins@hotmail.com
Mon, 01 Dec 2003 20:45:19 +0000


Pascal & Florian

Thanks to your help this now works fine. I updated xmlada, desisted from 
altering the makefile and didn't try building the docs. I've not built 
anything yet but the install returned no errors.

The reason I was trying to build the docs was that my previous failed build 
attempts had created a blank aws.html file, and I assumed that I'd need to 
build the docs to be able to read them.

Many thanks
Alex
----Original Message Follows----
From: Pascal Obry <p.obry@wanadoo.fr>
To: "Alex Watkins" <alex_watkins@hotmail.com>
CC: aws@lists.act-europe.fr
Subject: Re: [AWS] Building AWS 1.4 on Windows XP Pro
Date: Sat, 29 Nov 2003 23:27:17 +0100


Alex,

  > 	Building soap-wsdl
  > 	gnatmake -u -q -u -g -m -gnata -gnatwcfipru -gnaty3abcefhiklmnoprst
  > -I../ssl -I../include -I../src -I/c/xmlada/include/xmlada 
-I/c/xmlada/lib
  > soap-wsdl;
  > 	soap-wsdl.adb:40:06: file "dom-readers.ads" not found

You are not using the right XML/Ada version. With AWS 1.4 you must use 
XML/Ada
1.0. But note that I'm not sure you can build the documentation with MSYS. 
It
works fine on Cygwin with the tetex package or UNIX.

  > raised regarding 'bad casing'.
  >
  > I also found that gnatmake didn't like the '-lz' option used in the
  > makefile  in aws-1.4/tools, so I deleted it. I tried changing it to 
'-l',
  > but got  different errors.

This is wrong. The libz.a library is created during the AWS build. This
library is then placed into the AWS/lib directory.

  > Also, make couldn't find the xmlada files in the directories 
input_sources,
  > sax, unicode and dom, so I copied *.ad? into aws-1.4/xsrc and 
aws-1.4/soap.
  > Also I commented out

Definitly something wrong in your installed package.

  > 	./gentexifile ../src/aws.ads NOGROUP
  > 	...
  > 	./gentexifile ../soap/soap-types.ads NOGROUP
  > 	/c/msys/1.0/bin/texi2dvi: tex: command not found
  > 	/c/msys/1.0/bin/texi2dvi: tex exited with bad status, quitting.
  > 	/c/msys/1.0/bin/texi2dvi: see aws.log for errors.
  > 	cp: cannot stat `aws.log': No such file or directory

Seems like you do not have tex installed. I'm not sure there is a version 
for
plain Windows or MSYS. BTW AWS 1.4 comes with the doc in HTML, TEXT and 
.info
so you should not have to build it yourself.

  > I don't know how to resolve this, or whether my previous 'amendments to
  > makefiles etc will have made this happen! I should find out in due 
course
  > whether my build of AWS-1.4 works correctly, but I need to build the 
docs
  > so  I can find out how to use all of the features!

I recommand that you do not mess with the makefile :) I know that AWS 1.4
build fine with MSYS so this is probably a problem with your
environment. First update XML/Ada and then if you still have problems try
updating MSYS. If this does not work please post the complete output for the
"make build".

Pascal.

--

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595

_________________________________________________________________
Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile