pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@2ndQuadrant.com>
To: Noah Misch <noah@leadboat.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Brar Piening <brar@gmx.de>
Cc: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Visual Studio 2012 RC
Date: Thu, 24 Jan 2013 11:28:35 +0800
Message-ID: <5100AA63.2050604@2ndQuadrant.com> (raw)
In-Reply-To: <20130124013825.GA29954@tornado.leadboat.com>
References: <50526BA6.3030103@gmx.de>
	<20121002011201.GC30396@tornado.leadboat.com>
	<507B2B0A.2030506@gmx.de>
	<20121015115351.GC4627@tornado.leadboat.com>
	<20130101025421.GA17763@tornado.leadboat.com>
	<50FD0B35.3020503@2ndQuadrant.com>
	<50FD3840.8010700@dunslane.net>
	<50FD3D5B.9040506@2ndQuadrant.com>
	<50FF7FD0.7050705@2ndQuadrant.com>
	<50FF897B.2050603@2ndQuadrant.com>
	<20130124013825.GA29954@tornado.leadboat.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 01/24/2013 09:38 AM, Noah Misch wrote:
> The most notable difference is that I have no pre-VS2012 Microsoft
> compilers installed and no SDKs installed by my explicit action. I
> suggest assessing how the Framework64 directories get into your path
> and trying without them. nm 
A further update on this:

C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat

calls:

C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\vcvars32.bat

which in turn runs:

@call "%VS110COMNTOOLS%VCVarsQueryRegistry.bat" 32bit No64bit

to start:

C:\Program Files (x86)\Microsoft Visual Studio
11.0\Common7\Tools\VCVarsQueryRegistry.bat

When I run this directly with the same arguments it adds to the environment:

Framework35Version=v3.5
FrameworkDIR32=c:\Windows\Microsoft.NET\Framework64\
FrameworkVersion32=v4.0.30319

which is pretty clearly bogus.

It looks like the script calls the subproc :GetFrameworkDir32Helper32 HKLM

which does:

reg query "HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VC7" /v "FrameworkDir32

resulting in:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\SxS\VC7
    FrameworkDir32    REG_SZ    c:\Windows\Microsoft.NET\Framework64\

.... which seems wrong. So it's clear that something's dodgy in how the
various Microsoft tools have installed themselves, and it's nothing to
do with your patch.


Have you verified that 64-bit builds work? I'm testing now, but I've
just confirmed that my machine isn't quite right.

-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (54+ messages)  latest in thread

Message-ID: <5100AA63.2050604@2ndQuadrant.com>
Permalink:  ../5100AA63.2050604@2ndQuadrant.com/
Also on:    postgresql.org/message-id/5100AA63.2050604@2ndQuadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: craig@2ndQuadrant.com, noah@leadboat.com, andrew@dunslane.net, brar@gmx.de, hlinnakangas@vmware.com, magnus@hagander.net
  Subject: Re: Visual Studio 2012 RC
  In-Reply-To: <5100AA63.2050604@2ndQuadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox