[AWS] Compiling hello_world errors

Thomas De Contes d.l.tDeContes at free.fr
Sun Oct 21 18:10:19 CEST 2007


Le 20 oct. 07 à 22:52, Jilani Khaldi a écrit :

>> How did you build AWS ?
>> Where did you install AWS ?
> make setup build install
> and I think it's ok seen at the end I get the demos done, the  
> libraries
> installed without errors.

i did "make setup build install" and it didn't ended with an error,  
but the demos were not done

what's wrong ?
should i set ADA_PROJECT_PATH before run "make setup build install" ?

anyway, why "make setup build install" doesn't end with an error, if  
it should build the demos but doesn't succeed ??

>
>> Have you set the ADA_PROJECT_PATH ?
> export ADA_PROJECT_PATH = /usr/gnat/lib/xmlada

if i installed AWS in /mydir , then i have aws.gpr in /mydir/lib/gnat
so, should i set ADA_PROJECT_PATH to /mydir or to /mydir/lib/gnat ?


>> How do you compile hello_world.adb ?
> gnatmake -I/usr/gnat/include/aws -I/usr/gnat/include/aws/components
> hello_word.adb
> result:
> hello_world.adb:34:06: file "ssl-thin.ads" not found
> hello_world.adb:34:06: "Hello_World (body)" depends on "Aws.Server  
> (spec)"
> hello_world.adb:34:06: "Aws.Server (spec)" depends on "Aws.Net.Ssl  
> (spec)"
> hello_world.adb:34:06: "Aws.Net.Ssl (spec)" depends on "Ssl.Thin  
> (spec)"
> gnatmake: "hello_world.adb" compilation error

look at lib/gnat/aws/aws_shared.gpr ,
you'll see things like
for Specification ("SSL.Thin") use "ssl-thin__dummy.ads";
:-)


-- 
j'agis contre l'assistanat, je travaille dans une SCOP !




More information about the AWS mailing list