I am attempting to compile GRASS 5.3 from source on a Fedora Core 2 system
with PostgreSQL (I am running Posgres 7.4.5). I get the following error:
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.
I am new to both GRASS and Linux but I know that postgres is working and that
the header files exist. They are located in /usr/local/pgsql/include/ I don't
know how to get past this error.
ssherman wrote:
I am attempting to compile GRASS 5.3 from source on a Fedora Core 2 system
with PostgreSQL (I am running Posgres 7.4.5). I get the following error:
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.
I am new to both GRASS and Linux but I know that postgres is working and that
the header files exist. They are located in /usr/local/pgsql/include/ I don't
know how to get past this error.
./configure --with-postgres-includes=/usr/local/pgsql/include
...
--
Glynn Clements <glynn.clements@virgin.net>
Thanks. I got it working. Only a couple of modules had compilation errors. I’m going to attempt to compile them separately later–so I’ll most certainly have more questions. Thanks again for your help.
Glynn Clements wrote:
ssherman wrote:
I am attempting to compile GRASS 5.3 from source on a Fedora Core 2 system
with PostgreSQL (I am running Posgres 7.4.5). I get the following error:
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.
I am new to both GRASS and Linux but I know that postgres is working and that
the header files exist. They are located in /usr/local/pgsql/include/ I don't
know how to get past this error.
./configure --with-postgres-includes=/usr/local/pgsql/include
...