[GRASSLIST:5370] Compilation errors on grass6.0

Hello

Today I visited the GRASS web page looking for the last cvs and I found
that there is not anymore the 5.7 branch but 6.0.

I compile the grass6.0 on a gentoo linux system with the following
configure line:

CFLAGS="-g -Wall" ./configure --with-gdal=/usr/local/bin/gdal-config --en
able-64bit --with-fftw-libs=/usr/lib/ --with-lapack-libs=/usr/lib/
--with-lapac k=yes --with-freetype=yes --with-freetype-libs=/usr/lib64/
--with-freetype-incl udes=/usr/include/freetype2/

My computer is an Athlon(tm) 64 Processor 3000+ AuthenticAMD. Even when
the configure said that there was not any trouble, I got a set of errors.
(I am attaching the error.log file)

I already have compiled all the libraries and programs. In fact I have
running the GRASS 5.7.cvs (grass57src_cvs_snapshot_exp_2004_12_13)
without any problems.

I expect this report is being worthwhile for you

Regards

camilo
--
Pedro Camilo Alcántara Concepción
-----------------
camilo @ pcbiol.posgrado.unam.mx
camiloalcantara @ hotmail.com
-----------------
pcbiol.posgrado.unam.mx Friday Jan 14 2005 22:05:00 CST
-----------------
Con el dinero se puede comprar la cama, pero no el sueño,
la comida pero no el apetito.
    -- Anónim.

(attachments)

error.log (2.88 KB)

Do what it says:

> (In case of errors please change into the directory with error and run 'make')
> /datos/Software/grass/bin/grass-6.0.0beta1/lib/gmath
> /datos/Software/grass/bin/grass-6.0.0beta1/lib/imagery
> /datos/Software/grass/bin/grass-6.0.0beta1/lib/rst/interp_float

and send here the output.

Radim

Pedro Camilo Alcántara Concepción wrote:

Hello

Today I visited the GRASS web page looking for the last cvs and I found
that there is not anymore the 5.7 branch but 6.0.

I compile the grass6.0 on a gentoo linux system with the following
configure line:

CFLAGS="-g -Wall" ./configure --with-gdal=/usr/local/bin/gdal-config --en
able-64bit --with-fftw-libs=/usr/lib/ --with-lapack-libs=/usr/lib/
--with-lapac k=yes --with-freetype=yes --with-freetype-libs=/usr/lib64/
--with-freetype-incl udes=/usr/include/freetype2/

My computer is an Athlon(tm) 64 Processor 3000+ AuthenticAMD. Even when
the configure said that there was not any trouble, I got a set of errors.
(I am attaching the error.log file)

I already have compiled all the libraries and programs. In fact I have
running the GRASS 5.7.cvs (grass57src_cvs_snapshot_exp_2004_12_13)
without any problems.

I expect this report is being worthwhile for you

Regards

camilo

------------------------------------------------------------------------

GRASS GIS compilation log
-------------------------
Started compilation: vie ene 14 17:11:14 CST 2005
Errors in:
/datos/Software/grass/bin/grass-6.0.0beta1/lib/gmath
/datos/Software/grass/bin/grass-6.0.0beta1/lib/imagery
/datos/Software/grass/bin/grass-6.0.0beta1/lib/rst/interp_float
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.class
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.cluster
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.gensig
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.gensigset
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.group
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.his.rgb
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.maxlik
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/libes
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/menu
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/photo.2image
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/photo.2target
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/photo.camera
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/photo.elev
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/photo.init
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/photo.rectify
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/photo.target
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.points
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.rectify
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.rgb.his
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.smap/shapiro
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.target
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.vpoints
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.cca
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.fft
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ifft
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.pca
/datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.zc
/datos/Software/grass/bin/grass-6.0.0beta1/ps/ps.map
/datos/Software/grass/bin/grass-6.0.0beta1/raster/r.param.scale
/datos/Software/grass/bin/grass-6.0.0beta1/raster/r.resamp.rst
/datos/Software/grass/bin/grass-6.0.0beta1/raster/r.in.gdal
/datos/Software/grass/bin/grass-6.0.0beta1/raster/r.surf.fractal
/datos/Software/grass/bin/grass-6.0.0beta1/raster/r.surf.gauss
/datos/Software/grass/bin/grass-6.0.0beta1/raster/r.surf.random
/datos/Software/grass/bin/grass-6.0.0beta1/vector/v.kernel
/datos/Software/grass/bin/grass-6.0.0beta1/vector/v.surf.rst
Finished compilation: vie ene 14 17:16:06 CST 2005
(In case of errors please change into the directory with error and run 'make')
/datos/Software/grass/bin/grass-6.0.0beta1/lib/gmath
/datos/Software/grass/bin/grass-6.0.0beta1/lib/imagery
/datos/Software/grass/bin/grass-6.0.0beta1/lib/rst/interp_float

