From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Andrei Kovalevski <andyk(at)commandprompt(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: msvc and vista fun |
Date: | 2007-07-24 21:47:31 |
Message-ID: | 46A67373.7000408@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Andrei Kovalevski wrote:
> 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.
>
>
No it doesn't. Please read again. As a non-admin user I *can* run. I
just can't build. As an admin user I can build, but I can't run (and I
should be able to run).
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Ince | 2007-07-24 23:18:48 | embed postgres |
Previous Message | Tom Lane | 2007-07-24 21:34:10 | Re: DLLIMPORT definition |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-07-24 21:53:34 | Re: Async Commit, v21 (now: v22) |
Previous Message | Gregory Stark | 2007-07-24 21:37:43 | Re: Async Commit, v21 (now: v22) |