[GRASS5] grass5.3.0 compilation problems

Glynn Clements glynn.clements at virgin.net
Thu Jun 3 20:19:32 EDT 2004

ivan marchesini wrote:

> about the compilation errors I said you some days ago....:
> I have made these steps:
> mv /usr/local/lib/libz.a /usr/local/lib/libz.a-bak
> ln -s /usr/lib/libz.so.1 /usr/local/lib/libz.a

That last one isn't right. Ideally, there shouldn't be a libz.a
anywhere, and there shouldn't be libz.<anything> in /usr/local/lib,
there should just be something like the following in /usr/lib:

lrwxrwxrwx    1 root     root           13 Apr  2  2002 /usr/lib/libz.so -> libz.so.1.1.3
lrwxrwxrwx    1 root     root           13 Apr  2  2002 /usr/lib/libz.so.1 -> libz.so.1.1.3
-rwxr-xr-x    1 root     root        59655 Feb 25  2002 /usr/lib/libz.so.1.1.3

However, your existing problems don't appear to be related to zlib.

> then I tried to compile and a lot of errors I obtained before were
> removed, I only obtained:
> Compilation error in module: src/raster/r.in.png (ignored)
> Compilation error in module: src/raster/r.out.png (ignored)
> Compilation error in module: src.contrib/GMSL/NVIZ2.2 (ignored)
> now: since I compiled without png support (with-png=no) the only problem
> remains NVIZ...
> during your last e-mail, you asked about the version of XFree I'm
> using... it is the 4.3.0.dfsg.1-1

> gcc -I/home/ivan/Documents/GRASS/grass-5.3.0/src/include -g -O2  
> -I/usr/X11R6/include -I/usr/include/tcl8.3 -I/usr/include/tc$

> <command line>:5:1: warning: "__STDC__" redefined
> togl.c:38:66: X11/Xmu/StdCmap.h: No such file or directory

Well, the standard XFree86 4.3.0 release includes X11/Xmu/StdCmap.h,
so it appears that whoever built the package which you are using has
removed it, or at least moved it to a separate package. You will have
to ask the package maintainer about this issue.

Glynn Clements <glynn.clements at virgin.net>

More information about the grass-dev mailing list