hi,

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
/home/samuel/grass-6.0.0beta1/display/d.extend
/home/samuel/grass-6.0.0beta1/display/d.path
/home/samuel/grass-6.0.0beta1/display/d.vect
/home/samuel/grass-6.0.0beta1/display/d.vect.chart
/home/samuel/grass-6.0.0beta1/display/d.what.vect
/home/samuel/grass-6.0.0beta1/display/d.zoom
/home/samuel/grass-6.0.0beta1/general/g.proj
/home/samuel/grass-6.0.0beta1/general/g.region/cmd
/home/samuel/grass-6.0.0beta1/general/manage/lib
/home/samuel/grass-6.0.0beta1/general/manage/cmd
/home/samuel/grass-6.0.0beta1/imagery/i.vpoints
/home/samuel/grass-6.0.0beta1/ps/ps.map
/home/samuel/grass-6.0.0beta1/raster/r.contour
/home/samuel/grass-6.0.0beta1/raster/r.cost
/home/samuel/grass-6.0.0beta1/raster/r.flow
/home/samuel/grass-6.0.0beta1/raster/r.le/r.le.setup
/home/samuel/grass-6.0.0beta1/raster/r.random
/home/samuel/grass-6.0.0beta1/raster/r.region
/home/samuel/grass-6.0.0beta1/raster/r.resamp.rst
/home/samuel/grass-6.0.0beta1/raster/r.to.vect
/home/samuel/grass-6.0.0beta1/raster/r.in.gdal
/home/samuel/grass-6.0.0beta1/vector/v.buffer
/home/samuel/grass-6.0.0beta1/vector/v.build
/home/samuel/grass-6.0.0beta1/vector/v.build.polylines
/home/samuel/grass-6.0.0beta1/vector/v.category
/home/samuel/grass-6.0.0beta1/vector/v.clean
/home/samuel/grass-6.0.0beta1/vector/v.convert
/home/samuel/grass-6.0.0beta1/vector/v.db.connect
/home/samuel/grass-6.0.0beta1/vector/v.db.select
/home/samuel/grass-6.0.0beta1/vector/v.digit
/home/samuel/grass-6.0.0beta1/vector/v.distance
/home/samuel/grass-6.0.0beta1/vector/v.extract
/home/samuel/grass-6.0.0beta1/vector/v.hull
/home/samuel/grass-6.0.0beta1/vector/v.info
/home/samuel/grass-6.0.0beta1/vector/v.in.ascii
/home/samuel/grass-6.0.0beta1/vector/v.in.db
/home/samuel/grass-6.0.0beta1/vector/v.in.region
/home/samuel/grass-6.0.0beta1/vector/v.in.sites
/home/samuel/grass-6.0.0beta1/vector/v.kcv
/home/samuel/grass-6.0.0beta1/vector/v.kernel
/home/samuel/grass-6.0.0beta1/vector/v.label
/home/samuel/grass-6.0.0beta1/vector/v.proj
/home/samuel/grass-6.0.0beta1/vector/v.mkgrid
/home/samuel/grass-6.0.0beta1/vector/v.neighbors
/home/samuel/grass-6.0.0beta1/vector/v.net
/home/samuel/grass-6.0.0beta1/vector/v.net.alloc
/home/samuel/grass-6.0.0beta1/vector/v.net.iso
/home/samuel/grass-6.0.0beta1/vector/v.net.path
/home/samuel/grass-6.0.0beta1/vector/v.net.salesman
/home/samuel/grass-6.0.0beta1/vector/v.net.steiner
/home/samuel/grass-6.0.0beta1/vector/v.normal
/home/samuel/grass-6.0.0beta1/vector/v.out.ascii
/home/samuel/grass-6.0.0beta1/vector/v.out.dxf
/home/samuel/grass-6.0.0beta1/vector/v.out.pov
/home/samuel/grass-6.0.0beta1/vector/v.overlay
/home/samuel/grass-6.0.0beta1/vector/v.patch
/home/samuel/grass-6.0.0beta1/vector/v.perturb
/home/samuel/grass-6.0.0beta1/vector/v.qcount
/home/samuel/grass-6.0.0beta1/vector/v.random
/home/samuel/grass-6.0.0beta1/vector/v.reclass
/home/samuel/grass-6.0.0beta1/vector/v.sample
/home/samuel/grass-6.0.0beta1/vector/v.segment
/home/samuel/grass-6.0.0beta1/vector/v.select
/home/samuel/grass-6.0.0beta1/vector/v.surf.idw
/home/samuel/grass-6.0.0beta1/vector/v.surf.rst
/home/samuel/grass-6.0.0beta1/vector/v.transform
/home/samuel/grass-6.0.0beta1/vector/v.to.db
/home/samuel/grass-6.0.0beta1/vector/v.to.points
/home/samuel/grass-6.0.0beta1/vector/v.to.rast
/home/samuel/grass-6.0.0beta1/vector/v.type
/home/samuel/grass-6.0.0beta1/vector/v.univar
/home/samuel/grass-6.0.0beta1/vector/v.voronoi
/home/samuel/grass-6.0.0beta1/vector/v.what.rast
/home/samuel/grass-6.0.0beta1/vector/v.vol.rst
/home/samuel/grass-6.0.0beta1/vector/v.out.ogr
/home/samuel/grass-6.0.0beta1/vector/v.in.ogr
/home/samuel/grass-6.0.0beta1/vector/v.external
/home/samuel/grass-6.0.0beta1/visualization/nviz
Finished compilation: Dom Jan 16 07:36:03 BRST 2005
(In case of errors please change into the directory
with error and run 'make')

