[no subject]
Open an msys window as administrator.
$ cd /home/postgres/postgresql-8.1.0/
$ make install
Using explorer copy C:\msys\1.0\local\pgsql to your preferred
location. (We used C:\pgsql.)
Add to the Windows Path environment variable:
C:\pgsql\bin;C:\pgsql\lib
Add postgres to the Users group (needed just for this step).
Get cmd session as postgres.
Make your directories. For example:
> G:
> mkdir pgsql
> mkdir pgsql\data
> initdb <your preferred switches here>
Remove the Users group from the postgres login.
At this point we could run pg_ctl to start the postmaster.
We still needed to modify the conf files, and set up the
Windows service for PostgreSQL.
I'm only reporting what worked for us. Use at your own risk,
as there may be better practice documented that we've missed,
and this represents preliminary notes on a single successful
install. (As always, comments and pointers welcome.)
I hope it is of some help.
-Kevin
>>> "Gevik babakhani" <gevik(at)xs4all(dot)nl> >>>
I would like to compile the code on windows. I understand I need mingw.
on the mingw site there are may packages to download and install.
Does anyone know which ones to download install in order to compile pg.
Thanx,
Gevik.
Home |
Main Index |
Thread Index