[GRASS5] problem compiling 57

Dear all/developers,
I have just downloaded grass5.7.0 source code (not CVS)...
the ./configure was good....
later, I tried the make command and I obtained an error....
I have put here the last rows of the compilation process:

____________________________________________________________
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/GV2.o -c GV2.c
GV2.c: In function `GV_get_vect_list':
GV2.c:84: warning: implicit declaration of function `malloc'
GV2.c: In function `GV_load_vector':
GV2.c:150: warning: implicit declaration of function `strlen'
GV2.c:151: warning: implicit declaration of function `strcpy'
GV2.c:154: warning: suggest parentheses around assignment used as truth
value
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/Gv3.o -c Gv3.c
Gv3.c: In function `Gv_load_vect':
Gv3.c:79: warning: passing arg 1 of `calloc' as unsigned due to
prototype
Gv3.c:88: warning: passing arg 1 of `calloc' as unsigned due to
prototype
Gv3.c:152: warning: passing arg 1 of `calloc' as unsigned due to
prototype
Gv3.c:161: warning: passing arg 1 of `calloc' as unsigned due to
prototype
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/gv.o -c gv.c
gv.c: In function `gv_get_new_vect':
gv.c:117: warning: implicit declaration of function `malloc'
gv.c:123: warning: suggest parentheses around assignment used as truth
value
gv.c: In function `gv_free_vect':
gv.c:248: warning: implicit declaration of function `free'
gv.c: In function `gv_free_vectmem':
gv.c:284: warning: passing arg 1 of `sub_Vectmem' as signed due to
prototype
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/gvd.o -c gvd.c
gvd.c: In function `gvd_vect':
gvd.c:106: warning: passing arg 1 of `gsd_translate' as `float' rather
than `do
uble' due to prototype
gvd.c:106: warning: passing arg 2 of `gsd_translate' as `float' rather
than `do
uble' due to prototype
gvd.c:106: warning: passing arg 3 of `gsd_translate' as `float' rather
than `do
uble' due to prototype
gvd.c:109: warning: passing arg 1 of `gsd_color_func' as unsigned due to
protot
ype
gvd.c:110: warning: passing arg 1 of `gsd_linewidth' with different
width due t
o prototype
gvd.c:135: warning: passing arg 1 of `gsd_linewidth' with different
width due t
o prototype
gvd.c:195: warning: passing arg 1 of `gsd_color_func' as unsigned due to
protot
ype
gvd.c:227: warning: passing arg 1 of `glColor3f' as `float' rather than
`double
' due to prototype
gvd.c:227: warning: passing arg 2 of `glColor3f' as floating rather than
intege
r due to prototype
gvd.c:227: warning: passing arg 3 of `glColor3f' as floating rather than
intege
r due to prototype
gvd.c:228: warning: passing arg 1 of `gsd_color_func' as unsigned due to
protot
ype
gvd.c:246: warning: passing arg 1 of `gsd_linewidth' with different
width due t
o prototype
gvd.c: In function `gvd_draw_lineonsurf':
gvd.c:258: warning: passing arg 1 of `gsd_color_func' as unsigned due to
protot
ype
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/GVL2.o -c GVL2.c
GVL2.c: In function `GVL_get_vol_list':
GVL2.c:84: warning: implicit declaration of function `malloc'
GVL2.c: In function `GVL_get_volname':
GVL2.c:165: warning: implicit declaration of function `strcpy'
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/gvl.o -c gvl.c
gvl.c: In function `gvl_get_new_vol':
gvl.c:118: warning: implicit declaration of function `malloc'
gvl.c:124: warning: suggest parentheses around assignment used as truth
value
gvl.c: In function `gvl_free_vol':
gvl.c:223: warning: implicit declaration of function `free'
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/Gvol.o -c Gvol.c
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/gv_quick.o -c gv_quick.c
gv_quick.c: In function `copy_line':
gv_quick.c:45: warning: passing arg 1 of `calloc' as unsigned due to
prototype
gv_quick.c:57: warning: passing arg 1 of `calloc' as unsigned due to
prototype
gv_quick.c: In function `thin_line':
gv_quick.c:97: warning: passing arg 1 of `calloc' as unsigned due to
prototype
gv_quick.c:116: warning: passing arg 1 of `calloc' as unsigned due to
prototype
gv_quick.c: In function `gv_decimate_lines':
gv_quick.c:207: warning: passing arg 2 of `thin_line' as `float' rather
than `d
ouble' due to prototype
gv_quick.c:211: warning: passing arg 2 of `thin_line' as `float' rather
than `d
ouble' due to prototype
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/trans.o -c trans.c
trans.c: In function `P_rotate':
trans.c:207: warning: passing arg 1 of `P_rot' as `float' rather than
`double' due to prototype
trans.c:207: warning: passing arg 2 of `P_rot' with different width due
to prot otype
gcc -rdynamic
-L/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu /lib -Wl,-rpath, -shared \
        OBJ.i686-pc-linux-gnu/GK2.o OBJ.i686-pc-linux-gnu/gk.o
