Forum OpenACS Q&A: Response to nspostgres.so

Collapse
3: Response to nspostgres.so (response to 1)
Posted by Ashish Pande on
This the error that I am getting:
**********************************************************************
[nsadmin@openacs pgdriver-1.1]$ pwd
/tmp/root/aolserver/pgdriver-1.1

[nsadmin@openacs pgdriver-1.1]$ ls -al
total 92
drwxrwxr-x    2 nsadmin  nsadmin      4096 Aug 12  2000 .
drwxrwxr-x  23 nsadmin  nsadmin      4096 Feb 26 16:49 ..
-rw-rwxr--    1 nsadmin  nsadmin      3094 Mar 25  2000 makefile
-rw-rw-r--    1 nsadmin  nsadmin    22972 Dec  7  1999 postgres-backup.c
-rw-rwxr--    1 nsadmin  nsadmin    52222 Jun 30  2000 postgres.c

[nsadmin@openacs pgdriver-1.1]$ make all
gcc -DFOR_ACS_USE -I/include -Wall -fpic -shared -I/usr/local/pgsql/include -I/h
ome/nsadmin/include -I-/usr/include  -c -o postgres.o postgres.c
postgres.c:33: ns.h: No such file or directory
postgres.c:40: nsdb.h: No such file or directory
postgres.c:41: nstcl.h: No such file or directory
postgres.c:44: libpq-fe.h: No such file or directory
make: *** [postgres.o] Error 1

[nsadmin@openacs pgdriver-1.1]$ make install
gcc -DFOR_ACS_USE -I/include -Wall -fpic -shared -I/usr/local/pgsql/include -I/h
ome/nsadmin/include -I-/usr/include  -c -o postgres.o postgres.c
postgres.c:33: ns.h: No such file or directory
postgres.c:40: nsdb.h: No such file or directory
postgres.c:41: nstcl.h: No such file or directory
postgres.c:44: libpq-fe.h: No such file or directory
make: *** [postgres.o] Error 1

**********************************************************************

Thanks for having a look
Ashish