[winGRASS] Re: [GRASS5] winGRASS package routine

Markus Neteler neteler at itc.it
Mon Mar 4 11:11:00 EST 2002


On Mon, Mar 04, 2002 at 03:21:43PM +0000, Glynn Clements wrote:
> 
> 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.

Yes, I also vote for b). Then we have reduced the problem to one
simple change in the libG11 [G]Makefile.

Markus



More information about the grass-dev mailing list