OBJ.i686-pc-linu x-gnu/GP2.o
OBJ.i686-pc-linux-gnu/Gp3.o OBJ.i686-pc-linux-gnu/gp.o
OBJ.i686-pc- linux-gnu/gpd.o
OBJ.i686-pc-linux-gnu/GS2.o OBJ.i686-pc-linux-gnu/Gs3.o
OBJ.i68 6-pc-linux-gnu/gs_bm.o
OBJ.i686-pc-linux-gnu/gs.o
OBJ.i686-pc-linux-gnu/gsd_cpl ane.o
OBJ.i686-pc-linux-gnu/gsd_fonts.o OBJ.i686-pc-linux-gnu/gsdiff.o
OBJ.i686 -pc-linux-gnu/gsd_img.o
OBJ.i686-pc-linux-gnu/gsd_img_ppm.o
OBJ.i686-pc-linux-g nu/gsd_img_tif.o
OBJ.i686-pc-linux-gnu/gsd_label.o
OBJ.i686-pc-linux-gnu/gsd_le gend.o
OBJ.i686-pc-linux-gnu/gsd_objs.o OBJ.i686-pc-linux-gnu/gsd_prim.o
OBJ.i6 86-pc-linux-gnu/gsdrape.o
OBJ.i686-pc-linux-gnu/gsds.o
OBJ.i686-pc-linux-gnu/gs d_surf.o
OBJ.i686-pc-linux-gnu/gsd_views.o OBJ.i686-pc-linux-gnu/gsd_wire.o
OBJ .i686-pc-linux-gnu/gsget.o
OBJ.i686-pc-linux-gnu/gs_norms.o
OBJ.i686-pc-linux-g nu/gs_query.o
OBJ.i686-pc-linux-gnu/GS_util.o OBJ.i686-pc-linux-gnu/GSX.o
OBJ.i 686-pc-linux-gnu/GV2.o
OBJ.i686-pc-linux-gnu/Gv3.o OBJ.i686-pc-linux-gnu/gv.o
O BJ.i686-pc-linux-gnu/gvd.o
OBJ.i686-pc-linux-gnu/GVL2.o
OBJ.i686-pc-linux-gnu/g vl.o
OBJ.i686-pc-linux-gnu/Gvol.o OBJ.i686-pc-linux-gnu/gv_quick.o
OBJ.i686-pc- linux-gnu/trans.o -lgrass_gis
-lgrass_datetime -lz -lgrass_bitmap
-lgrass_ve ct -lgrass_dig2 -lgrass_dgl
-lgrass_rtree -lgrass_linkm -lgrass_dbmiclient
-lgr ass_dbmibase -L/usr/local/lib -lgdal
-lGL -ltiff -lm -lgrass_image -lgrass_si
tes -o
/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/lib/lib grass_ogsf.so
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[2]: ***
[/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/l ib/libgrass_ogsf.so] Error 1
make[2]: Leaving directory
`/home/simona/Documents/GRASS/grass-5.7.0/lib/ogsf'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory
`/home/simona/Documents/GRASS/grass-5.7.0/lib'
make: *** [default] Error 1
____________________________________________________________

can you give me some helps....
thank you

ivan marchesini wrote:

Dear all/developers,
I have just downloaded grass5.7.0 source code (not CVS)...
the ./configure was good....
later, I tried the make command and I obtained an error....
I have put here the last rows of the compilation process:

/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/lib/libgrass_ogsf.so
/usr/bin/ld: cannot find -lGL

The OGSF library requires OpenGL. However, it is built regardless of
whether you use --with-opengl.

Also, 5.7.0 aborts on the first error, while later CVS versions will
move on to the next module.

