comp.lang.ada
 help / color / mirror / Atom feed
* Installing GNAT GPL 2010 on Vista
@ 2010-06-24 19:24 Alex Mentis
  2010-06-24 23:55 ` Albrecht Käfer
  2010-06-25  9:45 ` Mark Lorenzen
  0 siblings, 2 replies; 15+ messages in thread
From: Alex Mentis @ 2010-06-24 19:24 UTC (permalink / raw)


Be advised: GNAT GPL 2010 did not install correctly for me on Windows
Vista with User Account Control turned on.  It raised a "cannot modify
HKLM" error, and it did not install Start menu shortcuts or modify my
path (so who knows what else it also didn't do...).  Manually
configuring these two items was insufficient to subsequently install
GtkAda (GtkAda installer did not recognize that GNAT was installed).

Recommendation:  turn off User Account Control during the installation
of GNAT GPL 2010.  So far this work-around seems to have fixed the
problems above.




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

* Re: Installing GNAT GPL 2010 on Vista
  2010-06-24 19:24 Installing GNAT GPL 2010 on Vista Alex Mentis
@ 2010-06-24 23:55 ` Albrecht Käfer
  2010-06-25 12:06   ` Alex Mentis
  2010-06-25  9:45 ` Mark Lorenzen
  1 sibling, 1 reply; 15+ messages in thread
From: Albrecht Käfer @ 2010-06-24 23:55 UTC (permalink / raw)


On Thu, 24 Jun 2010 21:24:48 +0200, Alex Mentis <asmentis@gmail.com> wrote:
> Be advised: GNAT GPL 2010 did not install correctly for me on Windows
> Vista with User Account Control turned on.  It raised a "cannot modify
> HKLM" error, and it did not install Start menu shortcuts or modify my
> path (so who knows what else it also didn't do...).  Manually
> configuring these two items was insufficient to subsequently install
> GtkAda (GtkAda installer did not recognize that GNAT was installed).
>
> Recommendation:  turn off User Account Control during the installation
> of GNAT GPL 2010.  So far this work-around seems to have fixed the
> problems above.

“Run as administrator�? from the context menu did it for me. Someone (the
word “idiot�? comes to mind) apparently forget that an installer should
request elevation.


Albrecht



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

* Re: Installing GNAT GPL 2010 on Vista
  2010-06-24 19:24 Installing GNAT GPL 2010 on Vista Alex Mentis
  2010-06-24 23:55 ` Albrecht Käfer
@ 2010-06-25  9:45 ` Mark Lorenzen
  2010-06-25 10:36   ` Albrecht Käfer
  1 sibling, 1 reply; 15+ messages in thread
From: Mark Lorenzen @ 2010-06-25  9:45 UTC (permalink / raw)


On 24 Jun., 21:24, Alex Mentis <asmen...@gmail.com> wrote:
> Be advised: GNAT GPL 2010 did not install correctly for me on Windows
> Vista with User Account Control turned on.  It raised a "cannot modify
> HKLM" error, and it did not install Start menu shortcuts or modify my
> path (so who knows what else it also didn't do...).  Manually
> configuring these two items was insufficient to subsequently install
> GtkAda (GtkAda installer did not recognize that GNAT was installed).
>
> Recommendation:  turn off User Account Control during the installation
> of GNAT GPL 2010.  So far this work-around seems to have fixed the
> problems above.

Huh? I can't see that GNAT GPL 2010 has even been released yet. From
where did you obtain it?

- Mark L



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

* Re: Installing GNAT GPL 2010 on Vista
  2010-06-25  9:45 ` Mark Lorenzen
@ 2010-06-25 10:36   ` Albrecht Käfer
  2010-06-25 13:32     ` Mark Lorenzen
  0 siblings, 1 reply; 15+ messages in thread
From: Albrecht Käfer @ 2010-06-25 10:36 UTC (permalink / raw)


On Fri, 25 Jun 2010 11:45:33 +0200, Mark Lorenzen
<mark.lorenzen@gmail.com> wrote:
> Huh? I can't see that GNAT GPL 2010 has even been released yet. From
> where did you obtain it?

The usual place. Just click on the GNAT GPL 2009 link. Or go directly to
here:
http://libre.adacore.com/libre/download2/


Albrecht



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

* Re: Installing GNAT GPL 2010 on Vista
  2010-06-24 23:55 ` Albrecht Käfer
@ 2010-06-25 12:06   ` Alex Mentis
  2010-06-25 13:50     ` Albrecht Käfer
  0 siblings, 1 reply; 15+ messages in thread
From: Alex Mentis @ 2010-06-25 12:06 UTC (permalink / raw)


On Jun 25, 2:55 am, Albrecht Käfer <albrecht_kae...@yahoo.de> wrote:
> On Thu, 24 Jun 2010 21:24:48 +0200, Alex Mentis <asmen...@gmail.com> wrote:
> > Be advised: GNAT GPL 2010 did not install correctly for me on Windows
> > Vista with User Account Control turned on.  It raised a "cannot modify
> > HKLM" error, and it did not install Start menu shortcuts or modify my
> > path (so who knows what else it also didn't do...).  Manually
> > configuring these two items was insufficient to subsequently install
> > GtkAda (GtkAda installer did not recognize that GNAT was installed).
>
> > Recommendation:  turn off User Account Control during the installation
> > of GNAT GPL 2010.  So far this work-around seems to have fixed the
> > problems above.
>
> “Run as administrator ? from the context menu did it for me. Someone (the
> word “idiot ? comes to mind) apparently forget that an installer should
> request elevation.
>
> Albrecht

Of course... Run as administrator is probably the better solution.  I
should have thought of that.



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

* Re: Installing GNAT GPL 2010 on Vista
  2010-06-25 10:36   ` Albrecht Käfer
@ 2010-06-25 13:32     ` Mark Lorenzen
  0 siblings, 0 replies; 15+ messages in thread
From: Mark Lorenzen @ 2010-06-25 13:32 UTC (permalink / raw)


On 25 Jun., 12:36, Albrecht Käfer <albrecht_kae...@yahoo.de> wrote:
> On Fri, 25 Jun 2010 11:45:33 +0200, Mark Lorenzen
>
> <mark.loren...@gmail.com> wrote:
> > Huh? I can't see that GNAT GPL 2010 has even been released yet. From
> > where did you obtain it?
>
> The usual place. Just click on the GNAT GPL 2009 link. Or go directly to
> here:http://libre.adacore.com/libre/download2/
>
> Albrecht

Thank you very much. I only looked at the main Libre site, where it is
still mentioned in a preview.

http://libre.adacore.com/libre/

- Mark L



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

* Re: Installing GNAT GPL 2010 on Vista
  2010-06-25 12:06   ` Alex Mentis
@ 2010-06-25 13:50     ` Albrecht Käfer
  2010-06-25 16:07       ` Georg Bauhaus
  2010-06-30 16:26       ` Albrecht Käfer
  0 siblings, 2 replies; 15+ messages in thread
From: Albrecht Käfer @ 2010-06-25 13:50 UTC (permalink / raw)


On Fri, 25 Jun 2010 14:06:58 +0200, Alex Mentis <asmentis@gmail.com> wrote:
>> > Be advised: GNAT GPL 2010 did not install correctly for me on Windows
>> > Vista with User Account Control turned on.  It raised a "cannot modify
>> > HKLM" error, and it did not install Start menu shortcuts or modify my
>> > path (so who knows what else it also didn't do...).  Manually
>> > configuring these two items was insufficient to subsequently install
>> > GtkAda (GtkAda installer did not recognize that GNAT was installed).
>>
>> > Recommendation:  turn off User Account Control during the installation
>> > of GNAT GPL 2010.  So far this work-around seems to have fixed the
>> > problems above.
>>
>> “Run as administrator” from the context menu did it for me. Someone (the
>> word “idiot” comes to mind) apparently forget that an installer should
>> request elevation.
>>
>> Albrecht
>
> Of course... Run as administrator is probably the better solution.  I
> should have thought of that.

Really, the mistake was done by AdaCore. Incidentally, the win32ada
installer *does* request elevation, but neither GNAT for Win32 nor GNAT
for .Net do.

Also, while GNAT for .Net tries to integrate with Visual Studio 2010, it
fails. Somehow. There's an entry for Ada projects, but it doesn't work.
One wonders if they actually test their (free) products; seeing that they
are basically advertisement for GNAT Pro, they might want to put some work
into it.


Albrecht



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

* Re: Installing GNAT GPL 2010 on Vista
  2010-06-25 13:50     ` Albrecht Käfer
@ 2010-06-25 16:07       ` Georg Bauhaus
  2010-06-27  0:09         ` mahdert
  2010-06-30 16:26       ` Albrecht Käfer
  1 sibling, 1 reply; 15+ messages in thread
From: Georg Bauhaus @ 2010-06-25 16:07 UTC (permalink / raw)


On 25.06.10 15:50, Albrecht Käfer wrote:

> Also, while GNAT for .Net tries to integrate with Visual Studio 2010, it
> fails. Somehow. There's an entry for Ada projects, but it doesn't work.
> One wonders if they actually test their (free) products; seeing that they
> are basically advertisement for GNAT Pro, they might want to put some work
> into it.

The announcement says,

"Support for Visual Studio 2008 for the .NET Framework"

(Which reminds me that once I have a new hard drive I might
consider upgrading from VS 2005 to VS 2008.  But since the MS hotfix
supposedly addressing a font installation issue for Office 2010
makes the .NET 4 client upgrade fail, thus forcing removal of
file protection (ACLs?) from system (font) files, I'd rather not
touch a Windows system more than needed ... ;-)





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

* Re: Installing GNAT GPL 2010 on Vista
  2010-06-25 16:07       ` Georg Bauhaus
@ 2010-06-27  0:09         ` mahdert
  2010-06-27 14:36           ` Peter C. Chapin
  0 siblings, 1 reply; 15+ messages in thread
From: mahdert @ 2010-06-27  0:09 UTC (permalink / raw)


I just installed GNAT GPL on windows 7 and it works fine.



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

* Re: Installing GNAT GPL 2010 on Vista
  2010-06-27  0:09         ` mahdert
@ 2010-06-27 14:36           ` Peter C. Chapin
  2010-06-28 20:24             ` mahdert
  2010-06-29  1:03             ` Paul
  0 siblings, 2 replies; 15+ messages in thread
From: Peter C. Chapin @ 2010-06-27 14:36 UTC (permalink / raw)


On 2010-06-26 20:09, mahdert wrote:

> I just installed GNAT GPL on windows 7 and it works fine.

Did you do that installation as an "ordinary" user or did you run the
installer as an administrator?

I'm just asking because I anticipate getting a new Windows 7 machine in
a couple of weeks and of course one of the first things going on it will
be GNAT GPL 2010. :)

Peter



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

* Re: Installing GNAT GPL 2010 on Vista
  2010-06-27 14:36           ` Peter C. Chapin
@ 2010-06-28 20:24             ` mahdert
  2010-06-29  1:03             ` Paul
  1 sibling, 0 replies; 15+ messages in thread
From: mahdert @ 2010-06-28 20:24 UTC (permalink / raw)


On Jun 27, 10:36 am, "Peter C. Chapin" <pcc482...@gmail.com> wrote:
> On 2010-06-26 20:09, mahdert wrote:
>
> > I just installed GNAT GPL on windows 7 and it works fine.
>
> Did you do that installation as an "ordinary" user or did you run the
> installer as an administrator?
>
> I'm just asking because I anticipate getting a new Windows 7 machine in
> a couple of weeks and of course one of the first things going on it will
> be GNAT GPL 2010. :)
>
> Peter

I installed it as an administrator. With all the other languages it
supports they have, it took a little while to get the correct settings
to compile and run ADA code but after that, its been running fine.




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

* Re: Installing GNAT GPL 2010 on Vista
  2010-06-27 14:36           ` Peter C. Chapin
  2010-06-28 20:24             ` mahdert
@ 2010-06-29  1:03             ` Paul
  2010-06-29  4:49               ` Albrecht Käfer
  1 sibling, 1 reply; 15+ messages in thread
From: Paul @ 2010-06-29  1:03 UTC (permalink / raw)


Peter C. Chapin wrote:

> On 2010-06-26 20:09, mahdert wrote:
> 
> > I just installed GNAT GPL on windows 7 and it works fine.
> 
> Did you do that installation as an "ordinary" user or did you run the
> installer as an administrator?
> 
> I'm just asking because I anticipate getting a new Windows 7 machine
> in a couple of weeks and of course one of the first things going on
> it will be GNAT GPL 2010. :)
> 
> Peter


I had the same problem as others reported with the HKLM (registry mod?)
error and used the "Run as administrator" option from the right mouse
button popup menu.  Seemed strange to me as I'm the only user for this
system and my user id has administrator status.

My biggest problem was getting the linker to work with GTKADA libraries
and I recall I had much the same problem with GPL2009.  I still had my
2009 GNAT install and I returned to that and things worked fine.  This
morning I tried again with the GPL2010 version and it all worked.  So
I'm not sure exactly what the problem was but I suggest installing GNAT
first and then rebooting before installing the other components.

The only other problem I had was GPS finding the GTKADA.GPR file.  In
the 2009 version I only needed "with "GTKADA.GPR"" in the project file
but in the 2010 version I needed to provide the full path to
GTKADA.GPR.  In my case it was "with
"e:\gnat\2010\lib\gnat\gtkada.gpr"".

Perhaps I've corrupted something in the GPS configuration files having
two versions installed.

I haven't tried the win32 component because my current project doesn't
use it.  While I was trying to get the GTKADA linking issue solved I
fiddled with the environments paths and other settings but in the end I
only needed the GNAT bin directory in the PATH environment variable.
This was the same for my GPL2009 install.


Paul

-- 




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

* Re: Installing GNAT GPL 2010 on Vista
  2010-06-29  1:03             ` Paul
@ 2010-06-29  4:49               ` Albrecht Käfer
  2010-06-29  6:34                 ` casp_1986
  0 siblings, 1 reply; 15+ messages in thread
From: Albrecht Käfer @ 2010-06-29  4:49 UTC (permalink / raw)


On Tue, 29 Jun 2010 03:03:55 +0200, Paul <pcas1986@bigpond.net.au> wrote:
> I had the same problem as others reported with the HKLM (registry mod?)
> error and used the "Run as administrator" option from the right mouse
> button popup menu.  Seemed strange to me as I'm the only user for this
> system and my user id has administrator status.

Ah, but with default settings, the administrators are running with
Standard User status unless explicitly elevated. One of the new security
features of Vista, since people still run as administrator for day-to-day
work for no good reason.

If you don't like that, lower your UAC setting and enjoy your malware.


Albrecht



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

* Re: Installing GNAT GPL 2010 on Vista
  2010-06-29  4:49               ` Albrecht Käfer
@ 2010-06-29  6:34                 ` casp_1986
  0 siblings, 0 replies; 15+ messages in thread
From: casp_1986 @ 2010-06-29  6:34 UTC (permalink / raw)


On Jun 29, 2:49 pm, Albrecht Käfer <albrecht_kae...@yahoo.de> wrote:
> On Tue, 29 Jun 2010 03:03:55 +0200, Paul <pcas1...@bigpond.net.au> wrote:
> > I had the same problem as others reported with the HKLM (registry mod?)
> > error and used the "Run as administrator" option from the right mouse
> > button popup menu.  Seemed strange to me as I'm the only user for this
> > system and my user id has administrator status.
>
> Ah, but with default settings, the administrators are running with
> Standard User status unless explicitly elevated. One of the new security
> features of Vista, since people still run as administrator for day-to-day
> work for no good reason.
>
> If you don't like that, lower your UAC setting and enjoy your malware.
>
> Albrecht

Well I'm not going to do that :o)  I haven't paid any attention to UAC
before so thank you for the info.  Dare I say it but Windows seems to
be moving in the same direction as Linux for security.  I find Linux
file permissions somewhat irritating at times but then Windows, in a
standalone - non server role, had little or no security in the past.

On a positive note I have found nice stuff in the latest GPL GPS
version such as hotlinks to declarations and bodies.  Perhaps they
were always there but their Tip of the Day pointed some out to me.
Hopefully Adacore haved fixed the bug that occasionally prevented
saving files using the "Save as" option.  Though I suspect Windows 7
had a part in that problem.  The same problem also showed up
occasionally when trying to add files to a project.

Paul



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

* Re: Installing GNAT GPL 2010 on Vista
  2010-06-25 13:50     ` Albrecht Käfer
  2010-06-25 16:07       ` Georg Bauhaus
@ 2010-06-30 16:26       ` Albrecht Käfer
  1 sibling, 0 replies; 15+ messages in thread
From: Albrecht Käfer @ 2010-06-30 16:26 UTC (permalink / raw)


On Fri, 25 Jun 2010 15:50:37 +0200, Albrecht Käfer
<albrecht_kaefer@yahoo.de> wrote:
> Also, while GNAT for .Net tries to integrate with Visual Studio 2010, it
> fails. Somehow. There's an entry for Ada projects, but it doesn't work.
> One wonders if they actually test their (free) products; seeing that they
> are basically advertisement for GNAT Pro, they might want to put some
> work into it.

Update: GNAT for .Net did correctly integrate with Visual Studio 2008 on
Windows Server 2003 R2 Standard 32-bit. That is good to know.


Albrecht



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

end of thread, other threads:[~2010-06-30 16:26 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-24 19:24 Installing GNAT GPL 2010 on Vista Alex Mentis
2010-06-24 23:55 ` Albrecht Käfer
2010-06-25 12:06   ` Alex Mentis
2010-06-25 13:50     ` Albrecht Käfer
2010-06-25 16:07       ` Georg Bauhaus
2010-06-27  0:09         ` mahdert
2010-06-27 14:36           ` Peter C. Chapin
2010-06-28 20:24             ` mahdert
2010-06-29  1:03             ` Paul
2010-06-29  4:49               ` Albrecht Käfer
2010-06-29  6:34                 ` casp_1986
2010-06-30 16:26       ` Albrecht Käfer
2010-06-25  9:45 ` Mark Lorenzen
2010-06-25 10:36   ` Albrecht Käfer
2010-06-25 13:32     ` Mark Lorenzen

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