RE: [PORTS] Re: psql under win32

From: "Joost Kraaijeveld" <JKraaijeveld(at)askesis(dot)nl>
To: "Pgsql-Ports(at)Postgresql(dot) Org" <pgsql-ports(at)postgresql(dot)org>
Subject: RE: [PORTS] Re: psql under win32
Date: 1999-04-21 05:07:47
Message-ID: 000001be8bb4$e59b0ab0$
Views: Raw Message | Whole Thread | Download mbox
Lists: pgsql-ports

> -----Oorspronkelijk bericht-----
> Van: owner-pgsql-ports(at)postgreSQL(dot)org
> [mailto:owner-pgsql-ports(at)postgreSQL(dot)org]namens Thomas Lockhart
> Verzonden: Tuesday, April 20, 1999 6:27 PM
> Aan: abdelkrim; Postgres Porting List
> Onderwerp: [PORTS] Re: psql under win32
> > can you help me for the porting psql under win32 and cygnus
> I believe this has already been done. I've forwarded this to the ports
> mailing list to inquire since I don't know any details myself.
It can be done by done by typing configure, make and make install.

1. Install the Cygwin package
2. Update to EGCS 1.1.2

1. Install the Andy Piper Tools

1. Download the Cygwin32 IPC Package by Ludovic LANGE.
2. Untar the package and follow the readme instructions.
3. I tested 1.03.
4. I used the \cygwin-b20\h-i568-cygwin32\i586-cygwin32\lib and
\cygwin-b20\h-i568-cygwin32\i586-cygwin32\include\sys instead of the
/usr/local/lib and usr/local/include/sys.

1. Download the current snapshot.tar.gz (24-3-98).
2. Untar the package.
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. ./configure
5. make
6. create the directory /usr/local/pgsql manually: the mkdir cannot create a
directory 2 levels deep in one step.
7. make install
8. cd /usr/lical/pgsql/doc
9. make install
10. Set the environmental data
11. Initdb --username=jkr (do not run this command as administrator)

12. Open a new Cygwin command prompt
13. Start "ipc-deamon&" (background proces)
14. Start "postmaster -i 2>&1 > /tmp/postgres.log &" (background proces)
15. Start "tail -f /tmp/postgres.log" to see the messages

16. cd /usr/src/pgsql/src/test/regress
17. make all runtest

All test should be run, allthought the latest snapshot I tested (18-4)
appears to have some problems with locking.


In response to


Browse pgsql-ports by date

  From Date Subject
Next Message MA_SRIDHAR 1999-04-21 20:30:54 PostgreSQL 6.4.2 on HP/UX
Previous Message Unprivileged user 1999-04-20 17:18:57 Port Bug Report: pqReadData() -- backend closed the channel unexpectedly