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

Markus Neteler neteler at itc.it
Sun Feb 26 15:57:07 EST 2006


On Sun, Feb 26, 2006 at 09:37:26PM +0100, Ing.Peter Misovic wrote:
> 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


g.pnmcomp is still lacking a description.html file. If not intented
to the end user, it should probably go into ETC?

> ----------------------------------------------------------------------
> 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

Can you please go into the r.le.setup directory and run make?

> /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
> *********


did you run 'configure' as well?
The position of the include files was modified recently.

Markus

 
> 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>
> > >
> >
> 

-- 
Markus Neteler     <neteler itc it>       http://mpa.itc.it
ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy




More information about the grass-user mailing list