Skip site navigation (1) Skip section navigation (2)

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 (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-patches
On Sun, 2007-06-24 at 13:23 -0400, 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. 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
240a037c30%240200a8c0%40AMD2500&forum_name=mingw-users for a discussion
of the problem and solution.

Kind regards,


ILande - Open Source Consultancy

In response to


pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group