From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c3f735b2c954355f X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.143.145 with SMTP id v17mr3516586bku.7.1338953961136; Tue, 05 Jun 2012 20:39:21 -0700 (PDT) Path: e27ni18541bkw.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: AWS Windos build trouble. Date: Tue, 5 Jun 2012 20:37:26 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <88c7a22d-9dbe-4981-99b7-205d514730f1@googlegroups.com> <4fc7054f$0$12512$ba4acef3@reader.news.orange.fr> <95a04ac3-3adf-4da4-b288-881ef196a631@googlegroups.com> <4fc93eb5$0$21552$ba4acef3@reader.news.orange.fr> <4FCB7872.6010803@obry.net> <17a0570f-1e65-4341-a419-1e09cb646a44@googlegroups.com> <4fcce35a$0$12523$ba4acef3@reader.news.orange.fr> NNTP-Posting-Host: 96.2.54.122 Mime-Version: 1.0 X-Trace: posting.google.com 1338953960 9737 127.0.0.1 (6 Jun 2012 03:39:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 6 Jun 2012 03:39:20 +0000 (UTC) In-Reply-To: <4fcce35a$0$12523$ba4acef3@reader.news.orange.fr> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=96.2.54.122; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-06-05T20:37:26-07:00 List-Id: 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?)