@@ -15,61 +15,74 @@ It can be done by done by typing configure, make and make install.
15152. Update to EGCS 1.1.2
1616 (This may be optional.)
1717
18+ ---------------------------------------------------------------------------
19+
20+ OPTIONAL
21+
18221. Install the Andy Piper Tools (http://www.xemacs.freeserve.co.uk/)
1923 (This may be optional.)
2024
25+ ---------------------------------------------------------------------------
26+
27+ CYGWIN32 INSTALLATION
28+
21291. Download the Cygwin32 IPC Package by Ludovic LANGE
2230 http://www.multione.capgemini.fr:80/tools/pack_ipc/current.tar.gz
23312. Untar the package and follow the readme instructions.
24- 2a . Apply the patch fromsrc/win32/ipc.patch
25- 3 . I tested 1.03.
26- 4 . I used the \cygwin-b20\h-i568-cygwin32\i586-cygwin32\lib and
32+ 3 . Apply the patch fromthe file.
33+ 4 . I tested 1.03.
34+ 5 . I used the \cygwin-b20\h-i568-cygwin32\i586-cygwin32\lib and
2735\cygwin-b20\h-i568-cygwin32\i586-cygwin32\include\sys instead of the
2836/usr/local/lib and usr/local/include/sys.
2937
38+ NOTE:
39+ Also, the cygnus-bindir has to be placed in the path before the
40+ NT-directories, because the sort.exe has to be taken for cygnus, not
41+ NT.
42+
43+ ---------------------------------------------------------------------------
44+
45+ POSTGRESQL INSTALL WITH NT SPECIFICS
46+
30471. Download the current version of PostgreSQL.
31482. Untar the package.
32493. Copy the files from \pgsql\src\win32 according to the readme file.
33- 3 . Edit \pgsql\src\template\cygwin32 if needed (I had to adjust the YFLAGS
50+ 4 . Edit \pgsql\src\template\cygwin32 if needed (I had to adjust the YFLAGS
3451path).
35- 4 . ./configure
36- 5 . make
37- 6 . create the directory /usr/local/pgsql manually: the mkdir cannot create a
52+ 5 . ./configure
53+ 6 . make
54+ 7 . create the directory /usr/local/pgsql manually: the mkdir cannot create a
3855directory 2 levels deep in one step.
39- 7 . make install
40- 8 . cd /usr/lical/pgsql/doc
41- 9 . make install
42- 10 . Set the environmental data
43- 11 . Initdb --username=jkr (do not run this command as administrator)
56+ 8 . make install
57+ 9 . cd /usr/lical/pgsql/doc
58+ 10 . make install
59+ 11 . Set the environmental data
60+ 12 . Initdb --username=jkr (do not run this command as administrator)
4461
45- 12 . Open a new Cygwin command prompt
46- 13 . Start "ipc-deamon&" (background proces)
47- 14 . Start "postmaster -i 2>&1 > /tmp/postgres.log &" (background proces)
48- 15 . Start "tail -f /tmp/postgres.log" to see the messages
62+ 13 . Open a new Cygwin command prompt
63+ 14 . Start "ipc-deamon&" (background proces)
64+ 15 . Start "postmaster -i 2>&1 > /tmp/postgres.log &" (background proces)
65+ 16 . Start "tail -f /tmp/postgres.log" to see the messages
4966
50- 16 . cd /usr/src/pgsql/src/test/regress
51- 17 . make all runtest
67+ 17 . cd /usr/src/pgsql/src/test/regress
68+ 18 . make all runtest
5269
5370All test should be run, allthought the latest snapshot I tested (18-4)
5471appears to have some problems with locking.
5572
56- Joost
57-
58- [Added by bjm]
59-
60- By default, PostgreSQL clients like psql communicate by default using
61- unix domain sockets, which don't work on NT. Start the postmaster with
62- -i, and when connecting to the database from a client, set the PGHOST
73+ NOTE:
74+ By default, PostgreSQL clients like psql communicate using unix domain
75+ sockets, which don't work on NT. Start the postmaster with -i, and
76+ when connecting to the database from a client, set the PGHOST
6377environment variable to 'localhost' or supply the hostname on the
6478command line.
6579
66- Also, the cygnus-bindir has to be placed in the path before the
67- NT-directories, because the sort.exe has to be take for cygnus, not
68- NT.
80+ Joost
81+
6982
7083---------------------------------------------------------------------------
7184
72- FIX FOR POSTGRESQL FREEZING ON NT MACHINES
85+ FIX FOR POSTGRESQL FREEZING ON NT MACHINES - EVERYONE SHOULD APPLY THIS PATCH
7386
7487
7588From: "Hiroshi Inoue" <Inoue@tpf.co.jp>