[GRASS5] compile errors grass5 cvs from 08/01/01

Arne Pallentin arne at waikato.ac.nz
Mon Jan 15 20:16:53 EST 2001


Hi there,

I am on my way compiling grass5 from source
(grass5src_cvs_snapshot_Jan_8_2001). Everything worked fine in the main, but
compiling the postgresql and g3d-module causes some problems. 
First the postgresql module compiled fine (manually with gmake5, gmakelist5),
but the resulting executable is copied to /src/grass/dist-i386.../bin. Copying
the file to /usr/local/grass5/bin results while executing in:

>ERROR: program 'g.select.pg' cannot be executed because:
>
>Neither a command line (cmd) or interactive (inter) version was found
>   in any of the main, alpha, or contrib directories.

The second module (g3d) does not compile. The run ends with:

>make[3]: Entering directory
>`/usr/src/grass/src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL'
>OBJ.i686-pc-linux-gnu/make.rules:342: warning: overriding commands for target
>`ctags'
>OBJ.i686-pc-linux-gnu/make.rules:296: warning: ignoring old commands for target
>`ctags'
>gcc -s  -o
>/usr/src/grass/dist.i686-pc-linux-gnu/etc/bin/contrib/cmd/r3.showdspf
>OBJ.i686-pc-linux-gnu/new_init_graphics.o OBJ.i686-pc-linux-gnu/cap_data.o
>OBJ.i686-pc-linux-gnu/init_caps.o OBJ.i686-pc-linux-gnu/debugf.o
>OBJ.i686-pc-linux-gnu/do_color_ogl.o OBJ.i686-pc-linux-gnu/get_color_ogl.o
>OBJ.i686-pc-linux-gnu/draw_cap_ogl.o OBJ.i686-pc-linux-gnu/draw_polys_ogl.o
>OBJ.i686-pc-linux-gnu/draw_cappolys_ogl.o OBJ.i686-pc-linux-gnu/thresh_array.o
>OBJ.i686-pc-linux-gnu/make_header.o OBJ.i686-pc-linux-gnu/r3_data.o
>OBJ.i686-pc-linux-gnu/r3_find.o OBJ.i686-pc-linux-gnu/togif.o
>OBJ.i686-pc-linux-gnu/Ball.o OBJ.i686-pc-linux-gnu/BallAux.o
>OBJ.i686-pc-linux-gnu/BallMath.o OBJ.i686-pc-linux-gnu/main_ogl.o
>-I/usr/src/grass/src/libes/dspf -I/usr/src/grass/src/libes/ogsf 
>-I/usr/X11R6/include/GL -I/usr/X11R6/include
>/usr/src/grass/src/libes/dspf/LIB.i686-pc-linux-gnu/libdsp3.a
>/usr/src/grass/src/libes/LIB.i686-pc-linux-gnu/libg3d.a
>/usr/src/grass/src/libes/LIB.i686-pc-linux-gnu/libdatetime.a
>/usr/src/grass/src/libes/LIB.i686-pc-linux-gnu/libgis.a -lGLU -lGL  -lXm -lX11
>-lXt -lXext  -L/usr/X11R6/lib -L/lib -lm  -lz
>OBJ.i686-pc-linux-gnu/new_init_graphics.o: In function `init_graphics':
>/usr/src/grass/src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL/new_init_gr
>aphics.c:570: undefined reference to `GLwCreateMDrawingArea'
>/usr/src/grass/src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL/new_init_gr
>aphics.c:629: undefined reference to `GLwCreateMDrawingArea'
>collect2: ld returned 1 exit status
>make[3]: ***
>[/usr/src/grass/dist.i686-pc-linux-gnu/etc/bin/contrib/cmd/r3.showdspf] Error 1
>make[3]: Leaving directory
>`/usr/src/grass/src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL'
>make[2]: *** [all] Error 2
>make[2]: Leaving directory `/usr/src/grass/src.contrib/GMSL/g3d/src3d/raster'
>make[1]: *** [all] Error 1
>make[1]: Leaving directory `/usr/src/grass/src.contrib/GMSL/g3d/src3d'
>make: *** [all] Error 2

Hope someone can make sense of all this, if there is any questions I am happy
to answer...
By the way, system is LINUX SuSE 7.0

Cheers,

Arne

-- 
Arne Pallentin

Department of Earth Sciences
The University of Waikato
Private Bag 3105
Hamilton - New Zealand

Ph.:       +64-7-838 4024 ext. 6229
Home:    +64-7-856 7877
Fax.      +64-7-856 0115
e-mail:  arne at waikato.ac.nz


---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list