[SQLGRASS] About the ODBC and GRASS
sqlgrass at geog.uni-hannover.de
Thu, 8 Feb 2001 08:45:29 +0100
On Thursday 08 February 2001 03:24 am, s8854617 wrote:
> Dear Sir:
> I recently installed the GRASS, unixODBC and Oracle odbc driver in
> RedHat Linux. I tried successfully with isql to connect DB. But in GRASS,
> I tried to connect DB with db.execute command, following message is
> display: "DBMSCAP not set". Could anyone tell me where I did'nt install
> properly? And, Is there anyplace I can find the papers or informations
> about the "ODBC and GRASS"?
You need to create dbmscap file and run db.connect command first.
How to create dbmscap is described in db.connect manual page.
> By the way, when I want to execute "isql", I have to "cd /etc" then
> execute it. "[ISQL]ERROR: Could not SQLConnect" is display if I execute
> isql in other directory, where I did'nt install properly?
> ?I read the homepage of GRASS to find ODBC driver, the homepage
> display GRASS 5/CVS can be find that driver, but I did'nt find it.
> Could someone mail me the ODBC driver for me?
ODBC driver isn't compiled by default because some ODBC header
files are required. If you compile grass you can either uncomment
# src/libes/dbmi/drivers/odbc row in src/CMD/lists/GRASS before compilation
or after compilation cd to src/libes/dbmi/drivers/odbc and run gmake5
(must be in PATH)
Then driver should be located in dist.i686-pc-linux-gnu/driver/odbc
I am sending odbc driver for Linux to you off list.
If you want to unsubscribe from SQLGRASS
mailing list write to:
subject 'unsubscribe sqlgrass'