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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.164.207 with SMTP id d76mr3528270ioj.21.1452767509653; Thu, 14 Jan 2016 02:31:49 -0800 (PST) X-Received: by 10.182.227.200 with SMTP id sc8mr39251obc.0.1452767509632; Thu, 14 Jan 2016 02:31:49 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!h5no4376744igh.0!news-out.google.com!l1ni13283igd.0!nntp.google.com!o2no2896597iga.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 14 Jan 2016 02:31:49 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=75.134.96.72; posting-account=oj0ahQoAAADBnzFlFQKUc6kJrXLFHMgP NNTP-Posting-Host: 75.134.96.72 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Ada Web Server Installation From: n93942011@gmail.com Injection-Date: Thu, 14 Jan 2016 10:31:49 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:29126 Date: 2016-01-14T02:31:49-08:00 List-Id: I'm attempting to move towards more complicated Ada concepts and delve into= Ada Web applications and Ada Web Server programming, but I'm having troubl= e at the starting block with the installation of the AWS from Ada Core. Th= e system I'm attempting to run it on is Windows 7 with a Cygwin Terminal. W= hen I run the first make command, $make setup, I get the following: $ make setup gprbind xoscons.bexch gnatbind xoscons.ali gcc -c b__xoscons.adb gcc xoscons.o -o xoscons.exe Setup OS specific definitions aws-os_lib-tmplt.c:128:0: warning: "EADDRNOTAVAIL" redefined #define EADDRNOTAVAIL WSAEADDRNOTAVAIL ^ >From the last line on I get errors such as these: In file included from aws-os_lib-tmplt.c:82:0: C:/Strawberry/c/x86_64-w64-mingw32/include/errno.h:166:0: note: this is the= location of the previous definition #define EWOULDBLOCK 140 ^ . . . aws-os_lib-tmplt.c:319:11: error: impossible constraint in 'asm' /*NOGEN*/ CND(SIN_FAMILY_OFFSET, "sin_family offset in record"); ^ aws-os_lib-tmplt.c:338:11: error: impossible constraint in 'asm' /*NOGEN*/ CND(AI_FLAGS_OFFSET, "???"); ^ aws-os_lib-tmplt.c:339:11: error: impossible constraint in 'asm' /*NOGEN*/ CND(AI_FAMILY_OFFSET, "???"); ^ aws-os_lib-tmplt.c:340:11: error: impossible constraint in 'asm' /*NOGEN*/ CND(AI_CANONNAME_OFFSET, "???"); ^ aws-os_lib-tmplt.c:341:11: error: impossible constraint in 'asm' /*NOGEN*/ CND(AI_ADDR_OFFSET, "???"); ^ Can not generate system tags. The test are disabled Inside of my makefile.conf I changed the following: Prefix =3D /cygdrive/c/gnat/2015 (the latest try) I've also tried "c:/gnat/2015/bin" and other variations of these paths. I t= hen ran "$ make setup" again and received the same errors. My ADA_PROJECT_= PATH =3D "cygdrive/c/gnat/2015" (the latest try), but I have cycled through= other variations as well. =20 >From what I've gathered from the user guide and other resources on the web = is that the $Prefix is where AWS will be install under and that the ADA_PRO= JECT_PATH has something to do with the sources needed to properly build/mak= e. I have been searching heavily for a solution to my problem and I have come = across a few resources, on this forum and a website "http://www.j-paine.org= /installing_aws_for_xp.html", but they all seem to be outdated or not speci= fically what I'm looking for. There was a tutorial about Slackware and AWS= and the website quoted above is an outdated version of the Tutorial that I= seemed promising, but I couldn't get the desired results. I read the INSTA= LL file that comes with the package and it states that all one has to do to= install the AWS, IF they have a Cygwin Terminal is run: $make setup build install, but I get alot of errors, starting with the ones above when I run that comm= and sequence so starting from square one is the best course of action at th= is point I believe. According to the user guide AWS has been tested thoroughly on multiple plat= forms, including Windows, so if anyone has any knowledge, thoughts, solutio= ns or perhaps a direction I might be able to go in pertaining to my desired= solution space, Windows 7 & Cygwin, it would be really really appreciated. Also C:\GNAT\2015\bin\ is where my compiler is and after downloading the AWS package from the AdaCore website I unzipped it an= d made it its own folder "aws" located at C:\GNAT\2015 (C:\GNAT\2015\aws fu= ll path name).