Be sure you are setting required environment variables first so the driver knows where to find things it needs. Something like this: #!/bin/tcsh setenv POSTGRES /usr/local/pgsql setenv INST /usr/local/aolserver setenv ACS 1 make clean make POSTGRES=/usr/local/pgsql INST=/usr/local/aolserver ACS=1 make install POSTGRES=/usr/local/pgsql INST=/usr/local/aolserver ACS=1
good luck! t
On Friday, July 18, 2003, at 11:32 AM, derek wrote:
I'm running mac os 10.2.6 and postgresql 7.3.3.
I've tried compiling the nspostgres driver from aolserver and the postgres driver from openacs -- both fail.
Are they compatible with 7.3.3?
The last few lines of make output for the openacs driver are as follows:
postgres.c:1926: parse error before '*' token postgres.c: In function `Ns_PgBindRow': postgres.c:1933: `handle' undeclared (first use in this function) postgres.c: At top level: postgres.c:2006: parse error before "Ns_DbTableInfo" postgres.c: In function `pg_get_column_index': postgres.c:2011: `interp' undeclared (first use in this function) postgres.c:2011: `indexStr' undeclared (first use in this function) postgres.c:2011: warning: passing arg 3 of `Tcl_GetInt' from incompatible pointer type postgres.c:2016: `tinfo' undeclared (first use in this function) postgres.c: In function `pg_column_command': postgres.c:2042: `Ns_DbHandle' undeclared (first use in this function) postgres.c:2042: `handle' undeclared (first use in this function) postgres.c:2043: `Ns_DbTableInfo' undeclared (first use in this function) postgres.c:2043: `tinfo' undeclared (first use in this function) postgres.c: In function `pg_table_command': postgres.c:2205: `Ns_DbHandle' undeclared (first use in this function) postgres.c:2205: `handle' undeclared (first use in this function) postgres.c: At top level: postgres.c:2328: parse error before '*' token postgres.c:2330: warning: return type defaults to `int' postgres.c: In function `Ns_DbNewTableInfo': postgres.c:2331: `Ns_DbTableInfo' undeclared (first use in this function) postgres.c:2331: `tinfo' undeclared (first use in this function) postgres.c: At top level: postgres.c:2347: parse error before '*' token postgres.c: In function `Ns_DbAddColumnInfo': postgres.c:2349: `tinfo' undeclared (first use in this function) postgres.c:2357: `column_info' undeclared (first use in this function) postgres.c: At top level: postgres.c:2364: parse error before '*' token postgres.c: In function `Ns_DbFreeTableInfo': postgres.c:2368: `tinfo' undeclared (first use in this function) postgres.c: At top level: postgres.c:2384: parse error before '*' token postgres.c: In function `Ns_DbColumnIndex': postgres.c:2389: `tinfo' undeclared (first use in this function) postgres.c:2392: `name' undeclared (first use in this function) make: *** [postgres.o] Error 1
Thanks for the help.
-- AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
[EMAIL PROTECTED]
Subverge LLC www.subverge.com
-- AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.