**************
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 \
        -o OBJ./nvizAppInit.o -c nvizAppInit.c
<command line>: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
(not in a function)
interface.h:87: error: `MAX_CPLANES' undeclared here
(not in a function)
interface.h:88: error: `MAX_CPLANES' undeclared here
(not in a function)
interface.h:90: error: `MAX_LIGHTS' undeclared here
(not in a function)
nvizAppInit.c:43: warning: `RunScripts' defined but
not used
make[1]: *** [OBJ./nvizAppInit.o] Error 1
make[1]: Leaving directory
`/home/samuel/grass-6.0.0beta1/visualization/nviz/src'
make: *** [nvwish] Error 2

_______________________________________________________
Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis

On Sat, 15 Jan 2005, Radim Blazek wrote:

Do what it says:

> (In case of errors please change into the directory with error and
run 'make')
> /datos/Software/grass/bin/grass-6.0.0beta1/lib/gmath
> /datos/Software/grass/bin/grass-6.0.0beta1/lib/imagery
> /datos/Software/grass/bin/grass-6.0.0beta1/lib/rst/interp_float

and send here the output.
Radim

Ok here is the output:

   > /datos/Software/grass/bin/grass-6.0.0beta1/lib/gmath:

gcc -I/datos/Software/grass/bin/grass-6.0.0beta1/include
-I/datos/Software/grass/bin/grass-6.0.0beta1/dist.x86_64-unknown-linux-gnu/include/grass
-g -Wall -Wall -Wconversion -Wno-implicit-int -fPIC
-DPACKAGE=\""grasslibs"\" -DPACKAGE=\""grasslibs"\"
-I/datos/Software/grass/bin/grass-6.0.0beta1/include
-I/datos/Software/grass/bin/grass-6.0.0beta1/dist.x86_64-unknown-linux-gnu/include/grass
\
        -o OBJ.x86_64-unknown-linux-gnu/fft.o -c fft.c
fft.c: In function `fft':
fft.c:40: error: `fftwnd_plan' no se declaró aquí (primer uso en esta
función)
fft.c:40: error: (Cada identificador no declarado solamente se reporta una
vez
fft.c:40: error: para cada funcion en la que aparece.)
fft.c:40: error: error de decodificación antes de "plan"
fft.c:45: aviso: al pasar el argumento 1 de `sqrt' como coma flotante en
lugar de entero debido al prototipo
fft.c:47: aviso: al pasar el argumento 1 de `G_malloc' con anchura
diferente debido al prototipo
fft.c:51: error: petición del miembro `re' en algo que no es estructura ó
unión
fft.c:52: error: petición del miembro `im' en algo que no es estructura ó
unión
fft.c:55: error: `plan' no se declaró aquí (primer uso en esta función)
fft.c:55: aviso: declaración implícita de la función `fftw2d_create_plan'
fft.c:58: error: `FFTW_IN_PLACE' no se declaró aquí (primer uso en esta
función)fft.c:60: aviso: declaración implícita de la función `fftwnd_one'
fft.c:62: aviso: declaración implícita de la función `fftwnd_destroy_plan'
fft.c:66: error: petición del miembro `re' en algo que no es estructura ó
unión
fft.c:67: error: petición del miembro `im' en algo que no es estructura ó
unión
make: *** [OBJ.x86_64-unknown-linux-gnu/fft.o] Error 1

