Re: [tcljava-dev] Building latest jacl from CVS
Brought to you by:
mdejong
|
From: Neil M. <NM...@uk...> - 2001-08-22 10:08:01
|
Well, I'm getting a _bit_ further with compiling Jacl from CVS. I managed
to get autoconf to build, but now running autoconf in the tcljava directory
results in the error:
configure.in:17: error: possibly undefined macro: AC_MSG_LOG
configure.in:132: error: possibly undefined macro: AC_MSG_ERROR
I feel like I'm getting somewhere at least. Anyone know anything about
these macros, and where they might be defined?
The version of autoconf is:
$ autoconf -V
autoconf (GNU Autoconf) 2.52c
Written by David J. MacKenzie.
Which is a much bigger version jump (from 2.13) than I was expecting. Have
I gone too far?
Is it just me, or does the ./configure; make; make install system rarely
work without quite a lot of tweaking?
___________________________________________________
Neil Madden/UK/Contr/IBM nm...@uk...
Internal: 248724 External: 01962 818724
MP 183, Hursley Manager: Beth Roberts
"Neil Madden"
<NM...@uk... To: tcl...@li...
m.com> cc:
Subject: [tcljava-dev] Building latest jacl from CVS
20/08/2001
11:27
Please respond
to tcljava-dev
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
_______________________________________________
tcljava-dev mailing list
tcl...@li...
http://lists.sourceforge.net/lists/listinfo/tcljava-dev
|