Compiling Grass 5 beta2 on RedHat6.0

Ning Zhong ning at cs.mun.ca
Wed Aug 18 10:57:34 EDT 1999


Hi, Henk,

Just delete the line 186 where the strchr() resides, I did this.
And it works ok.

On Wed, 18 Aug 1999, Henk Coetzee wrote:

> Hi
> 
> I installed the binary beta1 package OK, and seem to have lost the
> tarball. I have managed to download the beta2 sources, but am struggling
> to get the binaries downloaded. Our connections in South Africa often
> leave a lot to be desired. On a first attempt at installing, I get the
> following error:
> 
> gcc -g -O2  -I/usr/local/grass5.0b/src/mapdev/Vlib
> -I/usr/local/grass5.0b/src/mapdev/diglib
> -I/usr/local/grass5.0b/src/include  -c r_dlg_head.c
> r_dlg_head.c:186: macro `strchr' used without args
> make[1]: *** [OBJ.i686-pc-linux-gnu/r_dlg_head.o] Error 1
> make[1]: Leaving directory `/usr/local/grass5.0b/src/mapdev/v.in.dlg'
> GISGEN failure at STEP: src/mapdev/v.in.dlg
> make: *** [do-install] Error 1
> 
> How do I get around this?
> 
> Henk
> 
> 
> ------------------------------------------------
> Henk Coetzee
> Geophysics Unit
> Council for Geoscience
> Private Bag X112, Pretoria, 0001, South Africa
> Tel: +27-12-841-1192   Fax: +27-12-841-1424
> ------------------------------------------------
> 


Best Regards,





More information about the grass-user mailing list