[GRASS-dev] Re: [bug #5218] (grass) wingrass: creating new location from startup screen with projection values fails

Huidae Cho grass4u at gmail.com
Mon Oct 30 12:05:46 EST 2006


On Mon, Oct 30, 2006 at 05:23:45PM +0100, Moritz Lennert wrote:
> On Thu, October 26, 2006 21:06, Glynn Clements wrote:
> >Moritz Lennert wrote:
> >>> Aside: it might encourage more people to work on the Windows version
> >>> if the GRASS site contained binary versions of the necessary
> >>> libraries. Having to build XDR, PROJ, GDAL, zlib, PNG, Tcl/Tk and
> >>> possibly other stuff from source before you can start to compile GRASS
> >>> is a major nuisance.
> >>What about the packages installed by Huidae's installer:
> >>http://prdownloads.sourceforge.net/g/gn/gnuwin32
> >>(Huidae's inst_grass.bat downloads: libiconv-1.9.2-1 libpng-1.2.8
> >>jpeg-6b-4 tiff-3.8.2-1 file-4.16-1 freetype-2.1.10 pdcurses-2.6
> >>readline-5.0 gettext-0.14.4 zlib-1.2.3 zip-2.31)
> >Some of those should be optional, although most of them are useful (I
> >don't know about file and zip, though). If that version of zlib is
> >usable, we can use that rather than our own package.
> >>Would I need the *-lib packages for compilation ?
> >Maybe. You need the header files for compilation, whereas you only
> >need DLLs for pre-compiled applications. If the packages are split,
> >then you will need both parts.
> 
> mlennert at geog-pc40:~$ unzip -l freetype-2.0.1-bin.zip
> Archive:  freetype-2.0.1-bin.zip
> freetype 2.0.1: binaries
>    Length     Date   Time    Name
>   --------    ----   ----    ----
>     790571  03-08-01 11:33   bin/libfreetype.dll
>        995  03-21-01 19:11   contrib/freetype-2.0.1.README
>         26  03-21-01 19:11   manifest/freetype-2.0.1-bin.ver
>        122  03-21-01 19:11   manifest/freetype-2.0.1-bin.mft
>   --------                   -------
>     791714                   4 files
> mlennert at geog-pc40:~$ unzip -l freetype-2.0.1-lib.zip
> Archive:  freetype-2.0.1-lib.zip
> freetype 2.0.1: libraries
>    Length     Date   Time    Name
>   --------    ----   ----    ----
>     152685  12-01-00 00:08   include/freetype/freetype.h
>       4043  12-01-00 00:08   include/freetype/ftbbox.h
>      22183  12-01-00 00:08   include/freetype/ftcache.h
>       8667  12-01-00 18:25   include/freetype/fterrors.h
>       etc...
> 
> 
> So it's both.
> 
> >>For Tcl/Tk Huidae recommends, i.e.:
> >>http://prdownloads.sourceforge.net/mingw/tcltk-8.4.1-1.exe?download
> >Is that actually a *native* version, or does it include MinGW-isms?
> 
> Don't know. Huidae ?

AFAICT, the TclTk package is basically the same as one that is
distributed with Cygwin.  That being said, it is a *native* version.  No
POSIX path, no virtual mount (c:\msys => /), and etc.  The reason why I
chose the MinGW version is just to reduce the number of sites the user
should visit to install required packages.  The problem with Windows
TclTk (not just MinGW version) is that it has many known bugs such as
mouse event handling and bad return codes.  See
http://grass.gdf-hannover.de/wiki/WinGRASS_Current_Status#TclTk_issues
for more detail.

> 
> >>And Huidae provides:
> >>fftw-2.1.5-1 gdal-1.3.2-1 geos-2.2.3-1 proj-4.4.9-1 sqlite-3.3.6-1
> >>xdr-4.0-1
> >>from http://geni.ath.cx/grass/
> >>Isn't that enough ?
> >If he provides usable packages (compiled libraries and headers), then
> >we should use those. However, I get a "forbidden" error for the above
> >URL, and I couldn't find individual packages from the main page.
> 

Directory browsing is forbidden, but access to an individual file is
allowed.  I'm following what the web server admin decided to do.

Huidae

> They are available as http://geni.ath.cx/grass/fftw-2.1.5-1.zip etc.
> 
> Moritz




More information about the grass-dev mailing list