[GRASSLIST:1315] Re: Compilation error with 2003-09-13 5.7 snapshot. Why?
Hamish
hamish_nospam at yahoo.com
Sun Sep 21 03:23:08 EDT 2003
Radim:
> > It seems that i18n functions are missing in Tcl/Tk used for
> > compilation. 'configure' should try to find the version of library
> > for header file used in --with-tcltk-includes=
...
> > Do you have libtk8.3.so? Try to use --with-tcltk-libs=.
> >
> > What are the values of TCLINCDIR, TKINCDIR, TCLTKLIBPATH and
> > TCLTKLIBS in your include/Make/Platform.make
Antonio:
> > > --with-tcltk-includes=/usr/include/tcl8.3/
...
> I noticed that:
> a) I have tcl/tk 8.0 8.2 8.3, all three versions installed
> contemporarly and that the configure only finds the older one:
...
> checking whether to use Tcl/Tk... yes
> checking for location of Tcl/Tk includes...
> checking for tcl.h... yes
> checking for tk.h... yes
> checking Tcl version... 8.0
> checking Tk version... 8.0
> checking for location of Tcl/Tk library... /usr/lib/
> checking for Tcl_Init in -ltcl... no
> checking for Tcl_Init in -ltcl... no
> checking for Tcl_Init in -ltcl8.0... yes
> <cut>
>
> Then I launch 'make mix' and 'make'.
> At the make I get another error
...
> I think it's still to do with tcl. However I can't get 8.0 and 8.2 off
> my system as I need them to run other apps. how do I tell configure to
> use 8.3 version of tcl?
--with-tcltk-includes=/usr/include/tcl8.3 should do it...
=> try leaving off the final "/" from that line after "tcl8.3".
I have tcl8.0, 8.3, and 8.4 on my Debian/Sarge system, the extra
libraries shouldn't hurt. Make sure you have installed and are using the
tcl8.3-dev & tk8.3-dev packages, and not tcl8.0-dev & tk8.0-dev.
This is my ./configure output from 5.0.2 with the same options, but no
trailing "/"s in the include path names: (5.3 CVS snapshot is same)
[...]
checking whether to use Tcl/Tk... yes
checking for location of Tcl/Tk includes... /usr/include/tcl8.3
checking for tcl.h... yes
checking for tk.h... yes
checking Tcl version... 8.3
checking Tk version... 8.3
checking for location of Tcl/Tk library...
checking for Tcl_Init in -ltcl... no
checking for Tcl_Init in -ltcl... no
checking for Tcl_Init in -ltcl8.3... yes
checking for Tk_MainWindow in -ltk... no
checking for Tk_MainWindow in -ltk... no
checking for Tk_MainWindow in -ltk8.3... yes
[...]
Note the
"checking for location of Tcl/Tk includes... /usr/include/tcl8.3"
line, which has the specified directory missing in your log.
Where does 'ls -l /etc/alternatives/wish' point to?
Does 'ls /usr/include/tcl8.3/' work?
good luck,
Hamish
More information about the grass-user
mailing list