Forum OpenACS Q&A: Re: RDBMS type could not be determined for any pool

Collapse
Posted by Dave Bauer on
This is they key "nspostgres.h:48:22: libpq-fe.h: No such file or directory"

You specifiied POSTGRES=LSB on the make command line.
#
# Manage to find PostgreSQL components in the system, or where you specify
#
ifeq ($(POSTGRES),LSB)
PGLIB = /usr/lib
PGINC = /usr/include
else
PGLIB = $(POSTGRES)/lib
PGINC = $(POSTGRES)/include
endif

It's looking for libpq-fe.h in /usr/include

Find out if that is where the Postgresql headers are installed or not. The second most common location would be /usr/local so you could try specifying POSTGRES=/usr/local and see if that works. Make sure libpq-fe.h does exist somewhere on your system. The nspostgres Makefile says

    
  
Collapse
Posted by anjali n on
i tried using "make install POSTGRES=/usr/local/pgsql ACS=1 INST=/usr/local/aolserver AOLSERVER=/usr/local/aolserver"
i'm getting this warning
nspostgres.c: In function `blob_send_to_stream':
nspostgres.c:979: warning: `fd' might be used uninitialized in this function
nspostgres.c:981: warning: `conn' might be used uninitialized in this function
nspostgres.c: In function `parse_bind_variables':
nspostgres.c:1210: warning: unused variable `first_bind'
nspostgres.c: In function `PgBindCmd':
nspostgres.c:1326: warning: unused variable `value_frag_len'
/bin/rm -f nspostgres.so
gcc -pipe -shared -nostartfiles -L/usr/local/aolserver/lib -o nspostgres.so nspostgres.o -L/usr/local/pgsql/lib -lpq -lnsthread -lnsd -L/usr/local/lib -ltcl8.4 -ldl -lpthread -lieee -lm -lz -lgcc_s -Wl,-rpath,/usr/local/aolserver/lib -Wl ,-rpath,/usr/local/lib
/usr/local/aolserver/bin/install-sh -c nspostgres.so /usr/local/aolserver/bin/

can i ignore this warning and proceed