[tcljava-dev] Building latest jacl from CVS
Brought to you by:
mdejong
From: Neil M. <NM...@uk...> - 2001-08-20 10:30:50
|
I'm having quite a bit of trouble building jacl from CVS. I'm trying to build under cygwin, but the configure script refused to work, because it wants autoconf to be run, and I didn't have version 2.14 (which it asks for). I got the latest CVS autoconf (as the latest release seems to be 2.13), but that steadfastly refuses to build, either. Trying to compile jacl manually using javac results in a whole heap of errors. Anyone have a build, or can provide me with details of how to compile this properly. Also, I have put up a version of jacl (1.2.6) with sockets support, at http://tallniel.port5.com/cgi-bin/index.cgi/JaclSockets.html You can get a jar file (containing jacl, tcljava, and the new sockets class files and source) at http://tallniel.port5.com/jacl-sockets.jar The new files needed for sockets are: SocketCmd.java - actually implemented. SocketChannel.java - client side, extends Channel ServerSocketChannel.java - server side, extends Channel SocketConnectionEvent.java - event added to event queue when a client connects to a server socket, extends TclEvent. It seems to work ok for me, albeit somewhat limited (see my previous post). One other question - someone had written some comments in the SocketCmd.java file about setting up server sockets. I didn't fully understand what was being said. I think the gist of it was to somehow get the interpreter to inform us when it was being deleted so that socket events wouldn't try and execute callbacks in an invalid interpreter. I didn't know how to do this, but socket events deal with the interpreter being an invalid reference anyway. Any comments, code improvements (I'm sure there are many), gratefully received. Neil. ___________________________________________________ Neil Madden/UK/Contr/IBM nm...@uk... Internal: 248724 External: 01962 818724 MP 183, Hursley Manager: Beth Roberts |