[GRASSLIST:3384] Compile Error-Tcl Problem?

Carl Brown cbsled at ncia.net
Mon May 10 20:42:53 EDT 2004


I'm trying to build Grass 5.7 from cvs on a newly installed debian sarge i386 
system. I may still be missing some pieces of the puzzle, since this is the 
first attempted build of anything on this system, and I had to install a 
number of  *-dev and other packages to get through ./configure. For Tcl, I 
have installed packages:

tcl8.0
tcl8.3
tcl8.4
tcl8.0-dev
tcl8.4-dev

Tcl/Tk related configure output:

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...
checking for Tcl_Init in -ltcl... no
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 -ltk... no
checking for Tk_MainWindow in -ltk8.0... yes

I then did:

$ make mix
$ make

Here are the errors:

grass51/lib/form/form.c:204: undefined reference to `Tcl_GetEncoding'
grass51/lib/form/form.c:204: undefined reference to `Tcl_UtfToExternal'
grass51/lib/form/form.c:323: undefined reference to `Tcl_GetEncoding'
grass51/lib/form/form.c:323: undefined reference to `Tcl_ExternalToUtf'
grass51/lib/form/form.c:329: undefined reference to `Tcl_SetSystemEncoding'


I know that there is a 5.03 binary package for debian. I installed it, but it 
threw the infamous NVIZ segfault. I have built Grass from source on other 
systems.

Any ideas?

-- 
Carl Brown
Whitefield, NH USA
-----




More information about the grass-user mailing list