Re: postgres.h

From: Jason Tishler <jason(at)tishler(dot)net>
To: Nupur Pande <npande(at)vt(dot)edu>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: postgres.h
Date: 2003-11-06 03:24:15
Message-ID: 20031106032415.GB1340@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Nupur,

On Wed, Nov 05, 2003 at 05:12:04PM -0500, Nupur Pande wrote:
> Could you please give me precise directions?

Use the following (after installing all necessary Cygwin packages):

$ wget -P /tmp http://mirrors.rcn.net/pub/sourceware/cygwin/release/postgresql/postgresql-7.3.4-2-src.tar.bz2
$ tar -xjf /tmp/postgresql-7.3.4-2-src.tar.bz2
$ cd postgresql-7.3.4-2
$ configure --enable-multibyte --prefix=/usr
$ make
$ cp src/backend/libpostgres.a /usr/lib

Now you can just add -lpostgres to your link command line.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Nupur Pande 2003-11-06 16:37:23 Re: postgres.h
Previous Message Nupur Pande 2003-11-05 22:12:04 Re: postgres.h