[AWS] Installing AWS on Windows XP

Pascal Obry p.obry@wanadoo.fr
Fri, 23 May 2003 18:06:24 +0200


anders.wirzenius@wartsila.com writes:

 > echo === Build demos
 > === Build demos
 > c:/GNAT/bin/make.exe -C demos build -s GFLAGS="-O2 -gnatn -gnatwcfipru
 > -gnatwe -
 > gnaty3abcefhiklmnoprst"
 > INCLUDES="-IC:/a/ada/network/adasockets/lib/adasockets"
 > LIBS="-LC:/a/ada/network/adasockets/lib -ladasockets" LFLAGS="-s"
 > MODE="ssl" XML
 > ADA="" EXEEXT=".exe" LDAP="1" DEBUG=""
 > Building runme
 > ld: cannot find -ladasockets
 > gnatlink: cannot call c:\GNAT\bin\gcc.exe
 > gnatmake: *** link failed.
 > c:\GNAT\bin\make.exe[1]: *** [runme] Error 4
 > c:\GNAT\bin\make.exe: *** [build_demos] Error 2
 > -------------------------------------------------
 > 
 > 
 > Why don't I get the error message when building tools, but I get the
 > error message when building demos?

Because the tools does not need the adasocket library. Can you check that in
C:/a/ada/network/adasockets/lib you have the libadasockets.a file ?

You can also try to rename c:/GNAT/bin/make.exe to something else, this will
force the use of Cygwin make.

BTW, with AWS-1.3 you don't have to use AdaSockets, it is possible to use the
GNAT sockets.

 > Is Cygwin needed only for the make prosess or do I need it also when
 > creating new web servers?

Only to build process. After you can use whatever toolset you like.

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