> /datos/Software/grass/bin/grass-6.0.0beta1/lib/imagery:

make
gcc -shared -o
/datos/Software/grass/bin/grass-6.0.0beta1/dist.x86_64-unknown-linux-gnu/lib/libgrass_I.6.0.0beta1.so
-Wl,--export-dynamic
-L/datos/Software/grass/bin/grass-6.0.0beta1/dist.x86_64-unknown-linux-gnu/lib
OBJ.x86_64-unknown-linux-gnu/add_cov.o
OBJ.x86_64-unknown-linux-gnu/advance.o
OBJ.x86_64-unknown-linux-gnu/alloc.o
OBJ.x86_64-unknown-linux-gnu/ask_bands.o
OBJ.x86_64-unknown-linux-gnu/ask.o
OBJ.x86_64-unknown-linux-gnu/ask_colors.o
OBJ.x86_64-unknown-linux-gnu/ask_group.o
OBJ.x86_64-unknown-linux-gnu/ask_subgrp.o
OBJ.x86_64-unknown-linux-gnu/band_io.o
OBJ.x86_64-unknown-linux-gnu/c_assign.o
OBJ.x86_64-unknown-linux-gnu/c_begin.o
OBJ.x86_64-unknown-linux-gnu/c_clear.o
OBJ.x86_64-unknown-linux-gnu/c_distinct.o
OBJ.x86_64-unknown-linux-gnu/c_exec.o
OBJ.x86_64-unknown-linux-gnu/c_execmem.o
OBJ.x86_64-unknown-linux-gnu/c_means.o
OBJ.x86_64-unknown-linux-gnu/c_merge.o
OBJ.x86_64-unknown-linux-gnu/c_nclasses.o
OBJ.x86_64-unknown-linux-gnu/colors.o
OBJ.x86_64-unknown-linux-gnu/c_point.o
OBJ.x86_64-unknown-linux-gnu/c_reassign.o
OBJ.x86_64-unknown-linux-gnu/c_reclass.o
OBJ.x86_64-unknown-linux-gnu/c_sep.o OBJ.x86_64-unknown-linux-gnu/c_sig.o
OBJ.x86_64-unknown-linux-gnu/c_sum2.o OBJ.x86_64-unknown-linux-gnu/eol.o
OBJ.x86_64-unknown-linux-gnu/find.o OBJ.x86_64-unknown-linux-gnu/fopen.o
OBJ.x86_64-unknown-linux-gnu/georef.o OBJ.x86_64-unknown-linux-gnu/grey.o
OBJ.x86_64-unknown-linux-gnu/group.o OBJ.x86_64-unknown-linux-gnu/histo.o
OBJ.x86_64-unknown-linux-gnu/histo_eq.o
OBJ.x86_64-unknown-linux-gnu/image.o
OBJ.x86_64-unknown-linux-gnu/list_gp.o
OBJ.x86_64-unknown-linux-gnu/list_subgp.o
OBJ.x86_64-unknown-linux-gnu/loc_info.o
OBJ.x86_64-unknown-linux-gnu/ls_groups.o
OBJ.x86_64-unknown-linux-gnu/nfiles.o OBJ.x86_64-unknown-linux-gnu/open.o
OBJ.x86_64-unknown-linux-gnu/percent.o
OBJ.x86_64-unknown-linux-gnu/points.o OBJ.x86_64-unknown-linux-gnu/proj.o
OBJ.x86_64-unknown-linux-gnu/ref.o
OBJ.x86_64-unknown-linux-gnu/set_window.o
OBJ.x86_64-unknown-linux-gnu/sig2cats.o OBJ.x86_64-unknown-linux-gnu/sig.o
OBJ.x86_64-unknown-linux-gnu/sigfile.o
OBJ.x86_64-unknown-linux-gnu/sigset.o
OBJ.x86_64-unknown-linux-gnu/sigsetfile.o
OBJ.x86_64-unknown-linux-gnu/tape_info.o
OBJ.x86_64-unknown-linux-gnu/target.o OBJ.x86_64-unknown-linux-gnu/title.o
OBJ.x86_64-unknown-linux-gnu/var.o
OBJ.x86_64-unknown-linux-gnu/vask_group.o
OBJ.x86_64-unknown-linux-gnu/v_exec.o -lgrass_gmath -L/usr/lib/ -lfftw -lm
-L/usr/lib/ -llapack -lgrass_gis -lgrass_datetime -lz -lgrass_vask &&
ln -sf libgrass_I.6.0.0beta1.so
/datos/Software/grass/bin/grass-6.0.0beta1/dist.x86_64-unknown-linux-gnu/lib/libgrass_I.so
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
no se puede encontrar -lgrass_gmath
collect2: ld devolvió el estado de salida 1
make: ***
[/datos/Software/grass/bin/grass-6.0.0beta1/dist.x86_64-unknown-linux-gnu/lib/libgrass_I.6.0.0beta1.so]
Error 1

  > /datos/Software/grass/bin/grass-6.0.0beta1/lib/rst/interp_float:

