[GRASSLIST:1336] Re: 5.7 cygwin Xlib.h

Glynn Clements glynn.clements at virgin.net
Tue Sep 23 03:53:12 EDT 2003


Richard Greenwood wrote:

> 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?

You need to install the XFree86 packages.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list