Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1A9189FB1D6 for ; Mon, 8 Jan 2007 16:33:20 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 84849-07 for ; Mon, 8 Jan 2007 16:33:01 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from svr2.hagander.net (svr2.hagander.net [88.198.128.226]) by postgresql.org (Postfix) with ESMTP id 971419FB1BC for ; Mon, 8 Jan 2007 16:32:59 -0400 (AST) Received: from [192.168.199.198] (c213-100-160-41.swipnet.se [213.100.160.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by svr2.hagander.net (Postfix) with ESMTP id 785FADCC12B; Mon, 8 Jan 2007 21:32:57 +0100 (CET) Message-ID: <45A2AA82.1040009@hagander.net> Date: Mon, 08 Jan 2007 21:33:06 +0100 From: Magnus Hagander User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Neil Conway , PGSQL-Patches Subject: Re: README for vcbuild References: <45A2A507.1050206@hagander.net> <45A2A91F.6020203@samurai.com> In-Reply-To: <45A2A91F.6020203@samurai.com> X-Enigmail-Version: 0.94.1.2 Content-Type: multipart/mixed; boundary="------------070501040805050502030303" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/141 X-Sequence-Number: 22023 This is a multi-part message in MIME format. --------------070501040805050502030303 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --------------070501040805050502030303 Content-Type: text/plain; name="README" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="README" 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 --------------070501040805050502030303--