On Mon, Jan 21, 2013 at 05:32:37PM +0800, Craig Ringer wrote:
> On 01/01/2013 10:54 AM, Noah Misch wrote:
> > Tester warning: if you currently have some form of VS2010 installed, 
> > including
> > the compilers of Windows SDK 7.1, beware of this problem:
> > http://stackoverflow.com/questions/10888391/link-fatal-error-lnk1123-failure-during-conversion-to-coff-file-invalid-or-c
> FYI, you can properly fix this without uninstalling anything, giving you
> a system with a working VS 2012 as well as working SDK 7.1 / VS 2010 SP1
> 32-bit and 64-bit compilers.
> 
> Install the tools in the following order:
> 
> * VS Express 2010:
> http://www.microsoft.com/visualstudio/eng/products/visual-studio-2010-express
> * Windows SDK 7.1
> * VS 2010 SP1: http://www.microsoft.com/en-au/download/details.aspx?id=23691
> * VS 2010 SP1 Compiler Update:
> http://www.microsoft.com/en-au/download/details.aspx?id=4422
> * VS Express 2012
> 
> Note that SDK 7.1 and VS 2010 will fail to install if you have a newer
> version of the Visual c++ 2010 runtime installed. Newer programs often
> install this for you. As a workaround, you must uninstall the newer
> runtime, install Visual Studio, the SDK, and service pack, then
> reinstall the newer runtime to get the programs that require it to work
> again.
> 
> I've written more about both of these in the TROUBLESHOOTING section of
> https://github.com/2ndQuadrant/pg_build_win/blob/master/README.md

What fun.  Thanks for working that out.


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

Reply via email to