[GRASS5] Re: grass 5.7 windows?
Glynn Clements
glynn.clements at virgin.net
Wed Mar 31 08:24:57 EST 2004
Markus Neteler wrote:
> I got GRASS 5.7 sort of working under Cygwin
> (see my new install docs at:
> http://grass.itc.it/grass51/binary/mswindows_cygwin/
> -> cygwin_grass.html
> )
>
> but found a small problem. While d.mon is able to handle
> the XDRIVER.exe file (note the .exe extension under Cygwin),
> the DBMI tools are unable to handle the DBF driver (named dbf.exe
> in $GISBASE/driver/db/dbf.exe ). When I rename the file to
> 'dbf' only it works fine.
>
> Any ideas what to change to allow for 'dbf.exe' as well?
AFAICT, the problem is in the "dbmscap" code (in
lib/db/dbmi_base/dbmscap.c), which scans the $GISBASE/driver/db
directory to generate the list of drivers. If the driver executable is
called "dbf.exe", then the driver name (for DB_DRIVER, driver= etc)
will be "dbf.exe", not "dbf".
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list