[GRASS-dev] WinGRASS-6.3.0RC5 Self Installer

On Mar 11, 2008, at 11:52 AM, grass-dev-request@lists.osgeo.org wrote:

Date: Tue, 11 Mar 2008 13:20:59 +0100
From: <marco.pasetti@alice.it>
Subject: [GRASS-dev] WinGRASS-6.3.0RC5 Self Installer
To: <grass-dev@lists.osgeo.org>
Message-ID: <FBCMMO02dStX1vZq9St0001703d@FBCMMO02.fbc.local>
Content-Type: text/plain; charset="iso-8859-1"

WinGRASS Self Installer has been temporarily deleted from www.laser4000.it/temp/
I'm fixing some minor bugs; it will be available again whithin few hours at another internet location

please be patient :wink: I'm working for you

Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20080311/9512ee49/attachment-0001.html

------------------------------

Marco,

I just want to say thank you again on behalf of all the windows users among my students. As soon as the download location gets worked out, I'll make a general announcement to the class. They'll be thrilled.

Michael

Hi Michael,

Markus has uploaded all my recent jobs (excluding the building guide) at
http://grass.osgeo.org/grass63/binary/mswindows/

Goodnight,

Marco

-----Messaggio originale-----
Da: grass-dev-bounces@lists.osgeo.org
[mailto:grass-dev-bounces@lists.osgeo.org] Per conto di Michael Barton
Inviato: mercoledì 12 marzo 2008 0.43
A: grass-dev@lists.osgeo.org
Oggetto: Re: [GRASS-dev] WinGRASS-6.3.0RC5 Self Installer

On Mar 11, 2008, at 11:52 AM, grass-dev-request@lists.osgeo.org wrote:

Date: Tue, 11 Mar 2008 13:20:59 +0100
From: <marco.pasetti@alice.it>
Subject: [GRASS-dev] WinGRASS-6.3.0RC5 Self Installer
To: <grass-dev@lists.osgeo.org>
Message-ID: <FBCMMO02dStX1vZq9St0001703d@FBCMMO02.fbc.local>
Content-Type: text/plain; charset="iso-8859-1"

WinGRASS Self Installer has been temporarily deleted from
www.laser4000.it/temp/ I'm fixing some minor bugs; it will be
available again whithin few hours at another internet location

please be patient :wink: I'm working for you

Marco
-------------- next part -------------- An HTML attachment was
scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/
20080311/9512ee49/attachment-0001.html

------------------------------

Marco,

I just want to say thank you again on behalf of all the windows users among
my students. As soon as the download location gets worked out, I'll make a
general announcement to the class. They'll be thrilled.

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

Marco,

Thanks very much. Does the wingrass...setup.exe file include tcltk and msys? Or do these need to be installed separately? Also, if msys is already installed, does it need to be installed again from your version?

Thanks
Michael
____________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

On Mar 11, 2008, at 8:03 PM, Marco Pasetti wrote:

Hi Michael,

Markus has uploaded all my recent jobs (excluding the building guide) at
Index of /grass63/binary/mswindows

Goodnight,

Marco

-----Messaggio originale-----
Da: grass-dev-bounces@lists.osgeo.org
[mailto:grass-dev-bounces@lists.osgeo.org] Per conto di Michael Barton
Inviato: mercoledì 12 marzo 2008 0.43
A: grass-dev@lists.osgeo.org
Oggetto: Re: [GRASS-dev] WinGRASS-6.3.0RC5 Self Installer

On Mar 11, 2008, at 11:52 AM, grass-dev-request@lists.osgeo.org wrote:

Date: Tue, 11 Mar 2008 13:20:59 +0100
From: <marco.pasetti@alice.it>
Subject: [GRASS-dev] WinGRASS-6.3.0RC5 Self Installer
To: <grass-dev@lists.osgeo.org>
Message-ID: <FBCMMO02dStX1vZq9St0001703d@FBCMMO02.fbc.local>
Content-Type: text/plain; charset="iso-8859-1"

WinGRASS Self Installer has been temporarily deleted from
www.laser4000.it/temp/ I'm fixing some minor bugs; it will be
available again whithin few hours at another internet location

please be patient :wink: I'm working for you

Marco
-------------- next part -------------- An HTML attachment was
scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/
20080311/9512ee49/attachment-0001.html

------------------------------

Marco,

I just want to say thank you again on behalf of all the windows users among
my students. As soon as the download location gets worked out, I'll make a
general announcement to the class. They'll be thrilled.

Michael
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
grass-dev Info Page

Hi Michael,

Hehehe... I would reply "just try" :wink: ... but it's not politically correct
:wink:

In the pure MS style, installer includes all: tcl/tk, sqlite, postgresql
(the last only dll) built from source, and prebuilt msys from sourceforge
project.

Moreover, the installer procedure forces the user to install GRASS in a path
without spaces, to let it wotk properly, and then dynamically creates:

- grass63.bat, to correctly configure GRASS, basing on user selected install
path
- grass63, to let user launch GRASS from shell (configuring GISBASE and PATH
variables accordingly to selected install path)
- .grassrc6, to avoid the common first GRASS launch error
- desktop shortcut to grass63.bat (to directly launch GRASS 6.3.0RC5)
- StartMenu shortcuts to grass63.bat (to directly launch GRASS 6.3.0RC5) and
msys.bat (to open an MSYS console)

As an option, users can also download and install Spearfish GRASS sample
DataBase during installation.

