[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Re: Compiling gst with mingw32

From: Paolo Bonzini
Subject: [Help-smalltalk] Re: Compiling gst with mingw32
Date: Tue, 02 Oct 2007 10:39:30 +0200
User-agent: Thunderbird (Macintosh/20070728)

Cesar Rabak wrote:
2007/9/28, Akeroyd, FA (Freddie) <address@hidden>:

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 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=`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"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]