[GRASS-dev] Updates to wingrass-extralibs

Spurred on by the work that Marco is doing, I've finally got around to packaging the new versions of essential libraries for WinGRASS that I compiled a couple of months ago. In case it is helpful to anybody, the 13MB file wingrass-extralibs-20080303.tar.gz now at http://www.stjohnspoint.co.uk/grass/ contains the following versions of libraries:
xdr-4.0-mingw32
proj-4.6.0
gdal-1.5.0
fftw-2.1.5 (this was before I realised FFTW 3.x is OK with GRASS)
tcl-8.5.0
tk-8.5.0

I have copies of all the source packages but I don't have the bandwidth/diskspace really to make them available there to download as well, so this can't be considered an official binary distribution of them. Nevertheless I hope it is useful.

I didn't compile anything else as I found I was able to get all the other dependencies from GnuWin32 (http://gnuwin32.sourceforge.net/), i.e. libintl, libjpeg, libpng, zlib, libtiff, freetype, curses. No point in reinventing the wheel when they are already available in an easy-to-use format.

The 13MB file includes all the libraries and associated utility programs, source headers and import libraries etc. necessary for compiling. Obviously only the .dlls (and maybe even then not all of them) need to go into a GRASS binary distribution, so the size would be much smaller. It's normally useful though to include a couple of the main GDAL utility programs: gdalwarp, gdalinfo and so on. nad2bin from the PROJ distribution is required, and cs2cs is very useful.

I realise this is slightly different from the approach Marco is taking, in that I'm directing people to GnuWin32 for the stuff that they have available already - again that's just laziness on my part really but I think it will be less work in the future.

The great thing about this now is that we can include the Tcl/Tk DLLs in the binary distribution and don't have to ask people to install a separate Tcl/Tk any more.

Also I don't have a lot of time to maintain this either, but if someone wants to run a relatively stripped-down WinGRASS and compile it themselves it might just be useful, so I thought I'd put it out there to complement Marco's work.

Paul

On Mon, 3 Mar 2008, Paul Kelly wrote:

Spurred on by the work that Marco is doing, I've finally got around to packaging the new versions of essential libraries for WinGRASS that I compiled a couple of months ago. In case it is helpful to anybody, the 13MB file wingrass-extralibs-20080303.tar.gz now at http://www.stjohnspoint.co.uk/grass/ contains the following versions of libraries:
xdr-4.0-mingw32
proj-4.6.0
gdal-1.5.0
fftw-2.1.5 (this was before I realised FFTW 3.x is OK with GRASS)
tcl-8.5.0
tk-8.5.0

Just thinking over this, I realise some of those will be pretty unusable without the correct versions of the DLLs from the Gnuwin32 packages that I compiled them against. Unfortunately I don't seem to have properly documented that anywhere... but it might be obvious from the Windows DLL not found error messages if anybody has the patience for that.

Paul

Hi Paul,

it seems to be a head to head race! :smiley:

anyway… I agree about “not reinventing the wheel”… but sometimes I also think that it’s necessary, because not all GnuWin32 libs are updated and, the biggest problem, they are built using VS, not MinGW; that actually could not be a problem, but I’m quite sure that GDAL has problems linking against VS built libraries.

Regards

Marco

PS: Paul, I don’t want to overtake you, I don’t like those useless races… just wanted to help :wink:


Da: grass-dev-bounces@lists.osgeo.org per conto di Paul Kelly
Inviato: lun 03/03/2008 12.06
A: grass-dev@lists.osgeo.org
Oggetto: [GRASS-dev] Updates to wingrass-extralibs

Spurred on by the work that Marco is doing, I’ve finally got around to
packaging the new versions of essential libraries for WinGRASS that I
compiled a couple of months ago. In case it is helpful to anybody, the
13MB file wingrass-extralibs-20080303.tar.gz now at
http://www.stjohnspoint.co.uk/grass/ contains the following versions of
libraries:
xdr-4.0-mingw32
proj-4.6.0
gdal-1.5.0
fftw-2.1.5 (this was before I realised FFTW 3.x is OK with GRASS)
tcl-8.5.0
tk-8.5.0

