Re: msvc and vista fun

From: Mark Cave-Ayland <mark(dot)cave-ayland(at)ilande(dot)co(dot)uk>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: msvc and vista fun
Date: 2007-06-25 19:18:17
Message-ID: 1182799097.5503.2.camel@mca-desktop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Sun, 2007-06-24 at 13:23 -0400, Andrew Dunstan wrote:

(cut)

> 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. If I then
> switch to the non-admin user, it can run initdb just fine. However, that
> user can't build, because it gets a mysterious failure from mt.exe.
> MinGW is even worse - it says it can't run gcc because it can't run
> cc1.exe (IIRC), so it fails at the configure stage! All of this has cost
> me quite a few hours in the last week, with very little to show for it.

Hi Andrew,

This has come up quite recently on the MingW lists - see
http://sourceforge.net/mailarchive/forum.php?thread_name=00fc01c7a0af%
240a037c30%240200a8c0%40AMD2500&forum_name=mingw-users for a discussion
of the problem and solution.

Kind regards,

Mark.

--
ILande - Open Source Consultancy
http://www.ilande.co.uk

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-06-25 19:28:53 Re: msvc and vista fun
Previous Message Tom Lane 2007-06-25 19:14:27 Re: Frustrating issue with PGXS

Browse pgsql-patches by date

  From Date Subject
Next Message Heikki Linnakangas 2007-06-25 19:26:08 Re: Load Distributed Checkpoints, take 3
Previous Message Alvaro Herrera 2007-06-25 19:02:40 remove SIBackendInit return value