Am I cool or not?? ;-DDD (I'm joking)

Sorry, but now I need to go to bed. I must wake up until less than 6 hours;
when it's late I have difficulties to write in italian... just imagine if I
must write in english!!

Goodnight

Marco

-----Messaggio originale-----
Da: Michael Barton [mailto:c.michael.barton@gmail.com] Per conto di Michael
Barton
Inviato: mercoledì 12 marzo 2008 1.06
A: Marco Pasetti
Cc: grass-dev@lists.osgeo.org
Oggetto: Re: R: [GRASS-dev] WinGRASS-6.3.0RC5 Self Installer

Marco,

Thanks very much. Does the wingrass...setup.exe file include tcltk and msys?
Or do these need to be installed separately? Also, if msys is already
installed, does it need to be installed again from your version?

Thanks
Michael
____________________
C. Michael Barton, Professor of Anthropology Director of Graduate Studies
School of Human Evolution & Social Change Center for Social Dynamics &
Complexity Arizona State University

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

On Mar 11, 2008, at 8:03 PM, Marco Pasetti wrote:

Hi Michael,

Markus has uploaded all my recent jobs (excluding the building
guide) at
http://grass.osgeo.org/grass63/binary/mswindows/

Goodnight,

Marco

-----Messaggio originale-----
Da: grass-dev-bounces@lists.osgeo.org
[mailto:grass-dev-bounces@lists.osgeo.org] Per conto di Michael Barton
Inviato: mercoledì 12 marzo 2008 0.43
A: grass-dev@lists.osgeo.org
Oggetto: Re: [GRASS-dev] WinGRASS-6.3.0RC5 Self Installer

On Mar 11, 2008, at 11:52 AM, grass-dev-request@lists.osgeo.org wrote:

Date: Tue, 11 Mar 2008 13:20:59 +0100
From: <marco.pasetti@alice.it>
Subject: [GRASS-dev] WinGRASS-6.3.0RC5 Self Installer
To: <grass-dev@lists.osgeo.org>
Message-ID: <FBCMMO02dStX1vZq9St0001703d@FBCMMO02.fbc.local>
Content-Type: text/plain; charset="iso-8859-1"

WinGRASS Self Installer has been temporarily deleted from
www.laser4000.it/temp/ I'm fixing some minor bugs; it will be
available again whithin few hours at another internet location

please be patient :wink: I'm working for you

Marco
-------------- next part -------------- An HTML attachment was
scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/
20080311/9512ee49/attachment-0001.html

------------------------------

Marco,

I just want to say thank you again on behalf of all the windows users
among my students. As soon as the download location gets worked out,
I'll make a general announcement to the class. They'll be thrilled.

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

Marco Pasetti wrote:

As an option, users can also download and install Spearfish GRASS
sample DataBase during installation.

It would be good to also offer the new North Carolina sample dataset.

Another (rather large) missing thing I think is an update to Lorenzo's
Visual introduction to GRASS PDF document for GRASS 6.0. (10 minute
guide from startup through choosing a mapset to displaying your first
map and zooming) We have the RTF sources for that but I was waiting for
Lorenzo's blessing before starting. AFAICT Yann's starter guide is more
of a short course?

Host it in the addons SVN:
http://trac.osgeo.org/grass/browser/grass-addons/tutorials/

Compose it using LaTeX? Or LyX? (like the GEM manual) Or reStructured
text? (not sure how well that works with images)

Hamish

      ____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Hi Hamish,

It would be good to also offer the new North Carolina sample dataset.

roger. I’ll do that in the next release

Another (rather large) missing thing I think is an update to Lorenzo’s

just tell me where to put it

regards,

Marco


Da: Hamish [mailto:hamish_b@yahoo.com]
Inviato: mer 12/03/2008 4.38
A: marco.pasetti@alice.it
Cc: grass-dev@lists.osgeo.org
Oggetto: Re: [GRASS-dev] WinGRASS-6.3.0RC5 Self Installer

Marco Pasetti wrote:

As an option, users can also download and install Spearfish GRASS
sample DataBase during installation.

It would be good to also offer the new North Carolina sample dataset.

Another (rather large) missing thing I think is an update to Lorenzo’s
Visual introduction to GRASS PDF document for GRASS 6.0. (10 minute
guide from startup through choosing a mapset to displaying your first
map and zooming) We have the RTF sources for that but I was waiting for
Lorenzo’s blessing before starting. AFAICT Yann’s starter guide is more
of a short course?

Host it in the addons SVN:
http://trac.osgeo.org/grass/browser/grass-addons/tutorials/

Compose it using LaTeX? Or LyX? (like the GEM manual) Or reStructured
text? (not sure how well that works with images)

Hamish


Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Marco Pasetti wrote:

In the pure MS style, installer includes all: tcl/tk, sqlite, postgresql
(the last only dll) built from source, and prebuilt msys from sourceforge
project.

Please note that, if you provide binaries which are covered by the
GPL, you must provide the corresponding source code for download *from
the same place*. It isn't sufficient to point to the source on a
different site.

Alternatively, you can provide a written offer to supply the source
code upon request, but that means that you have to keep those exact
versions of the source code handy for the next 3 years (the website
where you obtained it may cease to provide it when a new version is
released).

Moreover, the installer procedure forces the user to install GRASS in a path
without spaces, to let it wotk properly,

What's the problem with spaces? If any part of GRASS can't handle
spaces in filenames, that's a bug which should be fixed.

Also, some users may not be able to satisfy that requirement. The
normal location for installing software often has spaces in the
pathname (e.g. "C:\Program Files" on English language versions of
Windows), as does the user's data directory (e.g.
"C:\Documents and Setttings\<username>").

