[GRASS5] Autoconf and Cygwin - X11

Markus Neteler neteler at geog.uni-hannover.de
Tue Mar 6 05:15:49 EST 2001


Hi Mike,

I have applied both your patches (added the paths). Hope this helps,
 
thanks
 Markus
 

On Tue, Mar 06, 2001 at 10:26:44AM +1000, Mike Thomas wrote:
> Hi all.
> 
> On Cygwin, autoconf generates a configure script which doesn't find the X11
> libs and headers in their default location "/usr/X11r6" (note the small r).
> 
> A patch to partially solve this problem (searches for certain utility
> libraries such as OpenGL and PNG) is below.
> 
> I say partially because the script still fails to find X itself, which means
> that XINCPATH and XLIBPATH need to be manually edited in the head file:
> ----------------------------------------------------------------------------
> --
> ...
> checking how to run the C preprocessor... (cached) gcc -E
> checking for X... (cached) no
> checking for ANSI C header files... (cached) yes
> ...
> ----------------------------------------------------------------------------
> --
> 
> Unfortunately I don't know yet how autoconf looks for X - it seems to be the
> AC_PATH_XTRA line in configure.in.
> 
> Cheers
> 
> Mike Thomas.
> 
> Index: configure.in
> ===================================================================
> RCS file: /home/grass/grassrepository/grass/configure.in,v
> retrieving revision 1.54
> diff -r1.54 configure.in
> 215,216c215,216
> < my_inc_dirs="/usr/include /usr/local/include /usr/X11R6/include
> /opt/include /usr/freeware/include"
> < my_lib_dirs="/usr/lib /usr/local/lib /usr/X11R6/lib /opt/lib
> /usr/freeware/lib"
> ---
> > my_inc_dirs="/usr/include /usr/local/include /usr/X11R6/include
> /usr/X11r6/include /opt/include /usr/freeware/include"
> > my_lib_dirs="/usr/lib /usr/local/lib /usr/X11R6/lib /usr/X11r6/lib
> /opt/lib /usr/freeware/lib"
> 828c828,829
> <     /usr/X11R6/include /usr/X11R6/include/GL /opt/Mesa/include"
> ---
> >     /usr/X11R6/include /usr/X11R6/include/GL \
> >     /usr/X11r6/include /usr/X11r6/include/GL /opt/Mesa/include"
> 857c858
> <     /usr/local/Mesa/lib /usr/X11R6/lib /usr/local/X11/lib \
> ---
> >     /usr/local/Mesa/lib /usr/X11R6/lib /usr/X11r6/lib /usr/local/X11/lib \
> 
> 
> 
> ---------------------------------------- 
> If you want to unsubscribe from GRASS Development Team mailing list write to:
> minordomo at geog.uni-hannover.de with
> subject 'unsubscribe grass5'
> 

-- 
Markus Neteler *  University of Hannover
Institute of Physical Geography and Landscape Ecology
Schneiderberg 50 * D-30167 Hannover * Germany
Tel: ++49-(0)511-762-4494  Fax: -3984

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list