Re: [HACKERS] Windows build issues

2011-05-10 Thread Brar Piening
On Wed, 11 May 2011 06:15:08 +0200, Brar Piening wrote: I've updated the patch once again to reflect the fixes to pgbison.bat in my alternative pgbison.pl Actually not pgbison but pgflex -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscrip

Re: [HACKERS] Windows build issues

2011-05-10 Thread Brar Piening
On Wed, 06 Apr 2011 22:07:52 +0200, Brar Piening wrote: On Wed, 06 Apr 2011 20:04:37 +0200, Brar Piening wrote: It's not ready yet but I'm prepared to get back to it as soon as there's some serious interest. I've updated the patch once again to reflect the fixes to pgbison.bat in my alt

Re: [HACKERS] Windows build issues

2011-04-15 Thread Magnus Hagander
On Fri, Apr 15, 2011 at 15:57, Alvaro Herrera wrote: > Excerpts from Magnus Hagander's message of vie abr 15 10:35:44 -0300 2011: >> On Thu, Apr 14, 2011 at 00:14, Brar Piening wrote: > >> > The problem with VS 2010 (and the associated Windows SDK's) is the fact >> > that >> > MS dropped VCBuild

Re: [HACKERS] Windows build issues

2011-04-15 Thread Alvaro Herrera
Excerpts from Magnus Hagander's message of vie abr 15 10:35:44 -0300 2011: > On Thu, Apr 14, 2011 at 00:14, Brar Piening wrote: > > The problem with VS 2010 (and the associated Windows SDK's) is the fact that > > MS dropped VCBuild.exe and now uses MSBuild.exe to build Visual C++ Projects > > so

Re: [HACKERS] Windows build issues

2011-04-15 Thread Magnus Hagander
On Thu, Apr 14, 2011 at 00:14, Brar Piening wrote: > On Wed, 13 Apr 2011 10:45:25 +0200, Magnus Hagander > wrote: >> >> So per your experience, all we really need to do is to define what the >> *max* level of the Windows SDK we can use is, to make sure people >> don't get the VS2010 compiler inst

Re: [HACKERS] Windows build issues

2011-04-13 Thread Brar Piening
On Wed, 13 Apr 2011 10:45:25 +0200, Magnus Hagander wrote: So per your experience, all we really need to do is to define what the *max* level of the Windows SDK we can use is, to make sure people don't get the VS2010 compiler instead? (And adding the note that VS2010 isn't supported with or wi

Re: [HACKERS] Windows build issues

2011-04-13 Thread Magnus Hagander
On Tue, Apr 12, 2011 at 22:36, Brar Piening wrote: > On Tue, 12 Apr 2011 08:51:57 -0400, Andrew Dunstan > wrote: >>> >>> that's in the SDK? If not, I still think that should be our primary >>> option - I certainly don't see how it's obsolete. (and you can, >>> afaics, still get the platform sdk w

Re: [HACKERS] Windows build issues

2011-04-12 Thread Brar Piening
On Tue, 12 Apr 2011 08:51:57 -0400, Andrew Dunstan wrote: that's in the SDK? If not, I still think that should be our primary option - I certainly don't see how it's obsolete. (and you can, afaics, still get the platform sdk with the correct version of the compiler (non-vs2010), but I haven't te

Re: [HACKERS] Windows build issues

2011-04-12 Thread Magnus Hagander
On Tue, Apr 12, 2011 at 14:51, Andrew Dunstan wrote: > > > On 04/12/2011 08:23 AM, Magnus Hagander wrote: >> >> On Mon, Apr 11, 2011 at 22:16, Peter Eisentraut  wrote: >>> >>> On tor, 2011-04-07 at 16:20 -0400, Robert Haas wrote: It sure would be nice if someone would write a doc patch,

Re: [HACKERS] Windows build issues

