Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7d5d06f

Browse files
committed
vcbuild documentation from Magnus and Dave.
1 parentb0452cd commit7d5d06f

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

‎src/tools/msvc/README

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
This directory contains the tools required to build PostgreSQL using
2+
Microsoft Visual Studio 2005.
3+
4+
5+
Note that PostgreSQL builds natively with Visual C++. You must therefore
6+
make sure that you do *NOT* have any tools from Cygwin or Mingw present
7+
in the system PATH. Also, make sure you don't have any Cygwin/Mingw
8+
environment variables "leaking" through.
9+
10+
First, edit config.pl to reflect what "configure options" you want set.
11+
12+
Then, to build all of PostgreSQL in debug configuration, run the command
13+
build
14+
from a Visual Studio Command Prompt (to get all environment
15+
variables set correctly).
16+
17+
To build all of PostgreSQL in release configuration, run
18+
build RELEASE
19+
20+
To build just a single project, for example psql, run
21+
build psql
22+
or
23+
build RELEASE psql
24+
25+
26+
Dependencies
27+
------------
28+
29+
The following packages are needed for the different config options:
30+
31+
pthreads - always required
32+
Download from ftp://sources.redhat.com/pub/pthreads-win32
33+
34+
perl - always required
35+
Get ActiveState Perl from www.activestate.com
36+
37+
flex & bison - required to build from CVS (as opposed to a release tarball)
38+
Download from http://gnuwin32.sourceforge.net. Note that bison version 2.0
39+
will not work. Use either version 1.875, or version 2.1 or newer.
40+
For flex, use version 2.5.4.
41+
42+
python - required for pl/python
43+
Get from www.python.org
44+
45+
tcl - required for pl/tcl
46+
Get ActiveState TCL from www.activestate.com
47+
48+
openssl - required for SSL support
49+
Get from http://www.slproweb.com/products/Win32OpenSSL.html, or build
50+
from source from www.openssl.org.
51+
52+
Kerberos - required for Kerberos support
53+
Get from http://web.mit.edu/Kerberos/dist/index.html
54+
55+
zlib - required for compression support in pg_dump/pg_restore
56+
Get from http://www.zlib.net

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp