[GRASS5] winGRASS package routine

Glynn Clements glynn.clements at virgin.net
Mon Mar 4 10:21:43 EST 2002


Markus Neteler wrote:

> I have recently packages a winGRASS version with generic driver.
> There is a problem in the package routine as the "libG11.dll"
> is not packed into the .tar.gz (libG11.dll is stored in /bin).
> 
> We have two options (or one only?):
> 
>  1) extend the package and also the install routines to handle
>     /bin/libG11.dll
>  2) store libG11.dll in the driver/ directory and handle the
>     path to the DLL (no idea how to do that on windows).
> 
> Personally I prefer the 2) option as less changes are required.

IIRC, windows looks for DLLs in the current directory, %PATH%,
%WINDIR% and %SYSDIR%, so you would have to either:

a) add the directory which contains the DLL to the path, or

b) store the DLL in a directory which will be in the path anyway, e.g. 
$GISBASE/bin.

I think that b) is preferable.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-dev mailing list