~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to doc/src/FAQ/FAQ_MINGW.html

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
  <meta http-equiv="content-type"
 
5
 content="text/html; charset=ISO-8859-1">
 
6
  <title>PostgreSQL Native Win32 Status Report</title>
 
7
</head>
 
8
<body>
 
9
<h1 style="text-align: center;">Compiling PostgreSQL On Native Win32 FAQ<br>
 
10
</h1>
 
11
<P>Last updated: Thu Oct 14 18:22:57 EDT 2004</P>
 
12
<P>Current maintainer: Bruce Momjian (<A href=
 
13
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR>
 
14
</P>
 
15
 
 
16
<P>The most recent version of this document can be viewed at <A href=
 
17
"http://momjian.postgresql.org/main/writings/pgsql/project/win32.html">
 
18
http://momjian.postgresql.org/main/writings/pgsql/project/win32.html</A>.</P>
 
19
 
 
20
<P>The FAQ for running PostgreSQL on native Win32 is at <A href=
 
21
"http://pginstaller.projects.postgresql.org/FAQ_windows.html">
 
22
http://pginstaller.projects.postgresql.org/FAQ_windows.html</A>.</P>
 
23
 
 
24
<p>The native Win32 port is built from source using MinGW tools.&nbsp;
 
25
There is also a precompiled binary installer called <span
 
26
 style="font-style: italic;">pginstaller</span> which you can download
 
27
from <a href="http://pgfoundry.org/projects/pginstaller">http://pgfoundry.org/projects/pginstaller</a>.&nbsp;
 
28
It is a fully native build and uses no additional software like MinGW.<br>
 
29
</p>
 
30
<h2>Tools for Building Binaries<br>
 
31
</h2>
 
32
<p> The native Win32 port requires a 32-bit NT-based Microsoft
 
33
operating
 
34
system, like Windows NT 4, Windows 2000/2003, or Windows XP. (NT 4
 
35
doesn't support tablespaces because it doesn't support the junction
 
36
points needed for symlinks.)&nbsp; Earlier
 
37
operating systems do not have sufficient infrastructure. Building the
 
38
port also
 
39
requires MinGW and Msys, which can be downloaded from <a
 
40
 href="http://www.mingw.org/">http://www.mingw.org/</a>. MinGW is
 
41
a Unix-like build environment for Microsoft operating systems.
 
42
Msys is a collection of unix tools required to run shell scripts like <i>configure.&nbsp;
 
43
</i>Neither is required to run the resulting binaries;&nbsp; they are
 
44
needed only for creating the binaries.&nbsp; We have no intention
 
45
of supporting Visual C; their build environment is just too different
 
46
from Unix, and maintenance of such a build environment would be too
 
47
burdensome.<br>
 
48
</p>
 
49
<h2>Steps For Building Binaries<br>
 
50
</h2>
 
51
<ul>
 
52
  <li>Download the nightly snapshot tarball from <a
 
53
 href="ftp://ftp.postgresql.org/pub/dev">ftp://ftp.postgresql.org/pub/dev</a>
 
54
or checkout via CVS (you will need <i>bison, flex,</i> and <i>perl</i>
 
55
installed to build from CVS)<br>
 
56
  </li>
 
57
  <li>Run <i>configure</i> (you might need to add the --without-zlib
 
58
argument, depending on whether you have installed <span
 
59
 style="font-style: italic;">zlib
 
60
    </span>on MinGW)</li>
 
61
  <li>Run <i>make install</i></li>
 
62
</ul>
 
63
Note:&nbsp; it is suggested that you run <i>psql</i> under <i>CMD.EXE.</i>,
 
64
as the Msys console has buffering issues.<br>
 
65
<br>
 
66
If you make a change that you want to contribute, make a context diff
 
67
and send
 
68
it to the mailing list. <br>
 
69
<h2>Access</h2>
 
70
The mailing list for discussion is
 
71
<i>pgsql-hackers-win32@postgresql.org</i>. You can subscribe by sending
 
72
an email body containing the word <i>subscribe</i> to <i><a
 
73
 href="mailto:pgsql-hackers-win32-request@postgresql.org">pgsql-hackers-win32-request@postgresql.org</a></i>.<br>
 
74
<h2>Resources</h2>
 
75
There are several resources that helped us complete this port:<br>
 
76
<ul>
 
77
  <li>PeerDirect port of PostgreSQL 7.2 to Win32 (<a
 
78
 href="ftp://momjian.postgresql.org/pub/postgresql/win32/PeerDirect">ftp://momjian.postgresql.org/pub/postgresql/win32/PeerDirect</a>)</li>
 
79
  <li>CONNX Win32 signal code(<a
 
80
 href="ftp://momjian.postgresql.org/pub/postgresql/win32/CONNX">ftp://momjian.postgresql.org/pub/postgresql/win32/CONNX</a>)</li>
 
81
  <li>SRA port of PostgreSQL to Win32 (unfortunately, this is not
 
82
publically available because the threaded portion is proprietary)</li>
 
83
  <li>CHM help files (<a
 
84
 href="http://www.pgadmin.org/snapshots/help/en_US/pgadmin3.chm">http://www.pgadmin.org/snapshots/help/en_US/pgadmin3.chm</a>)</li>
 
85
</ul>
 
86
</body>
 
87
</html>