make
gcc -shared -o
/datos/Software/grass/bin/grass-6.0.0beta1/dist.x86_64-unknown-linux-gnu/lib/libgrass_interpfl.6.0.0beta1.so
-Wl,--export-dynamic
-L/datos/Software/grass/bin/grass-6.0.0beta1/dist.x86_64-unknown-linux-gnu/lib
OBJ.x86_64-unknown-linux-gnu/func2d.o
OBJ.x86_64-unknown-linux-gnu/input2d.o
OBJ.x86_64-unknown-linux-gnu/vinput2d.o
OBJ.x86_64-unknown-linux-gnu/interp2d.o
OBJ.x86_64-unknown-linux-gnu/output2d.o
OBJ.x86_64-unknown-linux-gnu/point2d.o
OBJ.x86_64-unknown-linux-gnu/secpar2d.o
OBJ.x86_64-unknown-linux-gnu/segmen2d.o
OBJ.x86_64-unknown-linux-gnu/write2d.o
OBJ.x86_64-unknown-linux-gnu/matrix.o
OBJ.x86_64-unknown-linux-gnu/minmax.o
OBJ.x86_64-unknown-linux-gnu/init2d.o
OBJ.x86_64-unknown-linux-gnu/ressegm2d.o
OBJ.x86_64-unknown-linux-gnu/resout2d.o -lgrass_gis -lgrass_datetime -lz
-lgrass_vect -lgrass_dig2 -lgrass_dgl -lgrass_rtree -lgrass_linkm
-lgrass_dbmiclient -lgrass_dbmibase -L/usr/local/lib -lgdal
-lgrass_bitmap -lgrass_qtree -lgrass_interpdata -lgrass_dbmiclient
-lgrass_dbmibase -lgrass_gmath -L/usr/lib/ -lfftw -lm -L/usr/lib/
-llapack && ln -sf libgrass_interpfl.6.0.0beta1.so
/datos/Software/grass/bin/grass-6.0.0beta1/dist.x86_64-unknown-linux-gnu/lib/libgrass_interpfl.so
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
no se puede encontrar -lgrass_gmath
collect2: ld devolvió el estado de salida 1
make: ***
[/datos/Software/grass/bin/grass-6.0.0beta1/dist.x86_64-unknown-linux-gnu/lib/libgrass_interpfl.6.0.0beta1.so]
Error 1

-----------

bye

camilo

Do you want the make output for all the modules?

On Sat, 15 Jan 2005, Radim Blazek wrote:

Do what it says:

> (In case of errors please change into the directory with error and
run 'make')
> /datos/Software/grass/bin/grass-6.0.0beta1/lib/gmath
> /datos/Software/grass/bin/grass-6.0.0beta1/lib/imagery
> /datos/Software/grass/bin/grass-6.0.0beta1/lib/rst/interp_float

and send here the output.

Radim

