[GRASSLIST:5394] Re: Compilation errors on grass6.0
samuel cavalcante
rioapaporis at yahoo.com.br
Mon Jan 17 10:48:05 EST 2005
hi hamish,
well, in fact no error after the "./configure"...that error log i reported is only after the "make" command...so no dependencies problems i guess...
i had compiled grass54 with no problems...
with grass6 beta1 there are new packages to be installed before?
thanks
Hamish <hamish_nospam at yahoo.com> wrote:
> i tried to compile grass6 beta1 but there were errros
> in so many modules...
>
> after the log message i changed into mentioned
> directories (some of them) but it didn't work as
> well...
> i'm using debian based XandrOS
>
> **********
>
> CFLAGS="-g -Wall" ./configure
> --with-tcltk-includes=/usr/include/tcl8.3
> =/usr/include/tk8.3 --without-postgres --without-odbc
>
> *************
>
> GRASS GIS compilation log
> -------------------------
> Started compilation: Dom Jan 16 07:34:22 BRST 2005
> Errors in:
> /home/samuel/grass-6.0.0beta1/lib/vector/diglib
> /home/samuel/grass-6.0.0beta1/lib/vector/Vlib
> /home/samuel/grass-6.0.0beta1/lib/sites
> /home/samuel/grass-6.0.0beta1/lib/rst/interp_float
> /home/samuel/grass-6.0.0beta1/lib/ogsf
> /home/samuel/grass-6.0.0beta1/db/drivers/ogr
[...]
.. if the libraries don't compile, anything that needs them won't
either. Best to start looking for what is broken there first.
> changed into /visualization/nviz
> run make
>
> error message:
>
> cd src ; make
> make[1]: Entering directory
> `/home/samuel/grass-6.0.0beta1/visualization/nviz/src'
> gcc -I/home/samuel/grass-6.0.0beta1/include
> -I/home/samuel/grass-6.0.0beta1/dist./include/grass
> -g -Wall -Wall -Wconversion -Wno-implicit-int
> -I/usr/X11R6/include -I/usr/include/tcl8.3
> -I/usr/include/tcl8.3
> -I/home/samuel/grass-6.0.0beta1/include
> -I/home/samuel/grass-6.0.0beta1/dist./include/grass
> -D_NO_PROTO -D__STDC__ -I/usr/include
> -DPACKAGE=\""grassmods"\"
> -I/home/samuel/grass-6.0.0beta1/include
> -I/home/samuel/grass-6.0.0beta1/dist./include/grass \
^^ note /dist./include/ above. $ARCH is missing?
> -o OBJ./nvizAppInit.o -c nvizAppInit.c
> :5:1: warning: "__STDC__" redefined
> In file included from nvizAppInit.c:9:
> interface.h:22:19: gsurf.h: No such file or directory
> interface.h:23:21: gstypes.h: No such file or
> directory
> In file included from nvizAppInit.c:9:
> interface.h:86: error: `MAX_CPLANES' undeclared here
two header files gsurf.h and gstypes.h were not found.
They are tagged in CVS for 6beta1:
http://freegis.org/cgi-bin/viewcvs.cgi/grass51/lib/ogsf/gsurf.h
http://freegis.org/cgi-bin/viewcvs.cgi/grass51/lib/ogsf/gstypes.h
do they exist in your source tree? are you missing some files?
try running md5sum on the .tar.gz and compare. (could someone provide
an official one on the download page?)
Hamish
---------------------------------
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador do Yahoo! agora.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20050117/90a9aa2f/attachment.html
More information about the grass-user
mailing list