Platform: Linux/Intel
Linux distro: RedHat
linux cpu: AMD (K6, ...)
Xwindows version: Xfree 4.0.x
Xwindows manager: GNOME
grass downloaded at: Other
grass binary for platform: I compiled the sources myself
grass sources source: no, I got a source code package from the server
c compiler name: gcc
Please enter error description here
GRASS GIS compilation log
-------------------------
Start of compilation: Fri Sep 14 08:52:06 EEST 2001
Errors:
Compilation error in module: src/imagery/i.fft (ignored)
Compilation error in module: src/imagery/i.zc (ignored)
Compilation error in module: src/raster/r.surf.fractal (ignored)
Compilation error in module: src.contrib/CERL/imagery/i.shape (ignored)
End of compilation: Fri Sep 14 09:08:30 EEST 2001
DONE generating GRASS GIS binary code
Also
gmake5 src.garden/grass.postgresql
caused
make[1]: Entering directory `/usr/local/src/grass5sources/grass5.0.0pre2/src.garden/grass.postgresql/d.rast.pg'
gcc -g -O2 -I/usr/local/src/grass5sources/grass5.0.0pre2/src/include -c runInfxFile.c -o OBJ.i686-pc-linux-gnu/runInfxFile.o
runInfxFile.c:6:22: libpq-fe.h: No such file or directory
make[1]: *** [OBJ.i686-pc-linux-gnu/runInfxFile.o] Error 1
I have installed my postgresql from RH7.1 RPM file and it seemed to work with
Grass5.0.0pre1
-------------------------------------------- Managed by Request Tracker
IMO configure should stop of
FFTW or postgresql files are missing.
If you then want it without these libraries you have to run the
accordings configure options.
Any particular reason why just these two? It won't stop if curses or
the math library aren't found, and either of those will cause a lot
more programs to be omitted than FFTW and PostgreSQL combined.
Right now, the following are all warnings:
Unable to locate curses library.
Failed check for math library.
Unable to locate JPEG includes.
Unable to locate JPEG library.
Unable to locate TIFF includes.
Unable to locate TIFF library.
Unable to locate PNG includes.
Unable to locate PNG library.
Unable to locate GD includes.
Unable to locate GD library.
Could not determine Tcl version.
Could not find 'tcl.h'.
Could not determine Tk version.
Could not find 'tk.h'.
Tcl/Tk version mismatch.
Unable to locate Tcl library.
Unable to locate Tk library.
Unable to locate PostgreSQL includes.
Unable to locate PostgreSQL library.
Unable to locate OpenGL includes.
Unable to locate OpenGL library.
Unable to locate GLU library.
Unable to locate ODBC includes.
Unable to locate ODBC library.
Unable to locate FFTW includes.
Unable to locate FFTW library.
Unable to locate BLAS library.
Unable to locate LAPACK library.
while these are errors:
Unable to locate XDR functions.
Unable to locate zlib includes.
Unable to locate zlib.
I'm open to suggestions as to which should be warnings and which
should be errors.
I'm fairly certain that curses and the math library should be
mandatory, but I'm not so sure about the rest.
Make it errors.
We should have configure options to turn the requirements of.
But if none of these options are given the process should stop
unless libraries are installed or the right options are given.
(IMO)
Bernhard
On Mon, Sep 17, 2001 at 03:46:16PM +0100, Glynn Clements wrote:
Bernhard Reiter wrote:
> IMO configure should stop of
> FFTW or postgresql files are missing.
>
> If you then want it without these libraries you have to run the
> accordings configure options.
Any particular reason why just these two? It won't stop if curses or
the math library aren't found, and either of those will cause a lot
more programs to be omitted than FFTW and PostgreSQL combined.
Right now, the following are all warnings:
Unable to locate curses library.
Failed check for math library.
Unable to locate JPEG includes.
Unable to locate JPEG library.
Unable to locate TIFF includes.
Unable to locate TIFF library.
Unable to locate PNG includes.
Unable to locate PNG library.
Unable to locate GD includes.
Unable to locate GD library.
Could not determine Tcl version.
Could not find 'tcl.h'.
Could not determine Tk version.
Could not find 'tk.h'.
Tcl/Tk version mismatch.
Unable to locate Tcl library.
Unable to locate Tk library.
Unable to locate PostgreSQL includes.
Unable to locate PostgreSQL library.
Unable to locate OpenGL includes.
Unable to locate OpenGL library.
Unable to locate GLU library.
Unable to locate ODBC includes.
Unable to locate ODBC library.
Unable to locate FFTW includes.
Unable to locate FFTW library.
Unable to locate BLAS library.
Unable to locate LAPACK library.
while these are errors:
Unable to locate XDR functions.
Unable to locate zlib includes.
Unable to locate zlib.
I'm open to suggestions as to which should be warnings and which
should be errors.
I'm fairly certain that curses and the math library should be
mandatory, but I'm not so sure about the rest.
--
Glynn Clements <glynn.clements@virgin.net>
_______________________________________________
grass5 mailing list
grass5@grass.itc.it http://grass.itc.it/mailman/listinfo/grass5
--
Professional Service around Free Software (intevation.net)
The FreeGIS Project (freegis.org)
Association for a Free Informational Infrastructure (ffii.org)
FSF Europe (fsfeurope.org)
Any particular reason why just these two? It won't stop if curses or
the math library aren't found, and either of those will cause a lot
more programs to be omitted than FFTW and PostgreSQL combined.
Right now, the following are all warnings:
<snip>
while these are errors:
I'm open to suggestions as to which should be warnings and which
should be errors.
I'm fairly certain that curses and the math library should be
mandatory, but I'm not so sure about the rest.
My suggestion is that they should all be errors during configuration. That
way the user knows what GRASS cannot find and can make a decision, a priori,
what he needs. If each of the components can be explicitly left out of the
build process by running ./configure with a series of '--without-xxxx'.
This allows flexibility and full notification to the user and it means
that we are not making judgement calls regarding which features are
important and which are not needed.
I agree that certain libraries, such as ncurses and math, MUST be present
or the application will not run.
Rich
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
+ 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com
Making environmentally-responsible mining happen.
On Mon, Sep 17, 2001 at 05:03:53PM +0200, Bernhard Reiter wrote:
Make it errors.
We should have configure options to turn the requirements of.
But if none of these options are given the process should stop
unless libraries are installed or the right options are given.
(IMO)
Bernhard
Probably it is a good idea to make it errors to avoid all these
question in the mailing lists. In case questions like "why doesn't
configure" continue, we can send the standard answer "switch the
feature off". Looking at the forthcoming new makefile system such
a change might help as well.
Ciao
Markus
On Mon, Sep 17, 2001 at 03:46:16PM +0100, Glynn Clements wrote:
>
> Bernhard Reiter wrote:
>
> > IMO configure should stop of
> > FFTW or postgresql files are missing.
> >
> > If you then want it without these libraries you have to run the
> > accordings configure options.
>
> Any particular reason why just these two? It won't stop if curses or
> the math library aren't found, and either of those will cause a lot
> more programs to be omitted than FFTW and PostgreSQL combined.
>
> Right now, the following are all warnings:
>
> Unable to locate curses library.
> Failed check for math library.
> Unable to locate JPEG includes.
> Unable to locate JPEG library.
> Unable to locate TIFF includes.
> Unable to locate TIFF library.
> Unable to locate PNG includes.
> Unable to locate PNG library.
> Unable to locate GD includes.
> Unable to locate GD library.
> Could not determine Tcl version.
> Could not find 'tcl.h'.
> Could not determine Tk version.
> Could not find 'tk.h'.
> Tcl/Tk version mismatch.
> Unable to locate Tcl library.
> Unable to locate Tk library.
> Unable to locate PostgreSQL includes.
> Unable to locate PostgreSQL library.
> Unable to locate OpenGL includes.
> Unable to locate OpenGL library.
> Unable to locate GLU library.
> Unable to locate ODBC includes.
> Unable to locate ODBC library.
> Unable to locate FFTW includes.
> Unable to locate FFTW library.
> Unable to locate BLAS library.
> Unable to locate LAPACK library.
>
> while these are errors:
>
> Unable to locate XDR functions.
> Unable to locate zlib includes.
> Unable to locate zlib.
>
> I'm open to suggestions as to which should be warnings and which
> should be errors.
>
> I'm fairly certain that curses and the math library should be
> mandatory, but I'm not so sure about the rest.
>
> --
> Glynn Clements <glynn.clements@virgin.net>
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
--
Professional Service around Free Software (intevation.net)
The FreeGIS Project (freegis.org)
Association for a Free Informational Infrastructure (ffii.org)
FSF Europe (fsfeurope.org)