[GRASS5] Re: [GRASS-CVS] CVS update: grass

GRASS grass at geni.cemtlo.com
Thu Aug 2 20:34:39 EDT 2001


> From: Markus Neteler <neteler at itc.it>
> Subject: [GRASS5] Re: [GRASS-CVS] CVS update: grass
> Date: Thu, 2 Aug 2001 16:20:45 +0200
>
> On Sat, Jul 28, 2001 at 07:33:06AM +0200, grass at intevation.de wrote:
> > 
> > Date:	Saturday July 28, 2001 @ 5:33
> > Author:	glynn
> > 
> > Update of /grassrepository/grass
> > In directory doto:/tmp/cvs-serv30406
> > 
> > Modified Files:
> >       Tag: releasebranch_11_april_2001_5_0_0
> > 	configure configure.in 
> > Log Message:
> > Simplified configure script.
> > 
> > Doesn't go wandering around the filesystem looking for headers and
> > libraries; if they're not in standard locations, you have to tell it.
> > 
> > Doesn't currently support cross-compiling (unable to reliably
> > determine the Tcl/Tk version without running a test program).
>
> Hi Glynn,
>
> I tried the updated configure and ran into a few troubles:
>
> My new system is Redhad 7.1 with tcl/tk 8.3 present. However, configure
> doesn't detect it:
>
> ls /usr/include/tk.h
>  /usr/include/tk.h
> ls /usr/include/tcl.h
>  /usr/include/tcl.h
> (version 8.3)
>
> The libs are also there:
> ls /usr/lib/libtcl
>  libtcl8.3.so     libtclstub8.3.a  libtclx8.2.so
>  libtcl.so        libtclx8.2.a     libtclx.so
> ls /usr/lib/libtk
>  libtk8.3.so     libtkstub8.3.a  libtkx8.2.so
>  libtk.so        libtkx8.2.a     libtkx.so
>
> If running simply
>  configure
> on the same machine:
> checking for location of Tcl/Tk libraries...
> checking for Tcl_Init in -ltcl... yes
> checking for Tk_MainWindow in -ltk... no
> checking for Tk_MainWindow in -ltk8.3... no
> checking for Tk_MainWindow in -ltk... (cached) no
> checking for Tk_MainWindow in -ltk8.3... (cached) no
> checking for Tk_MainWindow in -ltk... (cached) no
> checking for Tk_MainWindow in -ltk8.3... (cached) no
> configure: warning: *** Unable to locate Tk library.
>
> If running 
> configure --with-tcltk-includes=/usr/include
>
> checking for location of Tcl/Tk includes... /usr/include
> configure: warning: *** Tcl/Tk includes directory /usr/include does not
> exist.
> checking for tcl.h... yes
> checking for tk.h... yes
> checking for location of Tcl/Tk libraries...
>
>  -> huh?
>
> -> the head file doesn't contain entries for TCLINCDIR, TKINCDIR and
> TCLTKLIBPATH.
>
> Generally I think the 5.0.0 should be released these days, but
> above (new) bug should be fixed as 5.1 won't be available for some
> time.
>
> Testing on SUN I get:
> checking for location of Tcl/Tk includes... /usr/local/include
> configure: warning: *** Tcl/Tk includes directory /usr/local/include does
> not exist.
> checking for tcl.h... yes
> checking for tk.h... yes
> checking for location of Tcl/Tk libraries... /usr/lib
> checking for Tcl_Init in -ltcl... no
> checking for Tcl_Init in -ltcl8.0... yes
> checking for Tk_MainWindow in -ltk... no
> checking for Tk_MainWindow in -ltk8.0... yes
>
> Looks better but not perfect as the SUN head file finally contains:
> #tcl/tk stuff
> TCLINCDIR           =
> TKINCDIR            =
> TCLTKLIBPATH        = -L/usr/lib
> TCLTKLIBS           = -ltcl8.0 -ltk8.0
>
> Any help is welcome,
>
>  Markus
> _______________________________________________
> grass5 mailing list
> grass5 at geog.uni-hannover.de
> http://www.geog.uni-hannover.de/mailman/listinfo/grass5
>

Hmm,

I have much trouble with new configure too. With this one, I can not find many
headers and libs without options though I didn't have any problem finding
them before. Of course those files are in a standard directory(?). Anyway,
what's the standard directory?

	/usr/include, /usr/X11R6/include, /usr/local/include?

And there is a typo in configure*.

I don't know why wandering for required files is not good. It's more convenient
and more simple(not for programmers but for USERS). I think we'd better focus on
users' convenience. Am I wrong?


Yours,
Huidae Cho



More information about the grass-dev mailing list