[AWS] Building AWS 1.4 on Windows XP Pro

Pascal Obry p.obry@wanadoo.fr
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