Skip site navigation (1) Skip section navigation (2)

Re: Building PostgreSQL against Cygserver

From: David Mitchell <david(dot)mitchell(at)telogis(dot)com>
To: Oscar Pearce <oscar(at)pearceenterprises(dot)com>,Pgsql-Cygwin <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: Building PostgreSQL against Cygserver
Date: 2004-03-24 21:38:20
Message-ID: 4061FFCC.1010607@telogis.com (view raw or flat)
Thread:
Lists: pgsql-cygwin
Oscar,

Sure, this is easy:

If you have cygipc installed, use the setup program to uninstall it and 
postgresql.

After that, reinstall cygwin.

Install the postgres source and just build it as normal.

Whenever you run any of the programs (initdb, createdb etc) you'll need 
to set the CYGWIN environment variable to 'server':

$ CYGWIN=server initdb -D /var/pgsql/data

So when you install the service remember to do the same:

$ cygrunsrv -I postmaster .... -e CYGWIN=server ....

Hope it all goes swimmingly.

David

Oscar Pearce wrote:
> David,
> 
> I saw your message to the pgsql-cygwin list about building PostgreSQL
> against cygserver instead of cygipc.  I'm trying to track down an issue
> with PostgreSQL on Windows 98 and thought I'd try doing the same thing. 
> Would you mind sharing the changes you had to do to do the build?
> 
> Thanks,
> Oscar


-- 
David Mitchell
Software Engineer
Telogis

NOTICE:
This message (including any attachments) contains CONFIDENTIAL
INFORMATION intended for a specific individual and purpose, and
is protected by law.  If you are not the intended recipient,
you should delete this message and are hereby notified that any
disclosure, copying, or distribution of this message, or the
taking of any action based on it, is strictly prohibited.

pgsql-cygwin by date

Next:From: Christian LeCheminantDate: 2004-03-25 18:52:17
Subject: Problems on Windows 2000 Server
Previous:From: Oscar PearceDate: 2004-03-24 14:44:55
Subject: Postmaster receives signal 11 on Windows 98 SE

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group