--
Glynn Clements <glynn@gclements.plus.com>

On Tue, Nov 09, 2004 at 03:41:15PM +0100, ivan marchesini wrote:

Dear all/developers,
I have just downloaded grass5.7.0 source code (not CVS)...
the ./configure was good....
later, I tried the make command and I obtained an error....
I have put here the last rows of the compilation process:

____________________________________________________________

...

-lGL -ltiff -lm -lgrass_image -lgrass_si
tes -o
/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/lib/lib grass_ogsf.so
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[2]: ***
[/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/l ib/libgrass_ogsf.so] Error 1
make[2]: Leaving directory
`/home/simona/Documents/GRASS/grass-5.7.0/lib/ogsf'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory
`/home/simona/Documents/GRASS/grass-5.7.0/lib'
make: *** [default] Error 1
____________________________________________________________

can you give me some helps....
thank you

It doesn't find libGL.so... Maybe no openGL present in your system?

Markus

sorry markus, sorry all...

another thing.....
I'm using tcl/tk8.4
can be a problem???
because it seems to me to have read something bad about tcltk8.4 and
grass57.....

thank you very much....
bye
ivan

Il mar, 2004-11-09 alle 18:20, Markus Neteler ha scritto:

On Tue, Nov 09, 2004 at 03:41:15PM +0100, ivan marchesini wrote:
> Dear all/developers,
> I have just downloaded grass5.7.0 source code (not CVS)...
> the ./configure was good....
> later, I tried the make command and I obtained an error....
> I have put here the last rows of the compilation process:
>
> ____________________________________________________________
...

> -lGL -ltiff -lm -lgrass_image -lgrass_si
> tes -o
> /home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/lib/lib grass_ogsf.so
> /usr/bin/ld: cannot find -lGL
> collect2: ld returned 1 exit status
> make[2]: ***
> [/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/l ib/libgrass_ogsf.so] Error 1
> make[2]: Leaving directory
> `/home/simona/Documents/GRASS/grass-5.7.0/lib/ogsf'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory
> `/home/simona/Documents/GRASS/grass-5.7.0/lib'
> make: *** [default] Error 1
> ____________________________________________________________
>
>
> can you give me some helps....
> thank you

It doesn't find libGL.so... Maybe no openGL present in your system?

Markus

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5

Dear Marcus...., dear all
I have done what you said...
I entered the grass source cvs location....
I did
__________
cvs up -dP
__________

then configure:

__________________________________________________________________
CFLAGS="-g -Wall" ./configure
--with-grass50=/home/simona/Documents/GRASS/grass53_exp_2004_11_06/
--with-tcltk-includes=/usr/include/ --with-postgres=no
--with-opengl-includes=/usr/X11R6/include/GL/ --without-odbc
--without-fftw --with-proj=yes
__________________________________________________________________

(is correct??? because I'm not sure to have understood you previous
e-mail.... I still need the 53cvs source code to compile CVS, it's
only not necessary to compile 53.....)

then

______
make
________

and the error.log is this:

__________________________________________________________

GRASS GIS compilation log
-------------------------
Started compilation: mar nov 9 19:10:18 CET 2004
Errors in:
/home/simona/Documents/GRASS/grass57_exp_2004_11_06/display/drivers/XDRIVER/XDRIVER24
/home/simona/Documents/GRASS/grass57_exp_2004_11_06/display/drivers/PNG
/home/simona/Documents/GRASS/grass57_exp_2004_11_06/raster3d/r3.showdspf
Finished compilation: mar nov 9 19:28:03 CET 2004
_______________________________________________________________

there is the error on the XDRIVER24.....
I have made some errors during the CVS update???

thank you very much....

Il mar, 2004-11-09 alle 18:59, Markus Neteler ha scritto:

On Tue, Nov 09, 2004 at 06:54:17PM +0100, ivan marchesini wrote:
> Dear Marcus, dear all....
> after the ./configure process I obtained the make script opengl
> configured...... so I'm sure to have the opengl....

so configure states that OpenGL is there?
Good.

> anyway....I have another problem:
>
> later I decided to try with CVS ....
> I have compiled 53CVS correctly and then I started to compile 57CVS with

The *compilation* if 5.3 is not required.
>From today CVS onwards not even the 5.3 source code is any more required.

