Dear XOtcl list,
I have some problems to install the latest xotcl version on a linux debian platform. The current debian package is 0.85 and I would really like to install 0.9.
So I have tried to install the full source distribution (http://media.wu-wien.ac.at/download/xotcl-full-0.9.3.tar.gz), but, as tcl/tk debian include installation is in the same directory (/usr/include/tcl8.3), it's difficult to tell configure how to deal with it.
1) I have tried: ./configure but the tcl configuration directory is not found: checking for Tcl configuration... configure: warning: Can't find Tcl configuration definitions
2) Then I have tried: ./configure --with-tcl=/usr/lib/tcl8.3 --with-tk=/usr/lib/tk8.3
but, when running make:
cc -DVERSION="0.9" -DXOTCL_LIBRARY="/usr/local/lib/xotcl0.9/library" -I/usr/include/tcl8.3/tcl-private/generic -I/usr/include/tcl8.3/tcl-private/unix -I"./../generic" -I"./../unix" -I"/usr/include" -g -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC -g -DXOLIBPKG="/usr/local/lib/xotcl0.9" -DXOTCLVERSION="0.9" -DXOTCLPATCHLEVEL=".3" -c `echo ../unix/xotkAppInit.c` -o o/xotkAppInit.o ../unix/xotkAppInit.c:19: tk.h: No such file or directory ../unix/xotkAppInit.c:31: #error Tk distribution TOO OLD
3) And I get the same error when telling configure where to actually find tk.h (in /usr/include/tcl8.3) :
./configure --with-tcl=/usr/lib/tcl8.3 --with-tk=/usr/include/tcl8.3 cc -DVERSION="0.9" -DXOTCL_LIBRARY="/usr/local/lib/xotcl0.9/library" -I/usr/include/tcl8.3/tcl-private/generic -I/usr/include/tcl8.3/tcl-private/unix -I"./../generic" -I"./../unix" -I"/usr/include" -g -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC -g -DXOLIBPKG="/usr/local/lib/xotcl0.9" -DXOTCLVERSION="0.9" -DXOTCLPATCHLEVEL=".3" -c `echo ../unix/xotkAppInit.c` -o o/xotkAppInit.o ../unix/xotkAppInit.c:19: tk.h: No such file or directory ../unix/xotkAppInit.c:31: #error Tk distribution TOO OLD make[1]: *** [o/xotkAppInit.o] Error 1
4) I have also tried to specify both include and library, as told by configure --help: ./configure --with-tcl=/usr/lib/tcl8.3 --with-tk=/usr/include/tcl8.3,/usr/lib/tk8.3 but the syntax is not recognized?
So my question is: is there a debian package going to be distributed for the 0.9 version? Does this ditribution contain the necessary .h, or is there a xotcl-dev distribution? Or, could someone help?
Thanks a lot in advance,