2011-04-12 Thread Andrew Dunstan
On 04/12/2011 08:23 AM, Magnus Hagander wrote: On Mon, Apr 11, 2011 at 22:16, Peter Eisentraut wrote: On tor, 2011-04-07 at 16:20 -0400, Robert Haas wrote: It sure would be nice if someone would write a doc patch, or at least a wiki page, explaining all the permutations here... I get the im

Re: [HACKERS] Windows build issues

2011-04-12 Thread Magnus Hagander
On Mon, Apr 11, 2011 at 22:16, Peter Eisentraut wrote: > On tor, 2011-04-07 at 16:20 -0400, Robert Haas wrote: >> It sure would be nice if someone would write a doc patch, or at least >> a wiki page, explaining all the permutations here...  I get the >> impression it's not that hard to set up if y

Re: [HACKERS] Windows build issues

2011-04-11 Thread Peter Eisentraut
On tor, 2011-04-07 at 16:20 -0400, Robert Haas wrote: > It sure would be nice if someone would write a doc patch, or at least > a wiki page, explaining all the permutations here... I get the > impression it's not that hard to set up if you are reasonable > comfortable working in a Windows environm

Re: [HACKERS] Windows build issues

2011-04-07 Thread Robert Haas
On Thu, Apr 7, 2011 at 4:11 PM, Peter Eisentraut wrote: > On tor, 2011-04-07 at 09:26 +0100, Dave Page wrote: >> On Wed, Apr 6, 2011 at 6:47 PM, Andrew Dunstan wrote: >> > >> > >> > On 04/06/2011 01:34 PM, Dave Page wrote: >> >> >> >> On Wed, Apr 6, 2011 at 6:27 PM, Peter Eisentraut  wrote: >> >>

Re: [HACKERS] Windows build issues

2011-04-07 Thread Magnus Hagander
On Thu, Apr 7, 2011 at 22:11, Peter Eisentraut wrote: > On tor, 2011-04-07 at 09:26 +0100, Dave Page wrote: >> On Wed, Apr 6, 2011 at 6:47 PM, Andrew Dunstan wrote: >> > >> > >> > On 04/06/2011 01:34 PM, Dave Page wrote: >> >> >> >> On Wed, Apr 6, 2011 at 6:27 PM, Peter Eisentraut  wrote: >> >>>

Re: [HACKERS] Windows build issues

2011-04-07 Thread Peter Eisentraut
On tor, 2011-04-07 at 09:26 +0100, Dave Page wrote: > On Wed, Apr 6, 2011 at 6:47 PM, Andrew Dunstan wrote: > > > > > > On 04/06/2011 01:34 PM, Dave Page wrote: > >> > >> On Wed, Apr 6, 2011 at 6:27 PM, Peter Eisentraut wrote: > >>> > >>> * I have some doubts about whether the SDK is at all

Re: [HACKERS] Windows build issues

2011-04-07 Thread Peter Eisentraut
Another issue: ...\src\tools\msvc>install "foo bar" bar""=="" was unexpected at this time. This makes it seemingly impossible to install into a standard location such as under "C:\Program Files\". -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your sub

Re: [HACKERS] Windows build issues

2011-04-07 Thread Dave Page
On Wed, Apr 6, 2011 at 6:47 PM, Andrew Dunstan wrote: > > > On 04/06/2011 01:34 PM, Dave Page wrote: >> >> On Wed, Apr 6, 2011 at 6:27 PM, Peter Eisentraut  wrote: >>> >>>      * I have some doubts about whether the SDK is at all needed or >>>        whether it would suffice by itself.  I went wit

Re: [HACKERS] Windows build issues

2011-04-06 Thread Andrew Dunstan
On 04/06/2011 01:47 PM, Andrew Dunstan wrote: On 04/06/2011 01:34 PM, Dave Page wrote: On Wed, Apr 6, 2011 at 6:27 PM, Peter Eisentraut wrote: * I have some doubts about whether the SDK is at all needed or whether it would suffice by itself. I went with Visual Studio

Re: [HACKERS] Windows build issues

