I'm trying to compile GRASS53 (040327 version) on a ix86/Suse8.2 box:
I come with the following error messages: any help would be welcome,
thanks in advance.
P.
************
Compilation error in module: src/libes/vask (ignored)
Compilation error in module: src/libes/edit (ignored)
Compilation error in module: src/libes/imagery (ignored)
Compilation error in module: src/libes/vect32/georef (ignored)
Compilation error in module: src/general/init (ignored)
Compilation error in module: src/display/d.3d (ignored)
Compilation error in module: src/display/d.colors (ignored)
Compilation error in module: src/display/d.display (ignored)
Compilation error in module: src/display/d.labels (ignored)
Compilation error in module: src/display/d.measure (ignored)
Compilation error in module: src/general/g.access (ignored)
Compilation error in module: src/general/g.help (ignored)
Compilation error in module: src/general/g.mapsets (ignored)
Compilation error in module: src/general/g.region (ignored)
Compilation error in module: src/imagery/i.cca (ignored)
Compilation error in module: src/imagery/i.class (ignored)
Compilation error in module: src/imagery/i.cluster (ignored)
Compilation error in module: src/imagery/i.colors (ignored)
Compilation error in module: src/imagery/i.composite (ignored)
Compilation error in module: src/imagery/i.gensig (ignored)
Compilation error in module: src/imagery/i.gensigset (ignored)
Compilation error in module: src/imagery/i.group (ignored)
Compilation error in module: src/imagery/i.maxlik (ignored)
Compilation error in module: src/imagery/i.ortho.photo (ignored)
Compilation error in module: src/imagery/i.points (ignored)
Compilation error in module: src/imagery/i.quantize (ignored)
Compilation error in module: src/imagery/i.rectify2 (ignored)
Compilation error in module: src/imagery/i.smap (ignored)
Compilation error in module: src/imagery/i.tape.mss (ignored)
Compilation error in module: src/imagery/i.tape.other (ignored)
Compilation error in module: src/imagery/i.tape.spot (ignored)
Compilation error in module: src/imagery/i.tape.tm (ignored)
Compilation error in module: src/imagery/i.tape.tm.fast (ignored)
Compilation error in module: src/imagery/i.target (ignored)
Compilation error in module: src/imagery/i.vpoints (ignored)
Compilation error in module: src/mapdev/v.digit (ignored)
Compilation error in module: src/mapdev/v.in.shape (ignored)
Compilation error in module: src/mapdev/v.in.tig.lndmk (ignored)
Compilation error in module: src/mapdev/v.reclass (ignored)
Compilation error in module: src/mapdev/v.transform (ignored)
Compilation error in module: src/misc/m.in.e00 (ignored)
Compilation error in module: src/misc/m.kappa (ignored)
Compilation error in module: src/paint/Programs (ignored)
Compilation error in module: src/ps.map (ignored)
Compilation error in module: src/raster/r.buffer (ignored)
Compilation error in module: src/raster/r.digit (ignored)
Compilation error in module: src/raster/r.in.gdal (ignored)
Compilation error in module: src/raster/r.le (ignored)
Compilation error in module: src/raster/r.reclass (ignored)
Compilation error in module: src/raster/r.report (ignored)
Compilation error in module: src/raster/r.rescale (ignored)
Compilation error in module: src/raster/r.support (ignored)
Compilation error in module: src/raster/r.weight (ignored)
Compilation error in module: src/sites/s.to.vect (ignored)
Compilation error in module: src.contrib/GMSL/g3d (ignored)
Compilation error in module: src.contrib/CERL/raster/r.water.fea/src
(ignored) Compilation error in module: src.contrib/SCS/vector/v.dump
(ignored) Compilation error in module: src.contrib/SCS/vector/v.report
(ignored) Compilation error in module: src.contrib/GMSL/NVIZ2.2
(ignored)
in general:
you'll have to show us the actual error message, all the above tells us
is that none of the imagery modules built because the imagery library
didn't build.
eg, try compiling one of the libraries on its own:
cd src/libes/vask
../../../bin.i686-pc-linux-gnu/gmake53
and post the resulting output. If this is huge, please gzip it or make
it available for download on a website somewhere instead of posting it
to everyone on the list. It's usually enough to just cut off the last
page of it or so though.
Follow-up:
Here's an bzipped edited version of the make log file (done one a clean
slate): in most cases, messages corresponding to a module successfully
compiled were replaced by '...' to save space. Please note that the file once
unzipped is about 500K.
I strongly suspect that some library is not properly installed, but which one?
The configuration step doesn't report any error...
Thanks a lot for your insight
P.
--
Soil & Water Laboratory
Dept. of Biological & Environmental Engineering
Cornell University
ITHACA, NY 14853
Tel: (607)255.2463
Follow-up:
Here's an bzipped edited version of the make log file (done one a clean
slate): in most cases, messages corresponding to a module successfully
compiled were replaced by '...' to save space. Please note that the file once
unzipped is about 500K.
It doesn't show the errors; you need to do
make > make.log 2>&1
(on Bourne or bash shell; I'm not sure how to redirect the errors in C
shell)
OK,
Eventually, the log of make, errors included. This time, with the file
included...
Seems that I def'ny have a problem of curses. Thanks for any insight
P.
Looks like a problem with your system
#################################################################
/home2/sources/grass53_exp_2004_03_27/src/libes/vask
mkdir OBJ.i686-pc-linux-gnu
make -f OBJ.i686-pc-linux-gnu/make.rules
make[1]: Entering directory
`/home2/sources/grass53_exp_2004_03_27/src/libes/vask'
gcc -I/home2/sources/grass53_exp_2004_03_27/src/include -g -O2 -DMAKE_VASK_LIB -c V_call.c -o OBJ.i686-pc-linux-gnu/V_call.o
In file included from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/curses.h:88,
from /home2/sources/grass53_exp_2004_03_27/src/include/vask.h:2,
from V_call.c:91:
/usr/include/unctrl.h:57: parse error before "unctrl"
make[1]: *** [OBJ.i686-pc-linux-gnu/V_call.o] Error 1
make[1]: Leaving directory `/home2/sources/grass53_exp_2004_03_27/src/libes/vask'
GISGEN failure at STEP: src/libes/vask
I searched for
/usr/include/unctrl.h:57: parse error before "unctrl"
on google and found quite a few references, several of which suggest
that the solution may be to delete or rename the file
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/curses.h
I searched for
/usr/include/unctrl.h:57: parse error before "unctrl"
on google and found quite a few references, several of which suggest
that the solution may be to delete or rename the file
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/curses.h
Thanks a lot !
Renaming .../curses.h as dummy did the trick. The compilation went without
further problems, apart from a NVIZ2. problem. Seems that I have to check the
configuration of this box...
make[2]: Entering directory
`/home2/sources/grass53_exp_2004_03_27/src.contrib/GMSL/NVIZ2.2/src'
gcc -I/home2/sources/grass53_exp_2004_03_27/src/include -g -O2
-I/usr/X11R6/include -I/home2/sources/grass53_exp_2004_03_27/src/libes/ogsf
-D_NO_PROTO -D__STDC__ -I/usr/local/pgsql/include -c nvizAppInit.c -o
OBJ.i686-pc-linux-gnu/nvizAppInit.o
<command line>:1:1: warning: "__STDC__" redefined
<built-in>:9:1: warning: this is the location of the previous definition
In file included from nvizAppInit.c:9:
interface.h:264: conflicting types for `Tk_SetAppName'
/usr/local/include/tkDecls.h:568: previous declaration of `Tk_SetAppName'
make[2]: *** [OBJ.i686-pc-linux-gnu/nvizAppInit.o] Error 1
make[2]: Leaving directory
`/home2/sources/grass53_exp_2004_03_27/src.contrib/GMSL/NVIZ2.2/src'
make[1]: *** [nvwish] Error 2
make[1]: Leaving directory
`/home2/sources/grass53_exp_2004_03_27/src.contrib/GMSL/NVIZ2.2'
GISGEN failure at STEP: src.contrib/GMSL/NVIZ2.2
Thanks again
P.
--
Soil & Water Laboratory
Dept. of Biological & Environmental Engineering
Cornell University
ITHACA, NY 14853
Tel: (607)255.2463
> I searched for
> /usr/include/unctrl.h:57: parse error before "unctrl"
> on google and found quite a few references, several of which suggest
> that the solution may be to delete or rename the file
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/curses.h
Thanks a lot !
Renaming .../curses.h as dummy did the trick. The compilation went without
further problems, apart from a NVIZ2. problem. Seems that I have to check the
configuration of this box...
In file included from nvizAppInit.c:9:
interface.h:264: conflicting types for `Tk_SetAppName'
/usr/local/include/tkDecls.h:568: previous declaration of `Tk_SetAppName'
Are you using Tcl/Tk 8.5? If so, the problem is due to the following
in src.contrib/GMSL/NVIZ2.2/src/interface.h:
IOW, the updated prototype should be used for Tcl/Tk 8.4 *or later*,
not just for Tcl/Tk 8.4.
I'm using Tcl/Tk v8.4 indeed. But I strongly suspect the presence of an older
version somewhere that may interfere. I'll browse the mailing-list and the
directories content of this box and let you know...
--
Soil & Water Laboratory
Dept. of Biological & Environmental Engineering
Cornell University
ITHACA, NY 14853
Tel: (607)255.2463
On Tue, Mar 30, 2004 at 03:45:35PM +0100, Glynn Clements wrote:
SWlab wrote:
> > I searched for
> > /usr/include/unctrl.h:57: parse error before "unctrl"
> > on google and found quite a few references, several of which suggest
> > that the solution may be to delete or rename the file
> > /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/curses.h
>
> Thanks a lot !
> Renaming .../curses.h as dummy did the trick. The compilation went without
> further problems, apart from a NVIZ2. problem. Seems that I have to check the
> configuration of this box...
> In file included from nvizAppInit.c:9:
> interface.h:264: conflicting types for `Tk_SetAppName'
> /usr/local/include/tkDecls.h:568: previous declaration of `Tk_SetAppName'
Are you using Tcl/Tk 8.5? If so, the problem is due to the following
in src.contrib/GMSL/NVIZ2.2/src/interface.h: