[GRASSLIST:4240] Re: compiling Grass5pre5 on Linux

Markus Neteler neteler at itc.it
Wed Aug 7 12:47:56 EDT 2002


On Wed, Aug 07, 2002 at 05:22:50PM +0100, Thomas Dewez wrote:
> Ulrich and others,
> 
> I am precisely following your tracks (GD not found, tried compiling GD but
> it couldn't find something else, so I disabled it). ODBC seems to be present
> on my system but not where configure seems to be looking. Also tcl and tk
> are not found, though they are there. I can see them.
> 
> Could somebody state how things should be written down for customizing the
> configure script? I mean, if I want to include a package whose assumed path
> is not correct what do I do? There's the include thingy and the lib thingy
> that need be specified, but in what order? Not sure what the include and lib
> must contain to work. I know it is basic but would appreciate a quick
> explanation.
> 
> Could you present an example?

Here we are (that's how I use it on Linux):

http://mpa.itc.it/markus/tmp/conf_grass50.sh

No warranty :-)

Markus
 
> Thanks
> 
> Thomas
> ----- Original Message -----
> From: "Markus Neteler" <neteler at itc.it>
> To: <GRASSLIST at baylor.edu>
> Sent: Wednesday, August 07, 2002 2:03 PM
> Subject: [GRASSLIST:4236] Re: compiling Grass5pre5 on Linux
> 
> 
> > On Wed, Aug 07, 2002 at 02:53:06PM +0200, Ulrich Leopold wrote:
> > > what do I need the include files (*.h etc.) from GD and also FFTW for.
> Are
> > > they necessary for building a functional GRASS unless I do not want to
> > > develop additional programs?
> > >
> >
> > Hi Ulrich,
> >
> > you can disable support using the '--without-package' flag.
> >
> > configure --without-fftw --without-gd [...]
> >
> > FFTW is used for
> > src/imagery/i.fft
> > src/imagery/i.zc
> > src/raster/r.surf.fractal
> > src.contrib/CERL/imagery/i.shape
> >
> > and GD for
> > src/display/devices/PNGdriver
> >
> > If you disable FFTW and/or GD, above modules won't compile. The 'rest'
> > will be functional.
> >
> > Hope this helps,
> >
> >  Markus
> >
> > >
> > > Lowell Filak wrote:
> > > > /usr/include/gd.h
> > > > rpm -i gd-devel-1.8.x-x
> > > > HTH
> > > >
> > > > The following message was sent by Ulrich Leopold
> <uleopold at science.uva.nl> on Wed, 07 Aug 2002 13:05:08 +0200.
> > > >
> > > >
> > > >>HI,
> > > >>
> > > >>I am trying to compile Grass5pre5 on RedHat 7.2 Linux.
> > > >>
> > > >>When I start ./configure I get the following message:
> > > >>
> > > >>checking whether to use GD... yes
> > > >>checking for location of GD includes...
> > > >>checking for gd.h... no
> > > >>configure: error: *** Unable to locate GD includes.
> > > >>
> > > >>What does it exactly mean. And what is ./configure looking for? And
> where is
> > > >>this usually located?
> > > >>
> > > >>Ulrich
> > > >>--
> > > >>__________________________________________________
> > > >>
> > > >>Ulrich Leopold MSc.
> > > >>
> > > >>Department of Physical Geography
> > > >>Institute for Biodiversity and Ecosystem Dynamics
> > > >>Faculty of Science
> > > >>University of Amsterdam
> > > >>Nieuwe Achtergracht 166
> > > >>NL-1018WV Amsterdam
> > > >>
> > > >>Phone: +31-(0)20-525-7456 (7451 Secretary)
> > > >>Fax:   +31-(0)20-525-7431
> > > >>Email: uleopold at science.uva.nl
> > > >>http://www.frw.uva.nl/soil/Welcome.html
> > > >>
> > > >>Check us also out at:
> > > >>Netherlands Centre for Geo-ecological Research
> > > >>http://www.frw.uva.nl/icg
> > > >>
> > > >
> > > --
> > > __________________________________________________
> > >
> > > Ulrich Leopold MSc.
> > >
> > > Department of Physical Geography
> > > Institute for Biodiversity and Ecosystem Dynamics
> > > Faculty of Science
> > > University of Amsterdam
> > > Nieuwe Achtergracht 166
> > > NL-1018WV Amsterdam
> > >
> > > Phone: +31-(0)20-525-7456 (7451 Secretary)
> > > Fax:   +31-(0)20-525-7431
> > > Email: uleopold at science.uva.nl
> > > http://www.frw.uva.nl/soil/Welcome.html
> > >
> > > Check us also out at:
> > > Netherlands Centre for Geo-ecological Research
> > > http://www.frw.uva.nl/icg



More information about the grass-user mailing list