Cesar Rabak wrote:
2007/9/28, Akeroyd, FA (Freddie) <[EMAIL PROTECTED]>:
Hi,
I hadn't tried using Blox before but if you edit blox-tk/BloxTK.c and
change calls to index() to strchr() and then run configure as
env LIBS="-ltk84 -ltcl84" ./configure --with-tcl=/mingw/lib
It seems to compile and link; i'm not sure why the default tcl libraries
are not picked up though
The tclConfig.sh file does not mention them. :-( It can be fixed
properly, for now, can you try this workaround? (This patch should be
applied to the configure script).
--- configure 2007-09-27 16:03:05.000000000 +0200
+++ configure 2007-10-02 10:30:43.000000000 +0200
@@ -20676,8 +20676,14 @@
if test "$gst_cv_tcltk_includes" != "not found"; then
# The indirection is required by Tcl/Tk
- gst_cv_tcltk_libs="$TCL_LIBS $TK_XLIBSW $TCL_LIB_SPEC $TK_LIB_SPEC"
- gst_cv_tcltk_libs=`eval echo $gst_cv_tcltk_libs`
+ if test "x$TCL_LIB_SPEC" = x; then
+ gst_cv_tcltk_libs="$TCL_LIBS $TK_XLIBSW $TCL_STUB_LIB_SPEC
$TK_STUB_LIB_SPEC"
+ gst_cv_tcltk_libs=`eval echo $gst_cv_tcltk_libs`
+ gst_cv_tcltk_libs=`echo $gst_cv_tcltk_libs | sed 's,stub,,g'`
+ else
+ gst_cv_tcltk_libs="$TCL_LIBS $TK_XLIBSW $TCL_LIB_SPEC $TK_LIB_SPEC"
+ gst_cv_tcltk_libs=`eval echo $gst_cv_tcltk_libs`
+ fi
CPPFLAGS="$save_cppflags $gst_cv_tcltk_includes"
LIBS="$save_libs $gst_cv_tcltk_libs"
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk