comp.lang.ada
 help / color / mirror / Atom feed
* Trying to get A# set up (and failing)
@ 2010-05-14 12:44 digitig
  2010-05-14 13:08 ` Pascal Obry
  0 siblings, 1 reply; 6+ messages in thread
From: digitig @ 2010-05-14 12:44 UTC (permalink / raw)


I've come back to this after getting nowhere a while ago -- this time
on a new computer so starting again from scratch.

I am trying to follow the instructions at http://asharp.martincarlisle.com/

I'm failing at the step "Then at the sourceforge download site, you
can get:
mgnat.zip"

The sourceforge site linked takes me to http://sourceforge.net/projects/asharp/,
and the "View all files" link takes me to http://sourceforge.net/projects/asharp/files/,
where I find and download mgnat20060606.zip

I unzip that into a temporary directory, and the readme tells me "To
register the DLLs:
   cd dll
   register_mgnat.bat"

I don't know whether "This must be done using a UNIX shell, such as
cygwin" or whether it should be done in a DOS shell, but either way I
get an error that gacutil is not a recognised command. What am I
missing?

Hoping that that might not matter for now, I try the next step:
   To build compiler from sources:
   mgnat.exe, mgnatbind.exe, mgnatmake.exe, mgnatlink.exe
   (edit makefile to reflect your directory structure)

   cd src
   make mgnat

I can't work out how to edit the makefile -- I've tried setting the
paths to what I /think/ will be right when I make under Cygwin:
   BUILD_DIR = /cygdrive/c/GNAT/2009/mgnat
   DLL_DIR = /cygdrive/c/GNAT/2009/mgnat/dll
   DLL_DOS_DIR = /cygdrive/c/GNAT/2009\mgnat\dll
   # Directory inside which the MGNAT build is to take place. See the
section
   # on "MGNAT Build Directory Organization" below.

   GNAT_DIR = /cygdrive/c/Program\ Files/Ada/mgnat/src
   # Directory containing the GNAT sources

   ################################
   # Makefile Optional Parameters #
   ################################

   MGNAT_DIR = $(GNAT_DIR)
   # Directory containing the Ada, C and Java sources specific to
MGNAT

   INSTALL_BASE = /cygdrive/c/GNAT/2009
   # Directory where the MGNAT release is to be installed. If empty
"/" is used.

make mgnat fails with:
   2 [main] make 3648 sig_send: wait for sig_complete event failed,
signal 6, rc258, Win32 error 0

I have no idea what that means. I'm way out of my comfort zone using
make and Cygwin -- is there an idiot's guide to getting A# installed
under MS Windows (Version 7, if that makes a difference), or could
somebody take me through this in small, simple steps, please? Or does
this mean that I'm not smart enough to use A#?



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

* Re: Trying to get A# set up (and failing)
  2010-05-14 12:44 Trying to get A# set up (and failing) digitig
@ 2010-05-14 13:08 ` Pascal Obry
  2010-05-14 13:16   ` Pascal Obry
  0 siblings, 1 reply; 6+ messages in thread
From: Pascal Obry @ 2010-05-14 13:08 UTC (permalink / raw)


Le 14/05/2010 14:44, digitig a �crit :
> I've come back to this after getting nowhere a while ago -- this time
> on a new computer so starting again from scratch.
> 
> I am trying to follow the instructions at http://asharp.martincarlisle.com/

But why don't you use GNAT-JVM available with the GPL Edition of GNAT.
See download page at http://libre.adacore.com

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|    http://www.obry.net  -  http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B




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

* Re: Trying to get A# set up (and failing)
  2010-05-14 13:08 ` Pascal Obry
@ 2010-05-14 13:16   ` Pascal Obry
  2010-05-14 15:38     ` digitig
  2010-05-18 10:58     ` digitig
  0 siblings, 2 replies; 6+ messages in thread
From: Pascal Obry @ 2010-05-14 13:16 UTC (permalink / raw)


Le 14/05/2010 15:08, Pascal Obry a �crit :
> Le 14/05/2010 14:44, digitig a �crit :
>> I've come back to this after getting nowhere a while ago -- this time
>> on a new computer so starting again from scratch.
>>
>> I am trying to follow the instructions at http://asharp.martincarlisle.com/
> 
> But why don't you use GNAT-JVM available with the GPL Edition of GNAT.
> See download page at http://libre.adacore.com

Of course I meant GNAT-dotnet and not GNAT-JVM above (Note that both are
available with the GPL compiler).

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|    http://www.obry.net  -  http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B




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

* Re: Trying to get A# set up (and failing)
  2010-05-14 13:16   ` Pascal Obry