> ....
> all works well....
> and at the end I obtained the grass57 compiled....
> the problem is that I'm not able to start
> monitors....!!!!!!!!!!!!!!!!!!!!

Don't panic :slight_smile:

> after d.mon start=x0 I obtain this:
> _____________________________________________________
> Could not execute monitor: No such file or directory
> No socket to connect to for monitor <x1>.
> Problem selecting x1. Will try once more
> No socket to connect to for monitor <x1>.
> _____________________________________________________
>

Yes, it was simply not compiled.

> going into details:
>

The details we need here are the contents
of the error.log which is displayed after compilation.
If there is an error, it should be fixed first.

How to find out:
- go into the directory where the error occured
- run 'make' there
- analyse and/or send the error message

Please, before trying, update from CVS as I have fixed
a bug in the XDRIVER (see mailing list).

#in grass57 main source dir
cvs up -dP

#Watch out for problems as usual.
#then

make

#then

check what error.log tells you.

> I have compiled using this configure script:
> ____________________________________________________________________
> CFLAGS="-g -Wall" ./configure
> --with-grass50=/home/simona/Documents/GRASS/grass53_exp_2004_11_06/

this is no longer needed if you have a recent (todays) CVS version.
See mailing list discussion.

> --with-tcltk-includes=/usr/include/ --with-postgres=no
> --with-opengl-includes=/usr/X11R6/include/GL/ --without-odbc
> --without-fftw --with-proj=yes
> ____________________________________________________________________
>
>
>
>
> help me please.......
> I have had an hard day... :slight_smile:

me too :slight_smile:

hope this helps

markus

Ciao Ivan,

tcl/tk8.4 works well (probably only on non-Debian systems?).
At least with Mdk10.0.

On Tue, Nov 09, 2004 at 07:52:23PM +0100, ivan marchesini wrote:

Dear Marcus...., dear all
I have done what you said...
I entered the grass source cvs location....
I did
__________
cvs up -dP

ok

then configure:

__________________________________________________________________
CFLAGS="-g -Wall" ./configure
--with-grass50=/home/simona/Documents/GRASS/grass53_exp_2004_11_06/
--with-tcltk-includes=/usr/include/ --with-postgres=no
--with-opengl-includes=/usr/X11R6/include/GL/ --without-odbc
--without-fftw --with-proj=yes
__________________________________________________________________

(is correct??? because I'm not sure to have understood you previous
e-mail.... I still need the 53cvs source code to compile CVS, it's
only not necessary to compile 53.....)

- it was never required to compile G5.3
- since yesterday: not even the source code of 5.3 is required any more
  (in italiano: non ti serve piu' il codice sorgente di 5.3; basta
   il codice di 5.7)

Additionally, please add above
--with-freetype --with-freetype-includes=/usr/include/freetype2

So completely:
CFLAGS="-g -Wall" ./configure \
--with-postgres=no \
--with-opengl-includes=/usr/X11R6/include/GL \
--without-odbc \
--without-fftw \
--with-freetype --with-freetype-includes=/usr/include/freetype2

then
______
make
________

and the error.log is this:

__________________________________________________________

GRASS GIS compilation log
-------------------------
Started compilation: mar nov 9 19:10:18 CET 2004
Errors in:
/home/simona/Documents/GRASS/grass57_exp_2004_11_06/display/drivers/XDRIVER/XDRIVER24
/home/simona/Documents/GRASS/grass57_exp_2004_11_06/display/drivers/PNG
/home/simona/Documents/GRASS/grass57_exp_2004_11_06/raster3d/r3.showdspf
Finished compilation: mar nov 9 19:28:03 CET 2004
_______________________________________________________________

there is the error on the XDRIVER24.....
I have made some errors during the CVS update???

No. But the currently required Freetype2 was not defined above.
Please add it to compile the XDRIVER.

hope this helps

Markus

