problems compiling scripts.I'm near suicide

From: Ximo Domenech <ximo(dot)domenech(at)ival(dot)es>
To: pgsql-general(at)postgresql(dot)org
Subject: problems compiling scripts.I'm near suicide
Date: 1999-08-03 19:57:29
Message-ID: 37A749A9.FB271AA@ival.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi.
I have been compiling scripts for two days, and cannot resolve the
problem with postgres. (working with solaris 2.7)
I don't know if the problem is in the compilation because it isn't
causes errors.
I am compiling with:

gcc x.c y.c z.c -o xyzcgi -L/usr/local/pgsql/lib -R/usr/local/pgsql/lib
-lpq
mv xyzcgi /export/home/httpd/cgi-bin/pruebacgi

When the script is executed from a html page, returned this error to the
navigator:

Premature end of script headers: /export/home/httpd/cgi-bin/xyzcgi

In the log file of Apache I can see the same message and other:

Internal Server Error
Premature end of script headers: /export/home/httpd/cgi-bin/pruebacgi

Connection to database 'xyz' OK
DECLARE CURSOR command failed
[error] [client 127.0.0.1] Premature end of script headers

Can anyone help me ? Pleeeeeease.
I dont know how to continue. :-|

Thanks to everyone.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albert Chen 1999-08-03 21:21:06 Query buffer problem.
Previous Message ralli 1999-08-03 19:33:21 (no subject)