All users can create files in their data directory, while the "Program
Files" directory is normally writable by members of the "Power Users"
group. OTOH, creating a new directory outside of those two locations
may not be possible if the user isn't in the Administrators group.

--
Glynn Clements <glynn@gclements.plus.com>

Hi Glynn,

Please note that, if you provide binaries which are covered by the GPL, you

must provide the corresponding source code for download *from the same
place*. It isn't sufficient to point to the source on a different site.

Alternatively, you can provide a written offer to supply the source code

upon request, but that means that you have to keep those exact versions of
the source code handy for the next 3 years (the website where you obtained
it may cease to provide it when a new version is released).

I think that this is a problem I should don't care, actually. I asked the
list if there were problems about that and I had the green light... If you
don't agree, I think you should discuss the matter with other persons, I
don't have the knowledge to neither reply nor discuss it.

What's the problem with spaces? If any part of GRASS can't handle spaces in

filenames, that's a bug which should be fixed.

I would like to fix the problem too. Actually I spent some time on the
installer script to configure GRASS in order to let it work also in dirs
with spaces (in the first edition, in fact, installer used
%PROGRAMFILES%\GRASS-6.3.0 as standard install dir, that means, for english
versions of Windows, C:\Program Files\GRASS-6.3.0); but, after completing
the installer with success, I discovered that there are many things in GRASS
that definetely don't work because that "spaced" intallation directory: no
help pages, no NVIZ...

I think that forcing users to install GRASS in a "space free" dir is, at the
moment, the only solution to let us distribute winGRASS with a simple
"one-touch" installation procedure. BTW you can consider that if you (user)
have administrative limitations, you can ask your Administrator to let you
install GRASS in C:\GRASS... You're not installing Pacman :wink: ... And then
you can always store and access your data from GRASS in a usual C:\Documents
and settings\Glynn\Documents\Whatever You Want With Lots Of Spaces folder...
It works, I swear :slight_smile:

Marco

-----Messaggio originale-----
Da: Glynn Clements [mailto:glynn@gclements.plus.com]
Inviato: mercoledì 12 marzo 2008 20.34
A: Marco Pasetti
Cc: 'Michael Barton'; grass-dev@lists.osgeo.org
Oggetto: Re: R: R: [GRASS-dev] WinGRASS-6.3.0RC5 Self Installer

Marco Pasetti wrote:

In the pure MS style, installer includes all: tcl/tk, sqlite,
postgresql (the last only dll) built from source, and prebuilt msys
from sourceforge project.

Please note that, if you provide binaries which are covered by the GPL, you
must provide the corresponding source code for download *from the same
place*. It isn't sufficient to point to the source on a different site.

Alternatively, you can provide a written offer to supply the source code
upon request, but that means that you have to keep those exact versions of
the source code handy for the next 3 years (the website where you obtained
it may cease to provide it when a new version is released).

Moreover, the installer procedure forces the user to install GRASS in
a path without spaces, to let it wotk properly,

What's the problem with spaces? If any part of GRASS can't handle spaces in
filenames, that's a bug which should be fixed.

Also, some users may not be able to satisfy that requirement. The normal
location for installing software often has spaces in the pathname (e.g.
"C:\Program Files" on English language versions of Windows), as does the
user's data directory (e.g.
"C:\Documents and Setttings\<username>").

All users can create files in their data directory, while the "Program
Files" directory is normally writable by members of the "Power Users"
group. OTOH, creating a new directory outside of those two locations may not
be possible if the user isn't in the Administrators group.

--
Glynn Clements <glynn@gclements.plus.com>

Marco Pasetti wrote:

>What's the problem with spaces? If any part of GRASS can't handle spaces in
filenames, that's a bug which should be fixed.

I would like to fix the problem too. Actually I spent some time on the
installer script to configure GRASS in order to let it work also in dirs
with spaces (in the first edition, in fact, installer used
%PROGRAMFILES%\GRASS-6.3.0 as standard install dir, that means, for english
versions of Windows, C:\Program Files\GRASS-6.3.0); but, after completing
the installer with success, I discovered that there are many things in GRASS
that definetely don't work because that "spaced" intallation directory: no
help pages, no NVIZ...

Please provide details. What you tried, what happened, any error
messages etc.

The extent to which GRASS works on Windows depends to a very large
extent on whether people who experience problems provide us with
enough information to actually do something about it.

--
Glynn Clements <glynn@gclements.plus.com>

On 12/03/08 21:32, Marco Pasetti wrote:

Hi Glynn,

Please note that, if you provide binaries which are covered by the GPL, you

must provide the corresponding source code for download *from the same
place*. It isn't sufficient to point to the source on a different site.

[...]

I think that this is a problem I should don't care, actually. I asked the
list if there were problems about that and I had the green light... If you
don't agree, I think you should discuss the matter with other persons, I
don't have the knowledge to neither reply nor discuss it.

I don't think this is an appropriate answer. Glynn did not necessarily mean that you are the one that has to host these files. In fact they should be on the osgeo GRASS site next to the installer, but to just shrug it off this way is not the way to go. Making sources available is a fundamental element of free software.

Also, just to correct things a bit, this was discussed before, offlist:

On 29/02/08 18:02, Moritz Lennert wrote:
> On 29/02/08 11:04, marco.pasetti@alice.it wrote:
>
>> >This said, if we start to officially distribute binary packages with
>> the
>> >libraries included, we also have to make the source code of all these
>> >libraries (and obvioiusly of GRASS) available...
>>
>> sorry, that's my fault... :wink: I meant only to prepare a self installer
>> of GRASS
>
> Well, de facto we are already officially distributing packages, but they
> have been declared "experimental", so maybe we can argue this as an
> excuse. I always meant to do the work you just did and recompile
> everything and then keep the source code. I think that if you could
> provide the binary package plus a directory which contains all the
> source tarballs you used and your compilation information, this would be
> perfect. If you rather have me host these files, I can do so as well.

So, to shorten a long discussion, I just used this simple command line to download all the source packages mentioned in your guide:

for i in `grep "source code" BuildFromSource.html | awk -F'=' '{print $3}' | awk -F'"' '{print $2}' | sort`; do wget $i; done

And I downloaded the msys, flex and bison sources manually.

Everything is available at http://geog-pc40.ulb.ac.be/grass/wingrass/wingrass_sources/ including the version of the GRASS sources you used (don't think this is necessary, but just to be complete). All packages are available individually, and there also is a wingrass_sources.tar which contains them all.

Maybe Markus can just get the tar and put it on the download site next to the installer ?

I hope you understand that this is an attempt to make your work even more perfect than it already is :slight_smile:

What's the problem with spaces? If any part of GRASS can't handle spaces in

filenames, that's a bug which should be fixed.

I think that forcing users to install GRASS in a "space free" dir is, at the
moment, the only solution to let us distribute winGRASS with a simple
"one-touch" installation procedure.

Again, I agree with Glynn: if there is a problem let's try to fix it and not circumvent it. Your great installer will help a lot in getting people to install and test GRASS on windows, but if we already force such "solutions" on them, they will not be able to correctly detect the problem. Is there a way of just making the installer print a warning, instead of breaking off the installation procedure.

Just looking at your building guide [2], I see that you do not do a 'make install' but copy the files directly from the dist.* dir to $GISBASE. Actually the 'make install' step is necessary as this corrects a series of path issues in the files for windows. This might be the cause of your problems with spaces (although I'm only guessing - I'll try to install my package in a directory with spaces to test). Any specific reason why you did not want to go through the make install step ?

Moritz

[1]
- MSYS (1.0.11)
- Flex (2.5.4a-1)
- Bison (2.1)
- Zlib (1.2.3)
- Libpng (1.2.24)
- Libtiff (3.8.2)
- Xdr (4.0)
- Freetype (2.3.5)
- FFTW (3.1.2)
- PDCurses (3.3)
- PROJ.4 (4.6.0)
- GEOS (2.2.3)
- PostgreSQL (8.2.6)
- SQLite (3.5.6)
- GDAL (1.5.0) *
- Tcl/Tk (8.5.1)

[2] http://www.webalice.it/marco.pasetti/grass/BuildFromSource.html

Hi all,

sorry for the late, I’m really drowning in workflows…

I don’t think this is an appropriate answer.

I’m really afraid, I didn’t want to give a “bad” answer! I apologise if I did something wrong!

to just
shrug it off this way is not the way to go.

again, I’m afraid, but sometimes my english fails, specially on late hours, when I’m tired and not enough focused on what I’m doing… but I did’nt want to shrug it off that way, I just meant to say that I’m absolutely NOT an expert in the matter of licenses, software rights, and so on… so I couldn’t really reply or discuss on the matter! I just execute what you suggest…

Also, just to correct things a bit, this was discussed before, offlist:

actually, I completely missed it, sorry! probably, when I prepared the msys environment package, before to compile installer, I just thought that everything was done… I forgot that part of the mail. I apologise.

Again, I agree with Glynn: if there is a problem let’s try to fix it and
not circumvent it. Your great installer will help a lot in getting
people to install and test GRASS on windows, but if we already force
such “solutions” on them, they will not be able to correctly detect the
problem. Is there a way of just making the installer print a warning,
instead of breaking off the installation procedure.

I decided to force a “working installation” for the following reason: the aim of all this work is, obviously, to spread GRASS as most as possible, because there are a lot of Windows users out there… so, to convince them to use GRASS, we need to be sure that it will definetely work on their machines, because Windows users are not used to test software and report bugs… they just use it, and when it doesn’t work (for many reasons, also because they didn’t followed installation warnings, and they’re used to) they just say: “I told you! opensource softwares are good only for listen music or let kids chat with friends! if you need it for your job, you must buy a commercial fully working release!”

This said, if you prefer to not have a forced installation, I’ll prepare a only warnings one; just tell me what I have to do…

Marco


Da: Moritz Lennert [mailto:mlennert@club.worldonline.be]
Inviato: gio 13/03/2008 11.50
A: marco.pasetti@alice.it
Cc: ‘Glynn Clements’; ‘Michael Barton’; grass-dev@lists.osgeo.org
Oggetto: Re: R: R: R: [GRASS-dev] WinGRASS-6.3.0RC5 Self Installer

On 12/03/08 21:32, Marco Pasetti wrote:

Hi Glynn,

Please note that, if you provide binaries which are covered by the GPL, you
must provide the corresponding source code for download from the same
place
. It isn’t sufficient to point to the source on a different site.

[…]

I think that this is a problem I should don’t care, actually. I asked the
list if there were problems about that and I had the green light… If you
don’t agree, I think you should discuss the matter with other persons, I
don’t have the knowledge to neither reply nor discuss it.

I don’t think this is an appropriate answer. Glynn did not necessarily
mean that you are the one that has to host these files. In fact they
should be on the osgeo GRASS site next to the installer, but to just
shrug it off this way is not the way to go. Making sources available is
a fundamental element of free software.

Also, just to correct things a bit, this was discussed before, offlist:

On 29/02/08 18:02, Moritz Lennert wrote:

On 29/02/08 11:04, marco.pasetti@alice.it wrote:

This said, if we start to officially distribute binary packages with
the
libraries included, we also have to make the source code of all these
libraries (and obvioiusly of GRASS) available…

sorry, that’s my fault… :wink: I meant only to prepare a self installer
of GRASS

Well, de facto we are already officially distributing packages, but they
have been declared “experimental”, so maybe we can argue this as an
excuse. I always meant to do the work you just did and recompile
everything and then keep the source code. I think that if you could
provide the binary package plus a directory which contains all the
source tarballs you used and your compilation information, this would be
perfect. If you rather have me host these files, I can do so as well.

So, to shorten a long discussion, I just used this simple command line
to download all the source packages mentioned in your guide:

for i in grep "source code" BuildFromSource.html | awk -F'=' '{print $3}' | awk -F'"' '{print $2}' | sort; do wget $i; done

And I downloaded the msys, flex and bison sources manually.

Everything is available at
http://geog-pc40.ulb.ac.be/grass/wingrass/wingrass_sources/ including
the version of the GRASS sources you used (don’t think this is
necessary, but just to be complete). All packages are available
individually, and there also is a wingrass_sources.tar which contains
them all.

Maybe Markus can just get the tar and put it on the download site next
to the installer ?

I hope you understand that this is an attempt to make your work even
more perfect than it already is :slight_smile:

What’s the problem with spaces? If any part of GRASS can’t handle spaces in
filenames, that’s a bug which should be fixed.

I think that forcing users to install GRASS in a “space free” dir is, at the
moment, the only solution to let us distribute winGRASS with a simple
“one-touch” installation procedure.

Again, I agree with Glynn: if there is a problem let’s try to fix it and
not circumvent it. Your great installer will help a lot in getting
people to install and test GRASS on windows, but if we already force
such “solutions” on them, they will not be able to correctly detect the
problem. Is there a way of just making the installer print a warning,
instead of breaking off the installation procedure.

Just looking at your building guide [2], I see that you do not do a
‘make install’ but copy the files directly from the dist.* dir to
$GISBASE. Actually the ‘make install’ step is necessary as this corrects
a series of path issues in the files for windows. This might be the
cause of your problems with spaces (although I’m only guessing - I’ll
try to install my package in a directory with spaces to test). Any
specific reason why you did not want to go through the make install step ?

Moritz

[1]

  • MSYS (1.0.11)
  • Flex (2.5.4a-1)
  • Bison (2.1)
  • Zlib (1.2.3)
  • Libpng (1.2.24)
  • Libtiff (3.8.2)
  • Xdr (4.0)
  • Freetype (2.3.5)
  • FFTW (3.1.2)
  • PDCurses (3.3)
  • PROJ.4 (4.6.0)
  • GEOS (2.2.3)
  • PostgreSQL (8.2.6)
  • SQLite (3.5.6)
  • GDAL (1.5.0) *
  • Tcl/Tk (8.5.1)

[2] http://www.webalice.it/marco.pasetti/grass/BuildFromSource.html

On 14/03/08 10:25, marco.pasetti@alice.it wrote:

Hi all,
sorry for the late, I'm really drowning in workflows...
  >I don't think this is an appropriate answer.
I'm really afraid, I didn't want to give a "bad" answer! I apologise if I did something wrong!

No problem.

This said, if you prefer to not have a *forced* installation, I'll prepare a *only warnings* one; just tell me what I have to do...

+1 for the "only warnings" version.

Moritz

Hi,

Please, suggest me also the message to display.
Benjamin suggested as follows:

“WARNING: you are about to install GRASS into a directory that has spaces in either its name or the path of directories leading up to it. You may go ahead, but expect trouble and weird behaviour from GRASS modules. It is highly recommended to choose a simple installation path without spaces such as: C:\GRASS.”

Marco


Da: Moritz Lennert [mailto:mlennert@club.worldonline.be]
Inviato: ven 14/03/2008 10.38
A: marco.pasetti@alice.it
Cc: Glynn Clements; Michael Barton; grass-dev@lists.osgeo.org
Oggetto: Re: WinGRASS-6.3.0RC5 Self Installer

On 14/03/08 10:25, marco.pasetti@alice.it wrote:

Hi all,

sorry for the late, I’m really drowning in workflows…

I don’t think this is an appropriate answer.

I’m really afraid, I didn’t want to give a “bad” answer! I apologise if
I did something wrong!

No problem.

This said, if you prefer to not have a forced installation, I’ll
prepare a only warnings one; just tell me what I have to do…

+1 for the “only warnings” version.

Moritz

On 14/03/08 12:08, marco.pasetti@alice.it wrote:

Hi,
Please, suggest me also the message to display.
Benjamin suggested as follows:

"WARNING: you are about to install GRASS into a directory that has spaces in either its name or the path of directories leading up to it. You may go ahead, but expect trouble and weird behaviour from GRASS modules. It is highly recommended to choose a simple installation path without spaces such as: C:\GRASS."

I find this a bit too strong. How about