I have copies of all the source packages but I don’t have the
bandwidth/diskspace really to make them available there to download as
well, so this can’t be considered an official binary distribution of them.
Nevertheless I hope it is useful.

I didn’t compile anything else as I found I was able to get all the other
dependencies from GnuWin32 (http://gnuwin32.sourceforge.net/), i.e.
libintl, libjpeg, libpng, zlib, libtiff, freetype, curses. No point in
reinventing the wheel when they are already available in an easy-to-use
format.

The 13MB file includes all the libraries and associated utility programs,
source headers and import libraries etc. necessary for compiling.
Obviously only the .dlls (and maybe even then not all of them) need to go
into a GRASS binary distribution, so the size would be much smaller. It’s
normally useful though to include a couple of the main GDAL utility
programs: gdalwarp, gdalinfo and so on. nad2bin from the PROJ distribution
is required, and cs2cs is very useful.

I realise this is slightly different from the approach Marco is taking, in
that I’m directing people to GnuWin32 for the stuff that they have
available already - again that’s just laziness on my part really but I
think it will be less work in the future.

The great thing about this now is that we can include the Tcl/Tk DLLs in
the binary distribution and don’t have to ask people to install a separate
Tcl/Tk any more.

Also I don’t have a lot of time to maintain this either, but if someone
wants to run a relatively stripped-down WinGRASS and compile it themselves
it might just be useful, so I thought I’d put it out there to complement
Marco’s work.

Paul


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Paul Kelly wrote:

Spurred on by the work that Marco is doing, I've finally got around
to packaging the new versions of essential libraries for WinGRASS\
that I compiled a couple of months ago. In case it is helpful to
anybody, the 13MB file wingrass-extralibs-20080303.tar.gz now at
http://www.stjohnspoint.co.uk/grass/ contains the following versions
of libraries:
xdr-4.0-mingw32
proj-4.6.0
gdal-1.5.0
fftw-2.1.5 (this was before I realised FFTW 3.x is OK with GRASS)
tcl-8.5.0
tk-8.5.0

I have copies of all the source packages but I don't have the
bandwidth/diskspace really to make them available there to download
as well, so this can't be considered an official binary distribution
of them.
Nevertheless I hope it is useful.

Hi Paul,

why not upload to:
http://trac.osgeo.org/grass/browser/grass-web/trunk/grass63/binary/mswindows/
?

or open a gmail account, then you get 100MB webspace from
pages.google.com. (the last time I tried the max file size you could
serve was 10MB)

Hamish

      ____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs

Hi Paul,

just few questions:

  1. did you used /win subdirectory to compile?
  2. did you performed make test?

I did it, and had lots of “FAILED”!

Marco


Da: grass-dev-bounces@lists.osgeo.org per conto di Paul Kelly
Inviato: lun 03/03/2008 12.06
A: grass-dev@lists.osgeo.org
Oggetto: [GRASS-dev] Updates to wingrass-extralibs

Spurred on by the work that Marco is doing, I’ve finally got around to
packaging the new versions of essential libraries for WinGRASS that I
compiled a couple of months ago. In case it is helpful to anybody, the
13MB file wingrass-extralibs-20080303.tar.gz now at
http://www.stjohnspoint.co.uk/grass/ contains the following versions of
libraries:
xdr-4.0-mingw32
proj-4.6.0
gdal-1.5.0
fftw-2.1.5 (this was before I realised FFTW 3.x is OK with GRASS)
tcl-8.5.0
tk-8.5.0

I have copies of all the source packages but I don’t have the
bandwidth/diskspace really to make them available there to download as
well, so this can’t be considered an official binary distribution of them.
Nevertheless I hope it is useful.

I didn’t compile anything else as I found I was able to get all the other
dependencies from GnuWin32 (http://gnuwin32.sourceforge.net/), i.e.
libintl, libjpeg, libpng, zlib, libtiff, freetype, curses. No point in
reinventing the wheel when they are already available in an easy-to-use
format.

The 13MB file includes all the libraries and associated utility programs,
source headers and import libraries etc. necessary for compiling.
Obviously only the .dlls (and maybe even then not all of them) need to go
into a GRASS binary distribution, so the size would be much smaller. It’s
normally useful though to include a couple of the main GDAL utility
programs: gdalwarp, gdalinfo and so on. nad2bin from the PROJ distribution
is required, and cs2cs is very useful.

I realise this is slightly different from the approach Marco is taking, in
that I’m directing people to GnuWin32 for the stuff that they have
available already - again that’s just laziness on my part really but I
think it will be less work in the future.

The great thing about this now is that we can include the Tcl/Tk DLLs in
the binary distribution and don’t have to ask people to install a separate
Tcl/Tk any more.

Also I don’t have a lot of time to maintain this either, but if someone
wants to run a relatively stripped-down WinGRASS and compile it themselves
it might just be useful, so I thought I’d put it out there to complement
Marco’s work.

Paul


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Sorry, I forgot:

./configure --prefix=/usr/local/tcl-tk --enable-shared
make
make test

Tests ended at Mon Mar 03 13:27:39 +0100 2008
all.tcl: Total 24180 Passed 23258 Skipped 896 Failed 26
Sourced 137 Test Files.
Files with failing tests: cmdAH.test fCmd.test fileName.test timer.test winFile.test
Number of tests skipped for each constraint:
9 !ieeeFloatingPoint
17 95
2 95or98
2 RealConsole
3 asyncPipeChan
76 bigEndian
9 cdrom
1 dontCopyLinks
19 eformat
62 emptyTest
14 english
2 exdev
2 hasIsoLocale
13 hasLinks
1 interactive
29 knownBug
2 knownBug !singleTestInterp
2 largefileSupport
100 localeRegexp
12 longIs64bit
14 macosxFileAttr
15 memory
23 nonPortable
5 notNetworkFilesystem
17 pkga.dllRequired
19 pkgua.dllRequired
2 sharedCdrive
1 symbolicLinkFile
4 tempNotWin
7 testaccessproc
1 testexprparser && !ieeeFloatingPoint
22 testfilehandler
2 testfilewait
7 testfindexecutable
1 testgetdefenc
8 testopenfilechannelproc
7 teststatproc
120 testthread
21 testwordend
3 threaded
180 unix
23 unixExecs
3 unknownFailure
3 winOlderThan2000
stderr32


Da: grass-dev-bounces@lists.osgeo.org per conto di Paul Kelly
Inviato: lun 03/03/2008 12.06
A: grass-dev@lists.osgeo.org
Oggetto: [GRASS-dev] Updates to wingrass-extralibs

Spurred on by the work that Marco is doing, I’ve finally got around to
packaging the new versions of essential libraries for WinGRASS that I
compiled a couple of months ago. In case it is helpful to anybody, the
13MB file wingrass-extralibs-20080303.tar.gz now at
http://www.stjohnspoint.co.uk/grass/ contains the following versions of
libraries:
xdr-4.0-mingw32
proj-4.6.0
gdal-1.5.0
fftw-2.1.5 (this was before I realised FFTW 3.x is OK with GRASS)
tcl-8.5.0
tk-8.5.0

I have copies of all the source packages but I don’t have the
bandwidth/diskspace really to make them available there to download as
well, so this can’t be considered an official binary distribution of them.
Nevertheless I hope it is useful.

I didn’t compile anything else as I found I was able to get all the other
dependencies from GnuWin32 (http://gnuwin32.sourceforge.net/), i.e.
libintl, libjpeg, libpng, zlib, libtiff, freetype, curses. No point in
reinventing the wheel when they are already available in an easy-to-use
format.

The 13MB file includes all the libraries and associated utility programs,
source headers and import libraries etc. necessary for compiling.
Obviously only the .dlls (and maybe even then not all of them) need to go
into a GRASS binary distribution, so the size would be much smaller. It’s
normally useful though to include a couple of the main GDAL utility
programs: gdalwarp, gdalinfo and so on. nad2bin from the PROJ distribution
is required, and cs2cs is very useful.

I realise this is slightly different from the approach Marco is taking, in
that I’m directing people to GnuWin32 for the stuff that they have
available already - again that’s just laziness on my part really but I
think it will be less work in the future.

The great thing about this now is that we can include the Tcl/Tk DLLs in
the binary distribution and don’t have to ask people to install a separate
Tcl/Tk any more.

Also I don’t have a lot of time to maintain this either, but if someone
wants to run a relatively stripped-down WinGRASS and compile it themselves
it might just be useful, so I thought I’d put it out there to complement
Marco’s work.

Paul


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Hello Marco

On Mon, 3 Mar 2008 marco.pasetti@alice.it wrote:

just few questions:
1) did you used /win subdirectory to compile?
2) did you performed make test?

I did it, and had lots of "FAILED"!

I take it we're talking about Tcl? I didn't run make test; just tried it with GRASS and things seemed to work (gis_set.tcl, gis.m and nviz). I think 26 failed tests compared to 23258 passed doesn't sound too bad though!

Paul

On Mon, 3 Mar 2008 marco.pasetti@alice.it wrote:

Hi Paul,

it seems to be a head to head race! :smiley:

anyway... I agree about "not reinventing the wheel"... but sometimes I also think that it's necessary, because not all GnuWin32 libs are updated and, the biggest problem, they are built using VS, not MinGW;

That's not true - see http://gnuwin32.sourceforge.net/summary.html where it says they are all compiled with MinGW and gcc. I've compiled GDAL against them and had no problems.

But no, it's not a race! :slight_smile: I've mean meaning to make the binaries available for two months now and it just seemed like a good time to finally do it.

On Mon, 3 Mar 2008, Hamish wrote:

or open a gmail account, then you get 100MB webspace from
pages.google.com. (the last time I tried the max file size you could
serve was 10MB)

Not a bad idea; am looking into it (to host the source code, just to keep things legal...)

Paul

Thanks for that Paul, the previous precompiled gdal had a bug when
importing files certain files that I needed.

I did come across the problem with libraries not being found:
libpng13.dll and zlib1.dll. I just renamed the files I had (libpng.dll
and libz.dll from the old wingrass-extralibs package) and it seems to
work. Not sure if they were the same version you used though and
whether it'll break something... it seems to be working so far
though...

J

On Mon, Mar 3, 2008 at 11:06 PM, Paul Kelly
<paul-grass@stjohnspoint.co.uk> wrote:

Spurred on by the work that Marco is doing, I've finally got around to
packaging the new versions of essential libraries for WinGRASS that I
compiled a couple of months ago. In case it is helpful to anybody, the
13MB file wingrass-extralibs-20080303.tar.gz now at
http://www.stjohnspoint.co.uk/grass/ contains the following versions of
libraries:
xdr-4.0-mingw32
proj-4.6.0
gdal-1.5.0
fftw-2.1.5 (this was before I realised FFTW 3.x is OK with GRASS)
tcl-8.5.0
tk-8.5.0

I have copies of all the source packages but I don't have the
bandwidth/diskspace really to make them available there to download as
well, so this can't be considered an official binary distribution of them.
Nevertheless I hope it is useful.

I didn't compile anything else as I found I was able to get all the other
dependencies from GnuWin32 (http://gnuwin32.sourceforge.net/), i.e.
libintl, libjpeg, libpng, zlib, libtiff, freetype, curses. No point in
reinventing the wheel when they are already available in an easy-to-use
format.

The 13MB file includes all the libraries and associated utility programs,
source headers and import libraries etc. necessary for compiling.
Obviously only the .dlls (and maybe even then not all of them) need to go
into a GRASS binary distribution, so the size would be much smaller. It's
normally useful though to include a couple of the main GDAL utility
programs: gdalwarp, gdalinfo and so on. nad2bin from the PROJ distribution
is required, and cs2cs is very useful.

I realise this is slightly different from the approach Marco is taking, in
that I'm directing people to GnuWin32 for the stuff that they have
available already - again that's just laziness on my part really but I
think it will be less work in the future.

The great thing about this now is that we can include the Tcl/Tk DLLs in
the binary distribution and don't have to ask people to install a separate
Tcl/Tk any more.

Also I don't have a lot of time to maintain this either, but if someone
wants to run a relatively stripped-down WinGRASS and compile it themselves
it might just be useful, so I thought I'd put it out there to complement
Marco's work.

Paul
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev