POSTGRES.. NEED HELP

From: Richy Gerard <idbisoft(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org, jec-lug(at)googlegroups(dot)com, linuxexperts(at)googlegroups(dot)com
Subject: POSTGRES.. NEED HELP
Date: 2009-09-07 15:18:53
Message-ID: 7a16f0bd0909070818v74a4d19em4fd3814c1a8c9ffc@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

While using embedded sql in postgres,
a. Installed the ecpg library
b. after installation i couldn't compile the program prog1.c
ERROR:
richy(at)ubuntu:~/Desktop$ ecpg prog1.pgc
richy(at)ubuntu:~/Desktop$ cc -c prog1.c
prog1.c:3:22: error: ecpgtype.h: No such file or directory
prog1.c:4:21: error: ecpglib.h: No such file or directory
prog1.c:5:23: error: ecpgerrno.h: No such file or directory
prog1.c:6:19: error: sqlca.h: No such file or directory
prog1.pgc:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘into’
prog1.pgc:1:26: warning: multi-character character constant

--
GERARD

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2009-09-07 15:20:17 Re: server disk space
Previous Message Moshe Ben-Shoham 2009-09-07 10:40:02 Re: PostgreSQL crashes