"WARNING: you are about to install GRASS into a directory that has
spaces in either its name or the path of directories leading up to it.
Some functionalities of GRASS might be hampered by this. We would highly appreciate if you tried and reported any problems, so that we can fix them. However, if you want to avoid any such issues, we recommended that you choose a simple installation path without spaces such as: C:\GRASS."

Moritz

Marco

------------------------------------------------------------------------
*Da:* Moritz Lennert [mailto:mlennert@club.worldonline.be]
*Inviato:* ven 14/03/2008 10.38
*A:* marco.pasetti@alice.it
*Cc:* Glynn Clements; Michael Barton; grass-dev@lists.osgeo.org
*Oggetto:* Re: WinGRASS-6.3.0RC5 Self Installer

On 14/03/08 10:25, marco.pasetti@alice.it wrote:
> Hi all,
> > sorry for the late, I'm really drowning in workflows...
> > >I don't think this is an appropriate answer.
> > I'm really afraid, I didn't want to give a "bad" answer! I apologise if
> I did something wrong!

No problem.
> > This said, if you prefer to not have a *forced* installation, I'll
> prepare a *only warnings* one; just tell me what I have to do...

+1 for the "only warnings" version.

Moritz

Very clear. For a bit more optimistic message…

“WARNING: you are about to install GRASS into a directory that has spaces in either its name or the path of directories leading up to it. You may go ahead, but without customization of some GRASS modules, you may encounter unexpected behaviour or failure of some functions. It is highly recommended to choose a simple installation path without spaces such as: C:\GRASS.”

Michael


C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

On Mar 14, 2008, at 4:08 AM, <marco.pasetti@alice.it> wrote:

Hi,

Please, suggest me also the message to display.
Benjamin suggested as follows:

“WARNING: you are about to install GRASS into a directory that has spaces in either its name or the path of directories leading up to it. You may go ahead, but expect trouble and weird behaviour from GRASS modules. It is highly recommended to choose a simple installation path without spaces such as: C:\GRASS.”

Marco


Da: Moritz Lennert [mailto:mlennert@club.worldonline.be]
Inviato: ven 14/03/2008 10.38
A: marco.pasetti@alice.it
Cc: Glynn Clements; Michael Barton; grass-dev@lists.osgeo.org
Oggetto: Re: WinGRASS-6.3.0RC5 Self Installer

On 14/03/08 10:25, marco.pasetti@alice.it wrote:

Hi all,

sorry for the late, I’m really drowning in workflows…

I don’t think this is an appropriate answer.

I’m really afraid, I didn’t want to give a “bad” answer! I apologise if
I did something wrong!

No problem.

This said, if you prefer to not have a forced installation, I’ll
prepare a only warnings one; just tell me what I have to do…

+1 for the “only warnings” version.

Moritz

I like this.

Michael
____________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

On Mar 14, 2008, at 5:24 AM, Moritz Lennert wrote:

On 14/03/08 12:08, marco.pasetti@alice.it wrote:

Hi,
Please, suggest me also the message to display.
Benjamin suggested as follows:
"WARNING: you are about to install GRASS into a directory that has spaces in either its name or the path of directories leading up to it. You may go ahead, but expect trouble and weird behaviour from GRASS modules. It is highly recommended to choose a simple installation path without spaces such as: C:\GRASS."

I find this a bit too strong. How about

"WARNING: you are about to install GRASS into a directory that has
spaces in either its name or the path of directories leading up to it.
Some functionalities of GRASS might be hampered by this. We would highly appreciate if you tried and reported any problems, so that we can fix them. However, if you want to avoid any such issues, we recommended that you choose a simple installation path without spaces such as: C:\GRASS."

Moritz

Marco
------------------------------------------------------------------------
*Da:* Moritz Lennert [mailto:mlennert@club.worldonline.be]
*Inviato:* ven 14/03/2008 10.38
*A:* marco.pasetti@alice.it
*Cc:* Glynn Clements; Michael Barton; grass-dev@lists.osgeo.org
*Oggetto:* Re: WinGRASS-6.3.0RC5 Self Installer
On 14/03/08 10:25, marco.pasetti@alice.it wrote:
> Hi all,
> > sorry for the late, I'm really drowning in workflows...
> > >I don't think this is an appropriate answer.
> > I'm really afraid, I didn't want to give a "bad" answer! I apologise if
> I did something wrong!
No problem.
> > This said, if you prefer to not have a *forced* installation, I'll
> prepare a *only warnings* one; just tell me what I have to do...
+1 for the "only warnings" version.
Moritz

marco.pasetti@alice.it wrote:

>Again, I agree with Glynn: if there is a problem let's try to fix it and
not circumvent it. Your great installer will help a lot in getting
people to install and test GRASS on windows, but if we already force
such "solutions" on them, they will not be able to correctly detect the
problem. Is there a way of just making the installer print a warning,
instead of breaking off the installation procedure.

I decided to force a "working installation" for the following
reason: the aim of all this work is, obviously, to spread GRASS as
most as possible, because there are a lot of Windows users out
there... so, to convince them to use GRASS, we need to be sure that
it will definetely work on their machines, because Windows users are
not used to *test* software and report bugs... they just use it, and
when it doesn't work (for many reasons, also because they didn't
followed installation warnings, and they're used to) they just say:
"I told you! opensource softwares are good only for listen music or
let kids chat with friends! if you need it for your job, you must
buy a commercial fully working release!"

You seem to be overlooking one major point: WinGRASS is currently at
an *alpha* stage. Anyone who isn't willing to tolerate some bugs and
rough edges is going to be unhappy with it.

Right now, we need more "testers" for Windows. We don't need more
"users".