Pedro Camilo Alcántara Concepción wrote:
> Hello
>
> Today I visited the GRASS web page looking for the last cvs and I found
> that there is not anymore the 5.7 branch but 6.0.
>
> I compile the grass6.0 on a gentoo linux system with the following
> configure line:
>
> CFLAGS="-g -Wall" ./configure --with-gdal=/usr/local/bin/gdal-config --en
> able-64bit --with-fftw-libs=/usr/lib/ --with-lapack-libs=/usr/lib/
> --with-lapac k=yes --with-freetype=yes --with-freetype-libs=/usr/lib64/
> --with-freetype-incl udes=/usr/include/freetype2/
>
> My computer is an Athlon(tm) 64 Processor 3000+ AuthenticAMD. Even when
> the configure said that there was not any trouble, I got a set of errors.
> (I am attaching the error.log file)
>
> I already have compiled all the libraries and programs. In fact I have
> running the GRASS 5.7.cvs (grass57src_cvs_snapshot_exp_2004_12_13)
> without any problems.
>
> I expect this report is being worthwhile for you
>
> Regards
>
> camilo
>
>
> ------------------------------------------------------------------------
>
> GRASS GIS compilation log
> -------------------------
> Started compilation: vie ene 14 17:11:14 CST 2005
> Errors in:
> /datos/Software/grass/bin/grass-6.0.0beta1/lib/gmath
> /datos/Software/grass/bin/grass-6.0.0beta1/lib/imagery
> /datos/Software/grass/bin/grass-6.0.0beta1/lib/rst/interp_float
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.class
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.cluster
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.gensig
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.gensigset
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.group
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.his.rgb
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.maxlik
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/libes
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/menu
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/photo.2image
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/photo.2target
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/photo.camera
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/photo.elev
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/photo.init
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/photo.rectify
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ortho.photo/photo.target
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.points
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.rectify
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.rgb.his
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.smap/shapiro
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.target
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.vpoints
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.cca
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.fft
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.ifft
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.pca
> /datos/Software/grass/bin/grass-6.0.0beta1/imagery/i.zc
> /datos/Software/grass/bin/grass-6.0.0beta1/ps/ps.map
> /datos/Software/grass/bin/grass-6.0.0beta1/raster/r.param.scale
> /datos/Software/grass/bin/grass-6.0.0beta1/raster/r.resamp.rst
> /datos/Software/grass/bin/grass-6.0.0beta1/raster/r.in.gdal
> /datos/Software/grass/bin/grass-6.0.0beta1/raster/r.surf.fractal
> /datos/Software/grass/bin/grass-6.0.0beta1/raster/r.surf.gauss
> /datos/Software/grass/bin/grass-6.0.0beta1/raster/r.surf.random
> /datos/Software/grass/bin/grass-6.0.0beta1/vector/v.kernel
> /datos/Software/grass/bin/grass-6.0.0beta1/vector/v.surf.rst
> Finished compilation: vie ene 14 17:16:06 CST 2005
> (In case of errors please change into the directory with error and run 'make')
> /datos/Software/grass/bin/grass-6.0.0beta1/lib/gmath
> /datos/Software/grass/bin/grass-6.0.0beta1/lib/imagery
> /datos/Software/grass/bin/grass-6.0.0beta1/lib/rst/interp_float

--
Pedro Camilo Alcántara Concepción
-----------------
camilo @ pcbiol.posgrado.unam.mx
camiloalcantara @ hotmail.com
-----------------
pcbiol.posgrado.unam.mx Saturday Jan 15 2005 08:05:00 CST
-----------------
Lo más incomprensible acerca de este mundo es que es comprensible.
    -- Albert Einstein. (1879-1955) Físico alemán.

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
<command line>: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

On Mon, Jan 17, 2005 at 04:24:50PM +1300, Hamish wrote:
...

try running md5sum on the .tar.gz and compare. (could someone provide
an official one on the download page?)

URLs added.
http://grass.itc.it/download/index.php

Markus

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@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


Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador do Yahoo! agora.

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@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


Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador do Yahoo! agora.

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...

That is not what I meant,

a) do those missing files exist in your GRASS source?
   (ie did all the source code files make it onto your disk correctly?)

b) cd lib/vector/diglib && make
   (ie report the errors from trying to compile the GRASS libraries)

i had compiled grass54 with no problems...
with grass6 beta1 there are new packages to be installed before?

No, the requirements should mostly be the same.

Hamish

============================================================

> 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.