@ 2010-05-14 15:38     ` digitig
  2010-05-18 10:58     ` digitig
  1 sibling, 0 replies; 6+ messages in thread
From: digitig @ 2010-05-14 15:38 UTC (permalink / raw)


On May 14, 2:16 pm, Pascal Obry <pas...@obry.net> wrote:

> > But why don't you use GNAT-JVM available with the GPL Edition of GNAT.
> > See download page athttp://libre.adacore.com
>
> Of course I meant GNAT-dotnet and not GNAT-JVM above (Note that both are
> available with the GPL compiler).

Try "Because I didn't know about it and I didn't spot it on my Google
search for "Ada .net" ;-)

Many thanks -- I'll look at that.



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

* Re: Trying to get A# set up (and failing)
  2010-05-14 13:16   ` Pascal Obry
  2010-05-14 15:38     ` digitig
@ 2010-05-18 10:58     ` digitig
  2010-05-19 21:16       ` Albrecht Käfer
  1 sibling, 1 reply; 6+ messages in thread
From: digitig @ 2010-05-18 10:58 UTC (permalink / raw)


On May 14, 2:16 pm, Pascal Obry <pas...@obry.net> wrote:
> Le 14/05/2010 15:08, Pascal Obry a écrit :
>
> > Le 14/05/2010 14:44, digitig a écrit :
> >> I've come back to this after getting nowhere a while ago -- this time
> >> on a new computer so starting again from scratch.
>
> >> I am trying to follow the instructions athttp://asharp.martincarlisle.com/
>
> > But why don't you use GNAT-JVM available with the GPL Edition of GNAT.
> > See download page athttp://libre.adacore.com
>
> Of course I meant GNAT-dotnet and not GNAT-JVM above (Note that both are
> available with the GPL compiler).

I can't get that working either. When I try to install, it tells me
that I need to install the .net SDK first. I've tried installing a
couple of different versions of the .net SDK, but still get the same
failure. So I'm back to my original question but with a different
compiler: are there detailed installation instructions for this
compiler somewhere, or can somebody give me step-by-step instructions?



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

* Re: Trying to get A# set up (and failing)
  2010-05-18 10:58     ` digitig
@ 2010-05-19 21:16       ` Albrecht Käfer
  0 siblings, 0 replies; 6+ messages in thread
From: Albrecht Käfer @ 2010-05-19 21:16 UTC (permalink / raw)


On Tue, 18 May 2010 12:58:09 +0200, digitig <digitig@gmail.com> wrote:
>> > But why don't you use GNAT-JVM available with the GPL Edition of GNAT.
>> > See download page athttp://libre.adacore.com
>> Of course I meant GNAT-dotnet and not GNAT-JVM above (Note that both are
>> available with the GPL compiler).
> I can't get that working either. When I try to install, it tells me
> that I need to install the .net SDK first. I've tried installing a
> couple of different versions of the .net SDK, but still get the same
> failure. So I'm back to my original question but with a different
> compiler: are there detailed installation instructions for this
> compiler somewhere, or can somebody give me step-by-step instructions?

GNAT.Net hasn't been able to install without issue since Visual Studio
2008 the appropriate SDK. However, there is a way to fool the installer:
Save the following in a .reg file, adjust the path if necessary and import.
For 32-bit Windows: http://pastebin.com/Mr4W5NQE
For 64-bit Windows: http://pastebin.com/RKD929jv
(make sure the file ends with a newline)

And now you should be able to install an almost usable GNAT.Net. Good luck.


Albrecht



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

end of thread, other threads:[~2010-05-19 21:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-14 12:44 Trying to get A# set up (and failing) digitig
2010-05-14 13:08 ` Pascal Obry
2010-05-14 13:16   ` Pascal Obry
2010-05-14 15:38     ` digitig
2010-05-18 10:58     ` digitig
2010-05-19 21:16       ` Albrecht Käfer

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