Hello People,
I am having a peculiar problem. I am very new to GRASS and I am trying to
install the source code for GRASS versio n5.0 and while executing the
"configure" script, I get an error message saying that the PostgreSql
include path along with the files are not available. I installed the
latest version of the Postgresql which I obtained from the RedHat site and
it still complains. Can someone help me with this??
Thanks
Venkat
VENKATARAMANAN RAJAGOPALAN wrote:
I am having a peculiar problem. I am very new to GRASS and I am trying to
install the source code for GRASS versio n5.0 and while executing the
"configure" script, I get an error message saying that the PostgreSql
include path along with the files are not available. I installed the
latest version of the Postgresql which I obtained from the RedHat site and
it still complains. Can someone help me with this??
1. You have to have the development RPM (postgresql-devel) installed.
2. If the headers are installed in a non-standard location (which is
usually the case for postgresql headers), you have to use the
appropriate switch (e.g. --with-postgres-includes=/usr/include/pgsql).
--
Glynn Clements <glynn.clements@virgin.net>
Hi Glynn,
I got the postgresql out of the way. Now I am stuck with the ODBC include
files and the script complains that it is unable to locate the ODBC
library. I downloaded the postgresql-odbc rpm and the unixodbc-devel rpm
and installed it. I also gave a path to the script as
/usr/include/pgsqll/iodbc. It still complains. Do you suggest something??
Thanks
Venkat
VENKATARAMANAN RAJAGOPALAN wrote:
I got the postgresql out of the way. Now I am stuck with the ODBC include
files and the script complains that it is unable to locate the ODBC
library. I downloaded the postgresql-odbc rpm and the unixodbc-devel rpm
and installed it. I also gave a path to the script as
/usr/include/pgsqll/iodbc. It still complains. Do you suggest something??
GRASS needs UnixODBC (www.unixodbc.org), not IODBC. If you don't need
it, you can use the --without-odbc configure switch.
--
Glynn Clements <glynn.clements@virgin.net>