[GRASSLIST:1331] 5.7 cygwin Xlib.h

Richard Greenwood Rich at GreenwoodMap.com
Mon Sep 22 23:40:10 EDT 2003


I am still trying to learn how to compile 5.1/5.7 under cygwin. I have 
5.0.2 compiled successfully under my current cygwin configuration with some 
help from this list. I am using Markus's conf_grass51_cygwin.sh script as a 
template. I can get through configure, and make mix, but at make I get 
errors at:

gcc -I/home/Rich/grass57_exp_2003_09_20/include -/home/Rich/grass57_exp_2003_09
_20/dist.i686-pc-cygwin/include -I/usr/include/ncurses -I/usr/X11R6/include -O2
-D__W98__  -Wall -Wconversion -Wno-implicit-int  -I/usr/include/ncurses 
-I/usr/X11R6/include  -fPIC    -I/home/Rich/grass57_exp_2003_09_20/include 
-I/home/Rich/grass57_exp_2003_09_20/dist.i686-pc-cygwin/include \
         -o OBJ.i686-pc-cygwin/open.o -c open.c
cc1: warning: -fPIC ignored for target (all code is position independent)
In file included from open.c:6:
/usr/local/include/tk.h:83:29: X11/Xlib.h: No such file or directory
In file included from open.c:6:
/usr/local/include/tk.h:581: error: parse error before "Bool"
/usr/local/include/tk.h:583: error: parse error before "event"
    .
    .
    .

Xlib.h does indeed seem to be missing from my system, but I am not able to 
find it via cygwin setup. Probably I am looking in the wrong place?

I have the precompiled X tcl/tk 8.x libraries and executables from 
http://grass.itc.it/grass5/binary/windows_cygnus/wingrass_xserver/ 
installed, not the "official" Cygwin Tcl/Tk package, as instructed at 
http://grass.itc.it/grass5/binary/windows_cygnus/cygwin_grass50bininstall.html

As always, thank you for your help,
Rich



Richard W. Greenwood, PLS
Greenwood Mapping, Inc.
Rich <at> GreenwoodMap <dot> com
(307) 733-0203
http://www.GreenwoodMap.com 


More information about the grass-user mailing list