2011-04-06 Thread Brar Piening
On Wed, 06 Apr 2011 20:04:37 +0200, Brar Piening wrote: It's not ready yet but I'm prepared to get back to it as soon as there's some serious interest. I've rebased the patch in case somebody wants to try it. http://www.piening.info/VS2010v5.patch Regards, Brar -- Sent via pgsql-hackers

Re: [HACKERS] Windows build issues

2011-04-06 Thread Brar Piening
On Wed, 06 Apr 2011 20:27:22 +0300, Peter Eisentraut wrote: I got it to build now. Here are is a list of notes that would make life easier for future generations: You might also want to have a look at my VS2010 patch as it already touches some of those issues. https://commitfest.postgresq

Re: [HACKERS] Windows build issues

2011-04-06 Thread Andrew Dunstan
On 04/06/2011 01:34 PM, Dave Page wrote: On Wed, Apr 6, 2011 at 6:27 PM, Peter Eisentraut wrote: * I have some doubts about whether the SDK is at all needed or whether it would suffice by itself. I went with Visual Studio Express 2008. The SDK is needed with 2008 Expre

Re: [HACKERS] Windows build issues

2011-04-06 Thread Dave Page
On Wed, Apr 6, 2011 at 6:27 PM, Peter Eisentraut wrote: > >      * I have some doubts about whether the SDK is at all needed or >        whether it would suffice by itself.  I went with Visual Studio >        Express 2008. The SDK is needed with 2008 Express, but not the non-express version. The

Re: [HACKERS] Windows build issues

2011-04-06 Thread Peter Eisentraut
On sön, 2011-04-03 at 16:04 +0200, Magnus Hagander wrote: > > The documentation appears to claim that the Platform/Windows SDK without > > any Visual Studio should be enough. Is there also an upper limit on the > > supported SDK version then? > > It certainly used to be enough, so I guess if they

Re: [HACKERS] Windows build issues

2011-04-03 Thread Magnus Hagander
On Thu, Mar 31, 2011 at 22:10, Peter Eisentraut wrote: > On tor, 2011-03-31 at 16:00 -0400, Andrew Dunstan wrote: >> >> On 03/31/2011 03:38 PM, Peter Eisentraut wrote: >> > So is 2010 supported, and where is the vcbuild program supposed to come >> > from? >> > >> >> >> Not that I know of. But VS 2

Re: [HACKERS] Windows build issues

2011-03-31 Thread Peter Eisentraut
On tor, 2011-03-31 at 16:00 -0400, Andrew Dunstan wrote: > > On 03/31/2011 03:38 PM, Peter Eisentraut wrote: > > So is 2010 supported, and where is the vcbuild program supposed to come > > from? > > > > > Not that I know of. But VS 2008 is, and should be readily available. In > fact, I recently

Re: [HACKERS] Windows build issues

2011-03-31 Thread Magnus Hagander
On Thu, Mar 31, 2011 at 22:00, Andrew Dunstan wrote: > > > On 03/31/2011 03:38 PM, Peter Eisentraut wrote: >> >> So is 2010 supported, and where is the vcbuild program supposed to come >> from? >> > > > Not that I know of. But VS 2008 is, and should be readily available. In > fact, I recently made

Re: [HACKERS] Windows build issues

2011-03-31 Thread Dave Page
No, 2010 is not yet supported, though I beleive some initial work was done. I'm intending to work on it for 9.2. On 3/31/11, Peter Eisentraut wrote: > I was trying to build the Windows msvc build for the first time and ran > into some issues. > > The documentation talks about obtaining and using

Re: [HACKERS] Windows build issues

2011-03-31 Thread Andrew Dunstan
On 03/31/2011 03:38 PM, Peter Eisentraut wrote: So is 2010 supported, and where is the vcbuild program supposed to come from? Not that I know of. But VS 2008 is, and should be readily available. In fact, I recently made patches to allow it to to be used to build all the live branches. c