[GRASSLIST:5209] postgres-includes error

Jack Varga jvarga at boulder.net
Tue Dec 21 14:50:16 EST 2004


 From a Dec 7th snapshot, I'm failing a search for

configure:8860:22: libpq-fe.h: No such file or directory

I'm running configure like so...

./configure
        --with-postgres \
        --with-postgres-includes=/usr/local/pgsql/include \
        --with-postgres-libs=/usr/local/pgsql/lib \
        --with-cxx

...and here is the contents of...

$ ls -l /usr/local/pgsql/include/libpq-fe.h
-rw-r--r--  1 root root 15432 Dec 20 14:12 
/usr/local/pgsql/include/libpq-fe.h

Standard out from configure...

checking whether to use PostgreSQL... yes
checking for location of PostgreSQL includes...
checking for libpq-fe.h... no
configure: error: *** Unable to locate PostgreSQL includes.
configure.sh: line 9: --with-cxx: command not found

Also, that last line is peculiar.  Trying to compile in support for C++ 
but configure does not seem to recognize that option. 

Any help deeply appreciated.

Regards,

Jack Varga




More information about the grass-user mailing list