comp.lang.ada
 help / color / mirror / Atom feed
* Error in installing AWS on windows
@ 2016-08-25 18:34 pideltachange
  2016-08-25 18:56 ` Pascal Obry
  0 siblings, 1 reply; 9+ messages in thread
From: pideltachange @ 2016-08-25 18:34 UTC (permalink / raw)


The following errors occurs when running "C:\win32\build.cmd C:\GNAT\2016":


src.gpr:25:17: shared library project "src" cannot import static library project "xmlada_schema"

src.gpr:25:17: shared library project "src" cannot import static library project "xmlada_dom"

src.gpr:25:17: shared library project "src" cannot import static library project "xmlada_input"

src.gpr:25:17: shared library project "src" cannot import static library project "xmlada_sax"

src.gpr:25:17: shared library project "src" cannot import static library project "xmlada_unicode"

gprinstall: "aws.gpr" processing failed
Couldn't build or install AWS

Do I need the xmlada tools - for which it's available in GNAT GLP 2015, but not GNAT GLP 2016?


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

* Re: Error in installing AWS on windows
  2016-08-25 18:34 Error in installing AWS on windows pideltachange
@ 2016-08-25 18:56 ` Pascal Obry
  2016-08-25 19:20   ` pideltachange
  0 siblings, 1 reply; 9+ messages in thread
From: Pascal Obry @ 2016-08-25 18:56 UTC (permalink / raw)



> Do I need the xmlada tools - for which it's available in GNAT GLP
> 2015, but not GNAT GLP 2016?

See:

https://github.com/AdaCore/aws/commit/044dad268f8f4da4b4ea355154ade743699acab1

Most probably the issue.

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B


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

* Re: Error in installing AWS on windows
  2016-08-25 18:56 ` Pascal Obry
@ 2016-08-25 19:20   ` pideltachange
  2016-08-25 20:00     ` Pascal Obry
  0 siblings, 1 reply; 9+ messages in thread
From: pideltachange @ 2016-08-25 19:20 UTC (permalink / raw)


> See:
> 
> https://github.com/AdaCore/aws/commit/044dad268f8f4da4b4ea355154ade743699acab1
> 
> Most probably the issue.

I replaced to make file with commit link that was provided however I still received the aforementioned errors. I believe GNAT ADA 2016 and GtkAda 2016 was standard "available to all user" install. I didn't know if permissions made a difference as to the reason it did not import static library but it have access to it.

Where would the static library project of xmlada_... be located in the aws directory? I think I found just a tp.xmlada... file that makes reference to xmlada in windows explorer search results.



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

* Re: Error in installing AWS on windows
  2016-08-25 19:20   ` pideltachange
@ 2016-08-25 20:00     ` Pascal Obry
  2016-08-26 10:24       ` pideltachange
  2016-08-26 10:27       ` pideltachange
  0 siblings, 2 replies; 9+ messages in thread
From: Pascal Obry @ 2016-08-25 20:00 UTC (permalink / raw)


Le jeudi 25 août 2016 à 12:20 -0700, pideltachange@gmail.com a écrit :
> Where would the static library project of xmlada_... be located in
> the aws directory? I think I found just a tp.xmlada... file that
> makes reference to xmlada in windows explorer search results.

XML/Ada libraries are distributed with GNAT GPL.

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B

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

* Re: Error in installing AWS on windows
  2016-08-25 20:00     ` Pascal Obry
@ 2016-08-26 10:24       ` pideltachange
  2016-08-26 10:27       ` pideltachange
  1 sibling, 0 replies; 9+ messages in thread
From: pideltachange @ 2016-08-26 10:24 UTC (permalink / raw)


 
> XML/Ada libraries are distributed with GNAT GPL.
> 

I'm still getting the aforementioned errors. I'm wondering would I be able to copy the source files of xmlada_etc... into any of these directory?
 ("core", "extended", "../templates_parser/src", "../config/src",
      "../config/ssl", "../" & Shared.Target_Dir & "/setup/src", ".");

I've also tried "make setup build". That returned the following error 
makefile.checks:28: *** unterminated call to function `shell': missing `)'.  Stop.

On another note, I'm not able to call any of the xml/ada packages. I'm inferring the packages will have to be built prior to building out the aws. However, I thought I did see a static lib of xmlada_etc (.a file) in GNAT/2016/LIB directory.

Or did I miss sometime when I install gnat-gpl window executable? 


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

* Re: Error in installing AWS on windows
  2016-08-25 20:00     ` Pascal Obry
  2016-08-26 10:24       ` pideltachange
@ 2016-08-26 10:27       ` pideltachange
  2016-08-26 13:55         ` Björn Lundin
  1 sibling, 1 reply; 9+ messages in thread
From: pideltachange @ 2016-08-26 10:27 UTC (permalink / raw)


> XML/Ada libraries are distributed with GNAT GPL. 
> 

I'm still getting the aforementioned errors. I'm wondering would I be able to copy the source files of xmlada_etc... into any of these directory? 
 ("core", "extended", "../templates_parser/src", "../config/src", 
      "../config/ssl", "../" & Shared.Target_Dir & "/setup/src", "."); 

