comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Re: AWS Windos build trouble.
Date: Tue, 5 Jun 2012 20:37:26 -0700 (PDT)
Date: 2012-06-05T20:37:26-07:00	[thread overview]
Message-ID: <c97ae6bc-56b6-4a93-9f12-41e81b786e98@googlegroups.com> (raw)
In-Reply-To: <4fcce35a$0$12523$ba4acef3@reader.news.orange.fr>

On Monday, June 4, 2012 11:33:30 AM UTC-5, Pascal Obry wrote:
>
> Still with GPS 2010? I kind of remember an incompatibility between
> libz.dll from GPS and the one from AWS! Copy bin/libz.dll away,
> reinstall GPS and it should be fine. Of course AWS may fail if you use
> compression... The best solution is probably to upgrade to GNAT GPL 2012
> when it is available or GPL 2011 right now.

Nope, I'm using 2011.

Well, after getting the libz.dll swapped out it would get the splash-screen, followed by nothing (GPS.EXE crash).
Some investigation into why I  I tracked it down to share\gps\plug-in files:
aws.api.xml
ada2wsdl.xml
aws.py
aws.xml
wsdl2aws.xml

On a hunch I moved them to a flash-drive (Fat32) and back, this aleviated that problem.
Apparently it was a permissions problem (perhaps GPS.EXE could see but not read the file).
Running GPS.EXE and opening my test/hello AWS program I now got these:

gnatmake -d -PC:\AWS\aws_test.gpr Test.adb
gcc -c -gnat05 -I- -gnatA C:\AWS\src\Test.adb
test.adb:12:24: file "Ssl-Thin.ads" not found
test.adb:12:24: "Test (body)" depends on "Aws.Server (spec)"
test.adb:12:24: "Aws.Server (spec)" depends on "Aws.Net.Ssl (spec)"
test.adb:12:24: "Aws.Net.Ssl (spec)" depends on "Ssl.Thin (spec)"
gnatmake: "C:\AWS\src\Test.adb" compilation error

After copy/renaminging config\src\ssl-thin__dummy.ads from the AWS cource directoy I got these:
gcc -c -gnat05 -I- -gnatA C:\Programming\GNAT\2010\include\aws\aws-server-status.adb
aws-server-status.adb:35:06: file "Templates_Parser-Configuration.ads" not found
aws-server-status.adb:35:06: "AWS.SERVER.STATUS (body)" depends on "TEMPLATES_PARSER (body)"
aws-server-status.adb:35:06: "TEMPLATES_PARSER (body)" depends on "TEMPLATES_PARSER.CONFIGURATION (spec)"
templates_parser.adb:878:25: "Configuration" is undefined (more references follow)
gnatmake: "C:\Programming\GNAT\2010\include\aws\aws-server-status.adb" compilation error

Obviously I'll have to do the same, essentially manually replicating the GPR files's.
Why did the make install fail to propigate these into GNAT's include directory? Or was it supposed to propigate the ALI files somewhere to make them part of the library? (Isn't that what make install's supposed to do?)



  reply	other threads:[~2012-06-06  3:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-31  4:56 AWS Windos build trouble Shark8
2012-05-31  5:44 ` Pascal Obry
2012-05-31  7:01   ` Shark8
2012-06-01 22:14     ` Pascal Obry
2012-06-02  2:03       ` Shark8
2012-06-03 14:45         ` Pascal Obry
2012-06-04 16:04           ` Shark8
2012-06-04 16:33             ` Pascal Obry
2012-06-06  3:37               ` Shark8 [this message]
2012-06-06  6:56                 ` Pascal Obry
2012-06-06 13:55                   ` Shark8
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox