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@geog.uni-hannover.de with
subject 'unsubscribe grass5'
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@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@geog.uni-hannover.de with
subject 'unsubscribe grass5'
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).
./configure --help
...
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR
...
[snip]
Unfortunately I don't know yet how autoconf looks for X - it seems to be the
AC_PATH_XTRA line in configure.in.
You found it... How 'bout "mv /usr/X11r6 /usr/X11R6"? How does the "X"
happen to be captilized, but not the "R"? Everything I've seen says
X11R6.
--
Eric G. Miller <egm2@jps.net>
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
Markus,
I decided to take a different approach to the v.digit problem I was
having on Solaris (7). I grabbed a copy of libncurses (5.0) and built
and installed it. I then editted the Solaris head file and changed the
CURSES line to -lncurses and I took out the TERMLIB line (-ltermlib). I
had to rebuild the vask library because it complained about undefined
symbols. v.digit then built cleanly and seems to work fine. v.digit
obviously did not like the version of libcurses installed on the Sun.
My recommendations to anyone installing GRASS on Solaris 7 would be to
grab a copy of libncurses and a copy of gnu-tar (for the install).
I hope this helps.
--
Bob Covill
Tekmap Consulting
P.O. Box 2016 Fall River, N.S.
B2T 1K6
Canada
E-Mail: bcovill@tekmap.ns.ca
Phone: 902-860-1496
Fax: 902-860-1498
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'