[GRASSLIST:10597] Re: GRASS 6.1cvs gis.m error

Michael Barton michael.barton at asu.edu
Sun Feb 26 16:37:02 EST 2006


Peter,

It may well be the case that your v.what is newer than the one in the
package from my website. Now that it is in the CVS, you should use that one
instead of the one in the package on my website. I will take that one out so
as not to confuse anyone.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton



> From: "Ing.Peter Misovic" <peter.misovic at gmail.com>
> Date: Sun, 26 Feb 2006 21:37:26 +0100
> To: GRASSLIST <GRASSLIST at baylor.edu>
> Cc: Michael Barton <michael.barton at asu.edu>, Glynn Clements
> <glynn at gclements.plus.com>
> Subject: Re: [GRASSLIST:10572] GRASS 6.1cvs gis.m error
> 
> Things are going to be complicated. As I wrote, I started gis.m from
> directory with right permissions and it works fine. I liked to try
> last gis.m from your site Michael. So I copied sources of v.what into
> vector folder of Grass and started to configure and make Grass again
> (if I understand it, I have to do that way) - to make newer version od
> v.what. But :
> 
> ****************
> Generating HTML manual pages index (help system)...
> Generated HTML docs in ../dist.i686-pc-linux-gnu/docs/html/index.html
> ----------------------------------------------------------------------
> Following modules are missing the 'description.html' file in src code:
> g.pnmcomp
> ----------------------------------------------------------------------
> GRASS GIS compilation log
> -------------------------
> Started compilation: Sun Feb 26 21:10:15 CET 2006
> --
> Errors in:
> /home/misovic/download/gis/grass/grass-6.1.cvs_src_snapshot_2006_02_20/raster/
> r.le/r.le.setup
> /home/misovic/download/gis/grass/grass-6.1.cvs_src_snapshot_2006_02_20/vector/
> v.what
> --
> Finished compilation: Sun Feb 26 21:27:04 CET 2006
> (In case of errors please change into the directory with error and run 'make')
> *********
> 
> I tried to make it directly in v.what folder but :
> 
> *********
> [misovic at thailon v.what]$ make
> gcc 
> -I/home/misovic/download/gis/grass/grass-6.1.cvs_src_snapshot_2006_02_20/dist.
> i686-pc-linux-gnu/include
>  -O3 -mcpu=pentium4 -Wall  -Wall -Wconversion -Wno-implicit-int
> -I/usr/local/include     -DPACKAGE=\""grassmods"\"
> -I/home/misovic/download/gis/grass/grass-6.1.cvs_src_snapshot_2006_02_20/dist.
> i686-pc-linux-gnu/include
> \
>         -o OBJ.i686-pc-linux-gnu/main.o -c main.c
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> main.c:24:21: glocale.h: No such file or directory
> main.c:25:17: gis.h: No such file or directory
> main.c:27:18: Vect.h: No such file or directory
> main.c:28:20: raster.h: No such file or directory
> main.c:30:18: dbmi.h: No such file or directory
> main.c:32:20: config.h: No such file or directory
> main.c: In function `main':
> main.c:40: error: storage size of 'window' isn't known
> *********
> 
> 
> Please, would I stay with old v.what from
> grass-6.1.cvs_src_snapshot_2006_02_20 in combination with news gis.m
> and gm folder or is better to make it with untouched original source
> of CVS Grass.
> 
> 
> Thank you,
> if it is just because of development I understand and I shall wait.
> 
> Peter
> 
> 
> 
> 
> 
> 
> On 2/26/06, Ing.Peter Misovic <peter.misovic at gmail.com> wrote:
>> Yes, I understand the concept. It works fine now. I've started Grass
>> from folder with limited write permissions.
>> 
>> I have question in regard of this issue. Is it problem to find out in
>> script (code) from system WHO is starting script ? If it is not, the
>> script could create temp (etc.) files directly into home directory of
>> user who has started this script. Even if the sctipt is not starting
>> from user's home directory.
>> 
>> 
>> Peter
>> 
>> 
>> 
>> On 2/26/06, Glynn Clements <glynn at gclements.plus.com> wrote:
>>> 
>>> Ing.Peter Misovic wrote:
>>> 
>>>> I'd like to ask you for help with gis.m Grass manager. Manager is not
>>>> starting properly 'cause it is crashing with following error :
>>> 
>>>> ERROR: PNG: couldn't open output file dispmon_1.ppm
>>> 
>>> The PNG driver is trying to save its files in the current directory.
>>> If you don't have write permission on that directory, it will fail.
>>> Similarly, if the file already exists but you don't have write
>>> permission on it, it will fail.
>>> 
>>> ISTR that later versions of gis.m tell the PNG driver to put the files
>>> in a temporary directory.
>>> 
>>> Either cd to a directory for which you have write permission, or
>>> update to a more recent version of gis.m. In any event, you should do
>>> the latter sooner rather than later, as gis.m is under active
>>> development.
>>> 
>>> --
>>> Glynn Clements <glynn at gclements.plus.com>
>>> 
>> 




More information about the grass-user mailing list