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

RE: Has anybody compiled .c file generated from .pgc file

From: "Chandra Sekhar (dot) K" <csekhar(at)cisco(dot)com>
To: "Riebs, Andy" <Andy(dot)Riebs(at)compaq(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: RE: Has anybody compiled .c file generated from .pgc file
Date: 2000-11-07 00:17:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports
I am still getting same error message. I have installed 
postgreSQL binaries on my NT machine under /usr/local/pgsql
( not under /usr/postgres ) directory. Does the directory
 structure matter for compilation ?

   I have include,lib directory structures under /usr/local/pgsql.


At 11:08 AM 11/6/00 -0500, Riebs, Andy wrote:
>> I have been trying to run a sample code for postgreSQL
>> database.  I just want to create a database and do simple
>> insertion and extraction of the inserted data. I have
>> created .pgc file and am able to generate .c file using
>> ecpg but I am stuck with gcc , not able to create the
>> binary from .c file. 
>Use a Makefile to specify the locations of the libraries,
>such as...
>%.c : %.pgc
>       ecpg -t -o $@ $<
>Andy Riebs, andy(dot)riebs(at)compaq(dot)com    Alpha Technology Solutions Group
>978-506-6628, fax 978-506-6524       Compaq Computer Corporation
>(h) andy(at)freckles(dot)mv(dot)com            <>

pgsql-ports by date

Next:From: Pete FormanDate: 2000-11-07 08:48:35
Subject: Re: Re: ps and psql from PostgreSQL not working with cygwin-1.1.5-2
Previous:From: lbottorffDate: 2000-11-06 21:40:46
Subject: RE: Errors building Postgres on NT

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