In fact, I'm quite worried that the main consequence of an easy-to-use
installer could be a large number of useless bug reports which don't
provide any useful information and just end up distracting (and
possibly de-motivating) the developers who are working on the Windows
version.

Anyone who wants a robust version of GRASS for Windows should be using
the Cygwin version.

--
Glynn Clements <glynn@gclements.plus.com>

Hi,

I forgot to reply to *this* in the previous mail:

Just looking at your building guide [2], I see that you do not do a 'make

install' but copy the files directly from the dist.* dir to $GISBASE.
Actually the 'make install' step is necessary as this corrects a series of
path issues in the files for windows. This might be the cause of your
problems with spaces (although I'm only guessing - I'll try to install my
package in a directory with spaces to test). Any specific reason why you did
not want to go through the make install step ?

Sorry, but it don't definetely depends on it. *make install* windows path
corrections are only for the selected installation, so, if you want to
install on another machine, you must repeat all those *corrections* starting
from build files folder; and its exactly what I did with my install script;
but it remains the fact that, if you select a installation dir with spaces,
it creates errors such as:

- No help pages from main help menu (no message displayed)
- No NVIZ (child process exited abnormally)

Marco

-----Messaggio originale-----
Da: Moritz Lennert [mailto:mlennert@club.worldonline.be]
Inviato: giovedì 13 marzo 2008 11.51
A: Marco Pasetti
Cc: 'Glynn Clements'; 'Michael Barton'; grass-dev@lists.osgeo.org
Oggetto: Re: R: R: R: [GRASS-dev] WinGRASS-6.3.0RC5 Self Installer

On 12/03/08 21:32, Marco Pasetti wrote:

Hi Glynn,

Please note that, if you provide binaries which are covered by the
GPL, you

must provide the corresponding source code for download *from the same
place*. It isn't sufficient to point to the source on a different site.

[...]

I think that this is a problem I should don't care, actually. I asked
the list if there were problems about that and I had the green
light... If you don't agree, I think you should discuss the matter
with other persons, I don't have the knowledge to neither reply nor

discuss it.

I don't think this is an appropriate answer. Glynn did not necessarily mean
that you are the one that has to host these files. In fact they should be on
the osgeo GRASS site next to the installer, but to just shrug it off this
way is not the way to go. Making sources available is a fundamental element
of free software.

Also, just to correct things a bit, this was discussed before, offlist:

On 29/02/08 18:02, Moritz Lennert wrote:
> On 29/02/08 11:04, marco.pasetti@alice.it wrote:
>
>> >This said, if we start to officially distribute binary packages with

the >> >libraries included, we also have to make the source code of all

these >> >libraries (and obvioiusly of GRASS) available...
>>
>> sorry, that's my fault... :wink: I meant only to prepare a self installer

of GRASS > > Well, de facto we are already officially distributing

packages, but they > have been declared "experimental", so maybe we can
argue this as an > excuse. I always meant to do the work you just did and
recompile > everything and then keep the source code. I think that if you
could > provide the binary package plus a directory which contains all the

source tarballs you used and your compilation information, this would be
perfect. If you rather have me host these files, I can do so as well.

So, to shorten a long discussion, I just used this simple command line to
download all the source packages mentioned in your guide:

for i in `grep "source code" BuildFromSource.html | awk -F'=' '{print $3}' |
awk -F'"' '{print $2}' | sort`; do wget $i; done

And I downloaded the msys, flex and bison sources manually.

Everything is available at
http://geog-pc40.ulb.ac.be/grass/wingrass/wingrass_sources/ including the
version of the GRASS sources you used (don't think this is necessary, but
just to be complete). All packages are available individually, and there
also is a wingrass_sources.tar which contains them all.

Maybe Markus can just get the tar and put it on the download site next to
the installer ?

I hope you understand that this is an attempt to make your work even more
perfect than it already is :slight_smile:

What's the problem with spaces? If any part of GRASS can't handle
spaces in

filenames, that's a bug which should be fixed.

I think that forcing users to install GRASS in a "space free" dir is,
at the moment, the only solution to let us distribute winGRASS with a
simple "one-touch" installation procedure.

Again, I agree with Glynn: if there is a problem let's try to fix it and not
circumvent it. Your great installer will help a lot in getting people to
install and test GRASS on windows, but if we already force such "solutions"
on them, they will not be able to correctly detect the problem. Is there a
way of just making the installer print a warning, instead of breaking off
the installation procedure.

Just looking at your building guide [2], I see that you do not do a 'make
install' but copy the files directly from the dist.* dir to $GISBASE.
Actually the 'make install' step is necessary as this corrects a series of
path issues in the files for windows. This might be the cause of your
problems with spaces (although I'm only guessing - I'll try to install my
package in a directory with spaces to test). Any specific reason why you did
not want to go through the make install step ?

Moritz

[1]
- MSYS (1.0.11)
- Flex (2.5.4a-1)
- Bison (2.1)
- Zlib (1.2.3)
- Libpng (1.2.24)
- Libtiff (3.8.2)
- Xdr (4.0)
- Freetype (2.3.5)
- FFTW (3.1.2)
- PDCurses (3.3)
- PROJ.4 (4.6.0)
- GEOS (2.2.3)
- PostgreSQL (8.2.6)
- SQLite (3.5.6)
- GDAL (1.5.0) *
- Tcl/Tk (8.5.1)

[2] http://www.webalice.it/marco.pasetti/grass/BuildFromSource.html

Glynn,

