comp.lang.ada
 help / color / mirror / Atom feed
* Ada Web Server Installation
@ 2016-01-14 10:31 n93942011
  2016-01-14 11:35 ` Brian Drummond
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: n93942011 @ 2016-01-14 10:31 UTC (permalink / raw)


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 trouble at the starting block with the installation of the AWS from Ada Core.  The system I'm attempting to run it on is Windows 7 with a Cygwin Terminal. When 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 = /cygdrive/c/gnat/2015 (the latest try)
I've also tried "c:/gnat/2015/bin" and other variations of these paths. I then ran "$ make setup" again and received the same errors.  My ADA_PROJECT_PATH = "cygdrive/c/gnat/2015" (the latest try), but I have cycled through other variations as well.  

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_PROJECT_PATH has something to do with the sources needed to properly build/make.

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 specifically 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 INSTALL 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 command sequence so starting from square one is the best course of action at this point I believe.

According to the user guide AWS has been tested thoroughly on multiple platforms, including Windows, so if anyone has any knowledge, thoughts, solutions 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 and made it its own folder "aws" located at C:\GNAT\2015 (C:\GNAT\2015\aws full path name).


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-01-15 18:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-14 10:31 Ada Web Server Installation n93942011
2016-01-14 11:35 ` Brian Drummond
2016-01-14 20:03   ` n93942011
2016-01-14 20:07     ` gautier_niouzes
2016-01-14 16:02 ` Jeffrey R. Carter
2016-01-14 19:56   ` Björn Lundin
2016-01-14 20:30     ` n93942011
2016-01-14 21:14       ` gautier_niouzes
2016-01-14 21:17         ` n93942011
2016-01-14 17:40 ` Pascal Obry
2016-01-15  9:30 ` Maciej Sobczak
2016-01-15 14:38   ` n93942011
2016-01-15 17:13   ` Pascal Obry
2016-01-15 18:04     ` n93942011

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