Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyD6t-0004oY-PP for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Jan 2013 03:04:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TyD6s-00042N-Tt for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Jan 2013 03:04:14 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyD6r-00042H-6u for pgsql-hackers@postgresql.org; Thu, 24 Jan 2013 03:04:13 +0000 Received: from outmail149113.authsmtp.com ([62.13.149.113]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyD6o-0004fw-Lk for pgsql-hackers@postgresql.org; Thu, 24 Jan 2013 03:04:11 +0000 Received: from mail-c233.authsmtp.com (mail-c233.authsmtp.com [62.13.128.233]) by punt5.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id r0O345ML015759; Thu, 24 Jan 2013 03:04:05 GMT Received: from ayaki.localdomain (124-169-51-27.dyn.iinet.net.au [124.169.51.27]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id r0O33uQG011941 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 24 Jan 2013 03:04:00 GMT Message-ID: <5100A49B.4080404@2ndQuadrant.com> Date: Thu, 24 Jan 2013 11:03:55 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Noah Misch CC: Andrew Dunstan , Brar Piening , Heikki Linnakangas , Magnus Hagander , pgsql-hackers Subject: Re: Visual Studio 2012 RC 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> In-Reply-To: <20130124013825.GA29954@tornado.leadboat.com> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Server-Quench: b5137432-65d2-11e2-a49c-0025907707a1 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZeVg0b BQteCiN5VAwpPBRK HVkIKg5MJUcNSQVJ NksacBtFagFbZ1hf HGQLWldEUF57WWd/ awkfbAdZfEtIVhtv UVZLRU1QEQdtHh1P RB5hURo3FnJGeX95 YUcsX3ZSWUA0J0N8 QUlQFm8bY2I0an0e URVaalJQeVBXfh9H b1l/U3QNZjQGKBg1 TUcAHxkaHhhlExEd fAAWMFsWCX0XAzI9 QFhYRWx1VXcuLwAA X-Authentic-SMTP: 61633235383639.1021:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 124.169.51.27/2525 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org 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 Interesting. The Framework64 directory is added to the PATH by vcvarsall.bat from VS 2012. I suspect what's happening is that VS assumes that if there's a Framework64 directory, it contains 64-bit compilers and tools from VS 2012. In my case, I have 64-bit tools from Windows SDK 7.1, but VS Express 2012 doesn't include a 64-bit toolset (only a cross-compiler) so the corresponding ones from 2012 aren't there. Alternately, the Windows SDK 8 installer may have installed the .NET Framework 4.5 64-bit components, and VS 2012 might not be expecting them. All this stuff is a terrifying pile of underdocumented hacks and mess upon hacks and mess, so it wouldn't be particularly surprising. If I manually prepend c:\Windows\Microsoft.NET\Framework\v4.0.30319 to the PATH I get a successful build and vcregress check passes. I'll just have a quick read of the patch but so far it looks good to me. -- 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