Re: msvc and vista fun

From: Andrei Kovalevski <andyk(at)commandprompt(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: msvc and vista fun
Date: 2007-07-24 21:33:32
Message-ID: 46A6702C.5090708@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Andrew Dunstan wrote:
> Dave Page wrote:
>> Andrew Dunstan wrote:
>>> On a somewhat related note, I have had spectacular lack of success
>>> in getting either MSVC or MinGW builds to work on Vista - so much so
>>> that I have currently abandoned my attempts on that platform and I
>>> resorted to resuscitating an old XP box for testing. Following some
>>> advice from Magnus, I added ACLs to the build root for both an admin
>>> and a non-admin user (cacls buildroot /E /T /G AdminUser:C and
>>> similarly for a non-admin user) . I can build as the admin user but
>>> when I come to run initdb it fails, complaining that it can't find
>>> the postgres executable.
>> Yeah, I ran into that problem as well. I'll look at my Vista box when
>> I'm in the office tomorrow and see if I can figure out what hack
>> fixed it for me.
>
> I have never heard back on this, AFAIK. If anyone has instructions on
> how to manage this please let me know. My current status with
> MSVC/vista is still that I can build but not run as an admin user, and
> run but not build as a non-admin user. Bleah.
>
> cheers
>
> andrew
Described situation looks like you are trying to run initdb under Admin
account. This will happen even if currently logged user in not admin,
but initdb has property 'run as administrator' set or you are trying to
run it under some file commander which is running in admin mode.

Andrei.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-07-24 21:34:10 Re: DLLIMPORT definition
Previous Message Magnus Hagander 2007-07-24 20:55:50 Re: Kerberos warnings on win32

Browse pgsql-patches by date

  From Date Subject
Next Message Gregory Stark 2007-07-24 21:37:43 Re: Async Commit, v21 (now: v22)
Previous Message Simon Riggs 2007-07-24 21:24:45 Re: Async Commit, v21 (now: v22)