In fact, I'm quite worried that the main consequence of an easy-to-use

installer could be a large number of useless bug reports which don't provide
any useful information and just end up distracting (and possibly
de-motivating) the developers who are working on the Windows version.

Anyone who wants a robust version of GRASS for Windows should be using the

Cygwin version.

Thanks a lot for de-motivating ME on working this way!
Actually, I really could have spent all those hours and energies to do
something else, ...my thesis, for example.
If you think that my work is not only useless for WinGRASS, but even
counterproductive for it, I can stop it right now. It really would be a
great saving of wasted time!

Marco

-----Messaggio originale-----
Da: Glynn Clements [mailto:glynn@gclements.plus.com]
Inviato: venerdì 14 marzo 2008 20.34
A: marco.pasetti@alice.it
Cc: Moritz Lennert; Michael Barton; grass-dev@lists.osgeo.org
Oggetto: Re: [GRASS-dev] WinGRASS-6.3.0RC5 Self Installer

marco.pasetti@alice.it wrote:

>Again, I agree with Glynn: if there is a problem let's try to fix it
>and
not circumvent it. Your great installer will help a lot in getting
people to install and test GRASS on windows, but if we already force
such "solutions" on them, they will not be able to correctly detect
the problem. Is there a way of just making the installer print a
warning, instead of breaking off the installation procedure.

I decided to force a "working installation" for the following
reason: the aim of all this work is, obviously, to spread GRASS as
most as possible, because there are a lot of Windows users out
there... so, to convince them to use GRASS, we need to be sure that it
will definetely work on their machines, because Windows users are not
used to *test* software and report bugs... they just use it, and when
it doesn't work (for many reasons, also because they didn't followed
installation warnings, and they're used to) they just say:
"I told you! opensource softwares are good only for listen music or
let kids chat with friends! if you need it for your job, you must buy
a commercial fully working release!"

You seem to be overlooking one major point: WinGRASS is currently at an
*alpha* stage. Anyone who isn't willing to tolerate some bugs and rough
edges is going to be unhappy with it.

Right now, we need more "testers" for Windows. We don't need more "users".

In fact, I'm quite worried that the main consequence of an easy-to-use
installer could be a large number of useless bug reports which don't provide
any useful information and just end up distracting (and possibly
de-motivating) the developers who are working on the Windows version.

Anyone who wants a robust version of GRASS for Windows should be using the
Cygwin version.

--
Glynn Clements <glynn@gclements.plus.com>

Sorry, confused: what?

This

"WARNING: you are about to install GRASS into a directory that has spaces in
either its name or the path of directories leading up to it.
Some functionalities of GRASS might be hampered by this. We would highly
appreciate if you tried and reported any problems, so that we can fix them.
However, if you want to avoid any such issues, we recommended that you
choose a simple installation path without spaces such as: C:\GRASS."

Or this?

"WARNING: you are about to install GRASS into a directory that has spaces in
either its name or the path of directories leading up to it. You may go
ahead, but without customization of some GRASS modules, you may encounter
unexpected behaviour or failure of some functions. It is highly recommended
to choose a simple installation path without spaces such as: C:\GRASS."

Marco

-----Messaggio originale-----
Da: Michael Barton [mailto:c.michael.barton@gmail.com] Per conto di Michael
Barton
Inviato: venerdì 14 marzo 2008 16.24
A: Moritz Lennert
Cc: marco.pasetti@alice.it; Glynn Clements; grass-dev@lists.osgeo.org
Oggetto: Re: R: WinGRASS-6.3.0RC5 Self Installer

I like this.

Michael
____________________
C. Michael Barton, Professor of Anthropology Director of Graduate Studies
School of Human Evolution & Social Change Center for Social Dynamics &
Complexity Arizona State University

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

On Mar 14, 2008, at 5:24 AM, Moritz Lennert wrote:

On 14/03/08 12:08, marco.pasetti@alice.it wrote:

Hi,
Please, suggest me also the message to display.
Benjamin suggested as follows:
"WARNING: you are about to install GRASS into a directory that has
spaces in either its name or the path of directories leading up to
it. You may go ahead, but expect trouble and weird behaviour from
GRASS modules. It is highly recommended to choose a simple
installation path without spaces such as: C:\GRASS."

I find this a bit too strong. How about

"WARNING: you are about to install GRASS into a directory that has
spaces in either its name or the path of directories leading up to it.
Some functionalities of GRASS might be hampered by this. We would
highly appreciate if you tried and reported any problems, so that we
can fix them. However, if you want to avoid any such issues, we
recommended that you choose a simple installation path without spaces
such as: C:\GRASS."

Moritz

Marco
---------------------------------------------------------------------
---
*Da:* Moritz Lennert [mailto:mlennert@club.worldonline.be]
*Inviato:* ven 14/03/2008 10.38
*A:* marco.pasetti@alice.it
*Cc:* Glynn Clements; Michael Barton; grass-dev@lists.osgeo.org
*Oggetto:* Re: WinGRASS-6.3.0RC5 Self Installer On 14/03/08 10:25,
marco.pasetti@alice.it wrote:
> Hi all,
> > sorry for the late, I'm really drowning in workflows...
> > >I don't think this is an appropriate answer.
> > I'm really afraid, I didn't want to give a "bad" answer! I
apologise if > I did something wrong!
No problem.
> > This said, if you prefer to not have a *forced* installation,
I'll > prepare a *only warnings* one; just tell me what I have to
do...
+1 for the "only warnings" version.
Moritz