I've also tried "make setup build". That returned the following error 
makefile.checks:28: *** unterminated call to function `shell': missing `)'.  Stop. 

On another note, I'm not able to call any of the xml/ada packages. I'm inferring the packages will have to be built prior to building out the aws. However, I thought I did see a static lib of xmlada_etc (.a file) in GNAT/2016/LIB directory. 

Or did I miss something when I install gnat-gpl window executable? 


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

* Re: Error in installing AWS on windows
  2016-08-26 10:27       ` pideltachange
@ 2016-08-26 13:55         ` Björn Lundin
  2016-08-26 17:30           ` Simon Wright
  0 siblings, 1 reply; 9+ messages in thread
From: Björn Lundin @ 2016-08-26 13:55 UTC (permalink / raw)


On 2016-08-26 12:27, pideltachange@gmail.com wrote:
> On another note, I'm not able to call any of the xml/ada packages. I'm inferring the packages will have to be built prior to building out the aws. However, I thought I did see a static lib of xmlada_etc (.a file) in GNAT/2016/LIB directory. 
> 
> Or did I miss something when I install gnat-gpl window executable? 

You need

with "xmlada_schema";
with "xmlada_dom";
with "xmlada_input";
with "xmlada_sax";
with "xmlada_unicode";

in your gpr file

I have mine in
/opt/gnat/gpl_2015_x64/lib/gnat/

as in
/opt/gnat/gpl_2015_x64/lib/gnat/xmlada_dom.gpr


-- 
--
Björn


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

* Re: Error in installing AWS on windows
  2016-08-26 13:55         ` Björn Lundin
@ 2016-08-26 17:30           ` Simon Wright
  2016-08-29  7:28             ` Björn Lundin
  0 siblings, 1 reply; 9+ messages in thread
From: Simon Wright @ 2016-08-26 17:30 UTC (permalink / raw)


Björn Lundin <b.f.lundin@gmail.com> writes:

> On 2016-08-26 12:27, pideltachange@gmail.com wrote:
>> On another note, I'm not able to call any of the xml/ada
>> packages. I'm inferring the packages will have to be built prior to
>> building out the aws. However, I thought I did see a static lib of
>> xmlada_etc (.a file) in GNAT/2016/LIB directory.
>> 
>> Or did I miss something when I install gnat-gpl window executable? 
>
> You need
>
> with "xmlada_schema";
> with "xmlada_dom";
> with "xmlada_input";
> with "xmlada_sax";
> with "xmlada_unicode";
>
> in your gpr file

You should really only need the one with: I have one with

   with "asis";
   with "xmlada";

   project ASIS2XML is

because, in (here) /opt/gnat-gpl-2016/lib/gnat/xmlada.gpr I see

--  Project file for use of XML/Ada.
--  Put the directory that contains xmlada.gpr in your ADA_PROJECT_PATH
--  variable. Then, in our own project file, add a "with" dependency on
--  "xmlada.gpr".

with "xmlada_unicode", "xmlada_sax", "xmlada_input", "xmlada_dom";
with "xmlada_schema";

project Xmlada is
   for Source_Dirs use ();
end Xmlada;

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

* Re: Error in installing AWS on windows
  2016-08-26 17:30           ` Simon Wright
@ 2016-08-29  7:28             ` Björn Lundin
  0 siblings, 0 replies; 9+ messages in thread
From: Björn Lundin @ 2016-08-29  7:28 UTC (permalink / raw)


On 2016-08-26 19:30, Simon Wright wrote:
> Björn Lundin <b.f.lundin@gmail.com> writes:
> 
>> On 2016-08-26 12:27, pideltachange@gmail.com wrote:
>>> On another note, I'm not able to call any of the xml/ada
>>> packages. I'm inferring the packages will have to be built prior to
>>> building out the aws. However, I thought I did see a static lib of
>>> xmlada_etc (.a file) in GNAT/2016/LIB directory.
>>>
>>> Or did I miss something when I install gnat-gpl window executable? 
>>
>> You need
>>
>> with "xmlada_schema";
>> with "xmlada_dom";
>> with "xmlada_input";
>> with "xmlada_sax";
>> with "xmlada_unicode";
>>
>> in your gpr file
> 
> You should really only need the one with: I have one with
> 
>    with "asis";
>    with "xmlada";
> 

Right, we do with on aws, which lists them separately.
Did not know there was a separate xmlada, but it does make sense.

-- 
--
Björn


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

end of thread, other threads:[~2016-08-29  7:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-25 18:34 Error in installing AWS on windows pideltachange
2016-08-25 18:56 ` Pascal Obry
2016-08-25 19:20   ` pideltachange
2016-08-25 20:00     ` Pascal Obry
2016-08-26 10:24       ` pideltachange
2016-08-26 10:27       ` pideltachange
2016-08-26 13:55         ` Björn Lundin
2016-08-26 17:30           ` Simon Wright
2016-08-29  7:28             ` Björn Lundin

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