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 Once built you will need to copy blox-tk/.libs/blox-tk-2-3-6.dll to blox-tk.dll in the appropriate location; however when I run ./gst browser/Run.st I don't get a window, so further investigation is needed. With regard to "help2man" I can run make gst.1 OK from the doc directory, so I'm not sure what the cause of the problem is there Regards, Freddie -----Original Message----- From: Cesar Rabak [mailto:[EMAIL PROTECTED] Sent: 28 September 2007 01:24 To: Akeroyd, FA (Freddie) Cc: [email protected] Subject: Re: [Help-smalltalk] Re: Compiling gst with mingw32 2007/9/27, Akeroyd, FA (Freddie) <[EMAIL PROTECTED]>: > Hi, > > If you unpack a clean 2.3.6 distribution, cd into the top directory and > apply the enclosed patch via > > patch -p0 < mingw.patch > touch aclocal.m4 config.h.in configure > > It should fix the problems. You may get a warning about automake-1.9 not > being available when you "configure and make", but you can ignore that. > Hi Freddie, Your patch fixed the problems and gave the warnings as you predicted! I had a small stumble on the building of docs (help2man has the path for perl hardcoded and in a mingw32 installation it is available in the binary path). However, even if after I tried calling manually doing 'perl ../build-aux/help2man... etc., it failed saying help2man could not get --help from gst. After that, make complained I have not autom4te (which is true, but configure did not complain earlier). I was able to run make check and now I installed it with make install. Present status: command line gst seems to be working (will test more thoroughly tomorrow) but even though I compiled using: ./configure --with-tcl=/mingw/lib/ --with-tk=/mingw/lib And I have a tcl and a tk in my mingw32 installation, as well as the tclConfig.sh and tkConfig.sh there, I could not run Blox. Regards, -- Cesar Rabak _______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
