[GRASS5] problem compiling 57

Markus Neteler neteler at itc.it
Wed Nov 10 02:23:44 EST 2004


Ciao Ivan,

tcl/tk8.4 works well (probably only on non-Debian systems?).
At least with Mdk10.0.

On Tue, Nov 09, 2004 at 07:52:23PM +0100, ivan marchesini wrote:
> Dear Marcus...., dear all
> I have done what you said...
> I entered the grass source cvs location....
> I did 
> __________
> cvs up -dP

ok

 
> then configure:
> 
> __________________________________________________________________
> CFLAGS="-g -Wall" ./configure
> --with-grass50=/home/simona/Documents/GRASS/grass53_exp_2004_11_06/
> --with-tcltk-includes=/usr/include/ --with-postgres=no
> --with-opengl-includes=/usr/X11R6/include/GL/ --without-odbc
> --without-fftw --with-proj=yes
> __________________________________________________________________
> 
> (is correct??? because I'm not sure to have understood you previous
> e-mail....  I still need the 53cvs source code to compile CVS,  it's
> only not necessary to compile 53.....)

- it was never required to compile G5.3
- since yesterday: not even the source code of 5.3 is required any more
  (in italiano: non ti serve piu' il codice sorgente di 5.3; basta
   il codice di 5.7) 
 
Additionally, please add above
 --with-freetype  --with-freetype-includes=/usr/include/freetype2

So completely:
CFLAGS="-g -Wall" ./configure \
 --with-postgres=no \
 --with-opengl-includes=/usr/X11R6/include/GL \
 --without-odbc \
 --without-fftw \
 --with-freetype  --with-freetype-includes=/usr/include/freetype2


> then
> ______
> make
> ________
> 
> and the error.log is this:
> 
> __________________________________________________________
> 
> GRASS GIS compilation log
> -------------------------
> Started compilation: mar nov  9 19:10:18 CET 2004
> Errors in:
> /home/simona/Documents/GRASS/grass57_exp_2004_11_06/display/drivers/XDRIVER/XDRIVER24
> /home/simona/Documents/GRASS/grass57_exp_2004_11_06/display/drivers/PNG
> /home/simona/Documents/GRASS/grass57_exp_2004_11_06/raster3d/r3.showdspf
> Finished compilation: mar nov  9 19:28:03 CET 2004
> _______________________________________________________________
> 
> there is the error on the XDRIVER24.....  
> I have made some errors during the CVS update??????????

No. But the currently required Freetype2 was not defined above.
Please add it to compile the XDRIVER.

hope this helps

 Markus

> Il mar, 2004-11-09 alle 18:59, Markus Neteler ha scritto:
> > On Tue, Nov 09, 2004 at 06:54:17PM +0100, ivan marchesini wrote:
> > > Dear Marcus, dear all....
> > > after the ./configure process I obtained the make script opengl
> > > configured...... so I'm sure to have the opengl....
> > 
> > 
> > so configure states that OpenGL is there?
> > Good.
> >  
> > > anyway....I have another problem:
> > > 
> > > later I decided to try with CVS ....
> > > I have compiled 53CVS correctly and then I started to compile 57CVS with
> > 
> > The *compilation* if 5.3 is not required.
> > >From today CVS onwards not even the 5.3 source code is any more required.
> > 
> > > ....
> > > all works well....
> > > and at the end I obtained the grass57 compiled....
> > > the problem is that I'm not able to start
> > > monitors....!!!!!!!!!!!!!!!!!!!!
> > 
> > Don't panic :-)
> > 
> > > after d.mon start=x0 I obtain this:
> > > _____________________________________________________
> > > Could not execute monitor: No such file or directory
> > > No socket to connect to for monitor <x1>.
> > > Problem selecting x1. Will try once more
> > > No socket to connect to for monitor <x1>.
> > > _____________________________________________________
> > > 
> > 
> > Yes, it was simply not compiled.
> > 
> > > going into details:
> > > 
> > 
> > The details we need here are the contents
> > of the error.log which is displayed after compilation.
> > If there is an error, it should be fixed first.
> > 
> > How to find out:
> > - go into the directory where the error occured
> > - run 'make' there
> > - analyse and/or send the error message
> > 
> > Please, before trying, update from CVS as I have fixed
> > a bug in the XDRIVER (see mailing list).
> > 
> > #in grass57 main source dir
> > cvs up -dP
> > 
> > #Watch out for problems as usual.
> > #then
> > 
> > make
> > 
> > #then
> > 
> > check what error.log tells you.
> > 
> > 
> > > I have compiled using this configure script:
> > > ____________________________________________________________________
> > > CFLAGS="-g -Wall" ./configure
> > > --with-grass50=/home/simona/Documents/GRASS/grass53_exp_2004_11_06/
> > 
> > this is no longer needed if you have a recent (todays) CVS version.
> > See mailing list discussion.
> > 
> > > --with-tcltk-includes=/usr/include/ --with-postgres=no
> > > --with-opengl-includes=/usr/X11R6/include/GL/ --without-odbc
> > > --without-fftw --with-proj=yes
> > > ____________________________________________________________________
> > > 
> > > 
> > > 
> > > 
> > > help me please.......
> > > I have had an hard day...  :-)
> > 
> > me too :-)
> > 
> > hope this helps
> > 
> >  markus
> > 
> 
> 

-- 
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-dev mailing list