Commit 15d1dfcf authored by Bruce Momjian's avatar Bruce Momjian

Update README.NT

parent 7d7fb021
...@@ -15,61 +15,74 @@ It can be done by done by typing configure, make and make install. ...@@ -15,61 +15,74 @@ It can be done by done by typing configure, make and make install.
2. Update to EGCS 1.1.2 2. Update to EGCS 1.1.2
(This may be optional.) (This may be optional.)
---------------------------------------------------------------------------
OPTIONAL
1. Install the Andy Piper Tools (http://www.xemacs.freeserve.co.uk/) 1. Install the Andy Piper Tools (http://www.xemacs.freeserve.co.uk/)
(This may be optional.) (This may be optional.)
---------------------------------------------------------------------------
CYGWIN32 INSTALLATION
1. Download the Cygwin32 IPC Package by Ludovic LANGE 1. Download the Cygwin32 IPC Package by Ludovic LANGE
http://www.multione.capgemini.fr:80/tools/pack_ipc/current.tar.gz http://www.multione.capgemini.fr:80/tools/pack_ipc/current.tar.gz
2. Untar the package and follow the readme instructions. 2. Untar the package and follow the readme instructions.
2a. Apply the patch from src/win32/ipc.patch 3. Apply the patch from the file.
3. I tested 1.03. 4. I tested 1.03.
4. I used the \cygwin-b20\h-i568-cygwin32\i586-cygwin32\lib and 5. I used the \cygwin-b20\h-i568-cygwin32\i586-cygwin32\lib and
\cygwin-b20\h-i568-cygwin32\i586-cygwin32\include\sys instead of the \cygwin-b20\h-i568-cygwin32\i586-cygwin32\include\sys instead of the
/usr/local/lib and usr/local/include/sys. /usr/local/lib and usr/local/include/sys.
NOTE:
Also, the cygnus-bindir has to be placed in the path before the
NT-directories, because the sort.exe has to be taken for cygnus, not
NT.
---------------------------------------------------------------------------
POSTGRESQL INSTALL WITH NT SPECIFICS
1. Download the current version of PostgreSQL. 1. Download the current version of PostgreSQL.
2. Untar the package. 2. Untar the package.
3. Copy the files from \pgsql\src\win32 according to the readme file. 3. Copy the files from \pgsql\src\win32 according to the readme file.
3. Edit \pgsql\src\template\cygwin32 if needed (I had to adjust the YFLAGS 4. Edit \pgsql\src\template\cygwin32 if needed (I had to adjust the YFLAGS
path). path).
4. ./configure 5. ./configure
5. make 6. make
6. create the directory /usr/local/pgsql manually: the mkdir cannot create a 7. create the directory /usr/local/pgsql manually: the mkdir cannot create a
directory 2 levels deep in one step. directory 2 levels deep in one step.
7. make install 8. make install
8. cd /usr/lical/pgsql/doc 9. cd /usr/lical/pgsql/doc
9. make install 10. make install
10. Set the environmental data 11. Set the environmental data
11. Initdb --username=jkr (do not run this command as administrator) 12. Initdb --username=jkr (do not run this command as administrator)
12. Open a new Cygwin command prompt 13. Open a new Cygwin command prompt
13. Start "ipc-deamon&" (background proces) 14. Start "ipc-deamon&" (background proces)
14. Start "postmaster -i 2>&1 > /tmp/postgres.log &" (background proces) 15. Start "postmaster -i 2>&1 > /tmp/postgres.log &" (background proces)
15. Start "tail -f /tmp/postgres.log" to see the messages 16. Start "tail -f /tmp/postgres.log" to see the messages
16. cd /usr/src/pgsql/src/test/regress 17. cd /usr/src/pgsql/src/test/regress
17. make all runtest 18. make all runtest
All test should be run, allthought the latest snapshot I tested (18-4) All test should be run, allthought the latest snapshot I tested (18-4)
appears to have some problems with locking. appears to have some problems with locking.
Joost NOTE:
By default, PostgreSQL clients like psql communicate using unix domain
[Added by bjm] sockets, which don't work on NT. Start the postmaster with -i, and
when connecting to the database from a client, set the PGHOST
By default, PostgreSQL clients like psql communicate by default using
unix domain sockets, which don't work on NT. Start the postmaster with
-i, and when connecting to the database from a client, set the PGHOST
environment variable to 'localhost' or supply the hostname on the environment variable to 'localhost' or supply the hostname on the
command line. command line.
Also, the cygnus-bindir has to be placed in the path before the Joost
NT-directories, because the sort.exe has to be take for cygnus, not
NT.
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
FIX FOR POSTGRESQL FREEZING ON NT MACHINES FIX FOR POSTGRESQL FREEZING ON NT MACHINES - EVERYONE SHOULD APPLY THIS PATCH
From: "Hiroshi Inoue" <Inoue@tpf.co.jp> From: "Hiroshi Inoue" <Inoue@tpf.co.jp>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment