Re: [PATCHES] README for vcbuild

2007-01-08 Thread Tom Lane
Magnus Hagander <[EMAIL PROTECTED]> writes:
>>> Attached is a simple README file (part from Dave P, if my memory is not
>>> mistaken) for the vcbuild stuff. Please put in src/tools/msvc.

Applied, with Mark K's fix and a bit of polishing of my own.

regards, tom lane

---(end of broadcast)---
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate


Re: [PATCHES] README for vcbuild

2007-01-08 Thread Mark Kirkwood

Magnus Hagander wrote:



Note that PostgreSQL builds natively with Visual C++. You must *there for*
make sure that you do *NOT* have any tools from Cygwin or Mingw available
in the system PATH. Also, make sure you don't have any Cygwin/Mingw
environment variables "leaking" through.




Little typo:

Note that PostgreSQL builds natively with Visual C++. You must 
*therefore* ...


Cheers

Mark

---(end of broadcast)---
TIP 3: Have you checked our extensive FAQ?

  http://www.postgresql.org/docs/faq


Re: [PATCHES] README for vcbuild

2007-01-08 Thread Magnus Hagander
Neil Conway wrote:
> Magnus Hagander wrote:
>> Attached is a simple README file (part from Dave P, if my memory is not
>> mistaken) for the vcbuild stuff. Please put in src/tools/msvc.
> 
> No file attached, AFAICS.

Argh. You're right of course. Here it is.

//Magnus
This directory contains the tools required to build PostgreSQL using
Microsoft Visual Studio 2005.

Note that PostgreSQL builds natively with Visual C++. You must there for
make sure that you do *NOT* have any tools from Cygwin or Mingw available
in the system PATH. Also, make sure you don't have any Cygwin/Mingw
environment variables "leaking" through.


First, edit config.pl to reflect what "configure options" you want set.

Then, to build all of PostgreSQL in debug configuration, run the simple
build
command from a Visual Studio Command Prompt (to get all environment
variables set correctly).


To build all of PostgreSQL in release configuration, run
build RELEASE

To build just a single project, for example psql, run
build psql
or
build RELEASE psql



Dependencies

The following packages are used for the different config options:

pthreads - always required
Download from ftp://sources.redhat.com/pub/pthreads-win32.

flex & bison - required to build from CVS
Download from http://gnuwin32.sourceforge.net. Note that you must not
use bison version 2.0. Use either version 1.875 or version 2.1 or newer.
For flex, use version 2.5.4.

perl - always rquired
Get ActiveState Perl from www.activestate.com

python - required for pl/python
Get from www.python.org

tcl - required for pl/tcl
Get ActiveState TCL from www.activestate.com

openssl - required for SSL support
Get from http://www.slproweb.com/products/Win32OpenSSL.html, or build
from source from www.openssl.org.

zlib - required for compression support
Get from http://www.zlib.net

Kerberos - required for Kerberos support
Get from http://web.mit.edu/Kerberos/dist/index.html


---(end of broadcast)---
TIP 2: Don't 'kill -9' the postmaster


[PATCHES] README for vcbuild

2007-01-08 Thread Magnus Hagander
Attached is a simple README file (part from Dave P, if my memory is not
mistaken) for the vcbuild stuff. Please put in src/tools/msvc.

//Magnus

---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
   subscribe-nomail command to [EMAIL PROTECTED] so that your
   message can get through to the mailing list cleanly