[AWS] building AWS error

Pascal Obry p.obry@wanadoo.fr
Sat, 12 Jul 2003 20:38:28 +0200


David,

 > > Why do you think 1 and 2 are needed ?
 > Actually, for just compiling examples in the gnat examples directory it
 > is not necessary.
 > However for any other project for example adagtk, adawebserver, xmlada,
 > adasockets....
 > I sincerely think this is a good preparatory measure for the
 > includes/run-time-paths to come.

Well this is automatically done by GNAT...

 > >  > 3)set the PATH to point typically to c:/gnat/bin
 > >  > 4)In the makefile.conf file declare the following variables:
 > >  > AR=c:\gnat\bin\ar
 > >  > CP=c:\msys\1.0\bin\cp -p
 > >  > RM=c:\msys\1.0\bin\rm
 > >  > MAKE=c:\gnat\bin\make
 > >  > GREP=c:\msys\1.0\bin\grep
 > >  > DIFF=c:\msys\1.0\bin\diff
 > >  > SED=c:\msys\1.0\bin\sed
 > > 
 > > I think it is better to set the PATH to point to the MSYS bin directory here.
 > Tend to disagree here because there are many things in the makefile and
 > the makefile.conf that seem to be passed off as understood.

Yes, but it is said in the documentation that to build AWS you need to install
a set of UNIX tools (either Cygwin or MSYS) and of course this means that the
tools are found in the PATH :)

 > If that was the case the compile would have built the first time
 > correctly for Ada Web Server without any question.

Even by reading the doc :)

 > I am simply trying to clarify all the details in order for this
 > situation to be prevented in the future and also to 
 > save the AWS team support time :)

That's fine.

 > >I think it is better to set the PATH to point to the MSYS bin
 > >directory here.
 > 
 > Also to support my argument I have seen the same kind of errors happen
 > even with msys in the path.
 > I am only suggesting the above stuff as a preventitive measure and also
 > to liberate this stuff from the PATH environment variable 

That's not a good argument. With Cygwin you need to have the path set for the
Cygwin runtime to be found (cygwin1.dll).

There is anyway something definitly wrong with this is that everybody will
have to change the the makefile to fit its environment.

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