[GRASS5] configure.in Wants testers...gl for cygwin
jhudd at lamar.colostate.edu
Sat Dec 30 09:08:10 EST 2000
I had to add the -lGLw to the line. There is no libGLwM in Cygwin.
The testing for this in the configure would not work until I set a LIBS
variable as follows in my configure-grass.sh script
LIBS="-lGLw -lGLU -lGL -L/usr/X11R6.4/lib -lXm -lXt -lX11 -lSM -lICE -lXext"
rm -i config.cache
./configure --prefix=/usr/local --exec-prefix=/usr/local --with-x-libs=/usr/X11R6.4/lib --with-x-includes=/usr/X11R6.4/include --wit
The src/CMD/head/head.i686-pc-cygwin file is not good when you
do it this way. You have to hand edit that file and then the make
works. Attached is a ZIP file containing this file for anyone's
It would be nice for the configure to create a clean head file.
----- Original Message -----
From: "Eric G . Miller" <egm2 at jps.net>
To: "grass5" <grass5 at geog.uni-hannover.de>
Sent: Friday, December 29, 2000 11:35 AM
Subject: Re: [GRASS5] configure.in Wants testers...gl for cygwin
> On Fri, Dec 29, 2000 at 07:35:49AM -0700, John Huddleston wrote:
> > Eric, (Grass)
> > Using the line
> > gcc -o gltest gltest.c -lGLU -lGL -L/usr/X11R6.4/lib -lX11 -lSM -lICE -lXext
> > will compile the test source code that you have in the
> > configure script under Cygwin to use the GL libes.
> Does it really need all those X libraries? They are not set anywhere in
> src/CMD/head/head.in (only -lX11 and -lXt). I don't know why the X
> libes are in /usr/X11R6.4/lib instead of /usr/X11R6/lib. But this is
> what breaks the AC_PATH_XTRA macro for setting X_LIBS. By the way, the
> AC_PATH_XTRA macro will recognize --x-includes=DIR, --x-libraries=DIR,
> and --without-x.
> Anyway, if -lSM, -lICE, and -lXext are really needed, then we'll have to
> modify src/CMD/head/head.in and the Gmakefiles for NVIZ and r3.showdspf.
> Eric G. Miller <egm2 at jps.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1784 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20001230/41289123/hcygwin.bin
More information about the grass-dev