Il mar, 2004-11-09 alle 18:59, Markus Neteler ha scritto:
> On Tue, Nov 09, 2004 at 06:54:17PM +0100, ivan marchesini wrote:
> > Dear Marcus, dear all....
> > after the ./configure process I obtained the make script opengl
> > configured...... so I'm sure to have the opengl....
>
>
> so configure states that OpenGL is there?
> Good.
>
> > anyway....I have another problem:
> >
> > later I decided to try with CVS ....
> > I have compiled 53CVS correctly and then I started to compile 57CVS with
>
> The *compilation* if 5.3 is not required.
> >From today CVS onwards not even the 5.3 source code is any more required.
>
> > ....
> > all works well....
> > and at the end I obtained the grass57 compiled....
> > the problem is that I'm not able to start
> > monitors....!!!!!!!!!!!!!!!!!!!!
>
> Don't panic :slight_smile:
>
> > after d.mon start=x0 I obtain this:
> > _____________________________________________________
> > Could not execute monitor: No such file or directory
> > No socket to connect to for monitor <x1>.
> > Problem selecting x1. Will try once more
> > No socket to connect to for monitor <x1>.
> > _____________________________________________________
> >
>
> Yes, it was simply not compiled.
>
> > going into details:
> >
>
> The details we need here are the contents
> of the error.log which is displayed after compilation.
> If there is an error, it should be fixed first.
>
> How to find out:
> - go into the directory where the error occured
> - run 'make' there
> - analyse and/or send the error message
>
> Please, before trying, update from CVS as I have fixed
> a bug in the XDRIVER (see mailing list).
>
> #in grass57 main source dir
> cvs up -dP
>
> #Watch out for problems as usual.
> #then
>
> make
>
> #then
>
> check what error.log tells you.
>
>
> > I have compiled using this configure script:
> > ____________________________________________________________________
> > CFLAGS="-g -Wall" ./configure
> > --with-grass50=/home/simona/Documents/GRASS/grass53_exp_2004_11_06/
>
> this is no longer needed if you have a recent (todays) CVS version.
> See mailing list discussion.
>
> > --with-tcltk-includes=/usr/include/ --with-postgres=no
> > --with-opengl-includes=/usr/X11R6/include/GL/ --without-odbc
> > --without-fftw --with-proj=yes
> > ____________________________________________________________________
> >
> >
> >
> >
> > help me please.......
> > I have had an hard day... :slight_smile:
>
> me too :slight_smile:
>
> hope this helps
>
> markus
>

--
Markus Neteler <neteler itc it> http://mpa.itc.it
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy

On Nov 10, 2004, at 1:23 AM, Markus Neteler wrote:

- since yesterday: not even the source code of 5.3 is required any more
  (in italiano: non ti serve piu' il codice sorgente di 5.3; basta
   il codice di 5.7)

