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

Andreas Lange Andreas.Lange at Rhein-Main.de
Thu Aug 2 10:41:14 EDT 2001


I can confirm that it does not work under Windows / cygwin either.
Headers and libs are not found even if specified on command line.

Fix is urgently needed, as i'd like to build a new winGRASS test build.

cu,

Andreas

Markus Neteler wrote:
> 
> 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

-- 
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
url: http://mitglied.tripod.de/AndreasLange
mail: Andreas.Lange_at_Rhein-Main.de - A.C.Lange_at_GMX.net



More information about the grass-dev mailing list