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 or flat)
Thread:
Lists: pgsql-hackerspgsql-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

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-2014 The PostgreSQL Global Development Group