Is this true? If I compile the new 51 branch without shared, there are there are a number of general commands that are missing (and they happen to be the same ones that give bus errors when I try and run them.

For example in:

\barbaloot:~/grass5_dev/grass51/general kirkw$ ls
CVS/ g.filename/ g.mapsets/ g.setproj/ manage/
Makefile g.findfile/ g.parser/ g.tempfile/
g.access/ g.gisenv/ g.proj/ g.version/
g.ask/ g.mapset/ g.region/ g3.region/

I don't see g.copy, g.list, g.remove, g.region, or g.mremove. Am I missing something here (either figuratively or literally).

Kirk R. Wythers
Dept. of Forest Resources
University of Minnesota
email: kwythers@umn.edu
tel: 612.625.2261
fax: 612.625.5212

ivan marchesini wrote:

then configure:

__________________________________________________________________
CFLAGS="-g -Wall" ./configure
--with-grass50=/home/simona/Documents/GRASS/grass53_exp_2004_11_06/
--with-tcltk-includes=/usr/include/ --with-postgres=no

Never specify /usr/include, as this can interfere with the compiler
(gcc 3.x includes a workaround, i.e. it deliberately ignores
-I/usr/include and similar switches).

--with-opengl-includes=/usr/X11R6/include/GL/

This is incorrect; it should be just:

  --with-opengl-includes=/usr/X11R6/include

The "GL" is part of the header name, e.g. <GL/gl.h>, so with your
setting the compiler would look for /usr/X11R6/include/GL/GL/gl.h,
which will probably fail.

GRASS GIS compilation log
-------------------------
Started compilation: mar nov 9 19:10:18 CET 2004
Errors in:
/home/simona/Documents/GRASS/grass57_exp_2004_11_06/display/drivers/XDRIVER/XDRIVER24
/home/simona/Documents/GRASS/grass57_exp_2004_11_06/display/drivers/PNG

As Markus suggests, you need to enable FreeType support (a
poorly-implemented "improvement" to the drivers was recently
committed, with the result that FreeType is currently a non-optional
dependency).

/home/simona/Documents/GRASS/grass57_exp_2004_11_06/raster3d/r3.showdspf

This module requires Motif, but it is compiled regardless of whether
you use --with-motif.

--
Glynn Clements <glynn@gclements.plus.com>

Kirk R. Wythers wrote:

> - since yesterday: not even the source code of 5.3 is required any more
> (in italiano: non ti serve piu' il codice sorgente di 5.3; basta
> il codice di 5.7)

Is this true? If I compile the new 51 branch without shared, there are
there are a number of general commands that are missing (and they
happen to be the same ones that give bus errors when I try and run
them.

For example in:

\barbaloot:~/grass5_dev/grass51/general kirkw$ ls
CVS/ g.filename/ g.mapsets/ g.setproj/ manage/
Makefile g.findfile/ g.parser/ g.tempfile/
g.access/ g.gisenv/ g.proj/ g.version/
g.ask/ g.mapset/ g.region/ g3.region/

I don't see g.copy, g.list, g.remove, g.region, or g.mremove. Am I
missing something here (either figuratively or literally).

All of those are in the "manage" subdirectory, except for g.mremove,
which is a script (as is g.mlist). That is true for both 5.3 and 5.7.

--
Glynn Clements <glynn@gclements.plus.com>

On Wed, Nov 10, 2004 at 08:30:40AM -0600, Kirk R. Wythers wrote:

On Nov 10, 2004, at 1:23 AM, Markus Neteler wrote:
>
>- since yesterday: not even the source code of 5.3 is required any more
> (in italiano: non ti serve piu' il codice sorgente di 5.3; basta
> il codice di 5.7)

Is this true? If I compile the new 51 branch without shared, there are
there are a number of general commands that are missing (and they
happen to be the same ones that give bus errors when I try and run
them.

For example in:

\barbaloot:~/grass5_dev/grass51/general kirkw$ ls
CVS/ g.filename/ g.mapsets/ g.setproj/ manage/
Makefile g.findfile/ g.parser/ g.tempfile/
g.access/ g.gisenv/ g.proj/ g.version/
g.ask/ g.mapset/ g.region/ g3.region/

I don't see g.copy, g.list, g.remove, g.region, or g.mremove. Am I
missing something here (either figuratively or literally).

Looks like a local compilation problem or MacOSX problem.
Just watch out for compilation errors.

In my Linux box I have:
GRASS 5.7.cvs:~ > g.
g.access g.findfile g.mapsets g.region
g.apropos g.gisenv g.mlist g.remove
g.ask g.link g.mremove g.rename
g.copy g.list g.out.prj g.setproj
                         g.manual g.parser g.tempfile
g.filename g.mapset g.proj g.version

All common stuff is of course there.

Markus

Is this true? If I compile the new 51 branch without shared, there are
there are a number of general commands that are missing

Really missing or apparently missing? Look in "error.log" for modules which
did not compile.

For example in:

\barbaloot:~/grass5_dev/grass51/general kirkw$ ls
CVS/ g.filename/ g.mapsets/ g.setproj/ manage/
Makefile g.findfile/ g.parser/ g.tempfile/
g.access/ g.gisenv/ g.proj/ g.version/
g.ask/ g.mapset/ g.region/ g3.region/

I don't see g.copy, g.list, g.remove, g.region, or g.mremove. Am I
missing something here (either figuratively or literally).

(they are in manage/)

(and they happen to be the same ones that give bus errors when I try and
run them.

There was this change last week,

http://freegis.org/cgi-bin/viewcvs.cgi/grass51/general/manage/lib/do_rename.c.diff?r1=1.2&r2=1.3

but that shouldn't affect all the modules.

Hamish

Thanks to all....
the problem was the freetype support....
adding freetype 2 all is working really well....
thank you very much!!!!

ivan

Il mar, 2004-11-09 alle 17:12, glynn@gclements.plus.com ha scritto:

ivan marchesini wrote:

> Dear all/developers,
> I have just downloaded grass5.7.0 source code (not CVS)...
> the ./configure was good....
> later, I tried the make command and I obtained an error....
> I have put here the last rows of the compilation process:

> /home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/lib/libgrass_ogsf.so
> /usr/bin/ld: cannot find -lGL

The OGSF library requires OpenGL. However, it is built regardless of
whether you use --with-opengl.

Also, 5.7.0 aborts on the first error, while later CVS versions will
move on to the next module.