Re: [tcljava-user] Seems to work on AMD64 Linux
Brought to you by:
mdejong
From: Scott S. <ss...@am...> - 2005-10-14 13:51:45
|
Mo DeJong wrote: >On Thu, 13 Oct 2005 21:48:53 -0600 >Scott Serr <ss...@am...> wrote: > >Hello Scott > > > >>After fiddling with tcljava.m4 I was able to get tclBlend to compile. >>It's probably not as good as it could be, but it works and jtclsh gets >>the right env too. (note that uname -m and $machine are "x86_64" not >>"amd64" thats why the hard coded match) >> >> > >Nice work. It is really tricky keeping Tcl Blend working with all the >wacky JVM configurations out there. > > Thanks, I had no idea how wacky before visiting this file. > > >>I've never done m4 and I don't know much about autoconf, so hopefully >>this work (sweat) helps someone or can be commited to CVS. >> >> > >I just checked your patch into CVS. Could you check out the CVS version >and double check that it works? One thing I noticed that I wanted to >ask you about was the $JAVA/jre/lib/$machine/native_threads part. >Does that actually resolve a library at link time or runtime? I was not >sure from your patch if that was actually needed. If that dir is not actually >used to resolve anything, then it would be better to remove it. > > > You are right, I missed that "$machine" reference. It should be "amd64" or it should be taken out. Here is a question that might help resolve which way to go... I run tclsh and setup the environment manually much like jclsh does -- all in 32bit Linux. I noticed that I could leave out 2 or 3 directories from the LD_LIBRARY_PATH and still have a "working" (as far as I know) TclBlend. One directory I could leave out for 32bit/x86 Linux (with Sun JDK 1.5 atleast) was "native_threads". Is this going to bite me later? or is "native_threads" not necessary? Trying to login to CVS... did this from 2 different hosts/networks and still no luck, I'll try later. # cvs -d:pserver:ano...@cv...:/cvsroot/tcljava login (Logging in to ano...@cv...) CVS password: cvs login: authorization failed: server cvs.sourceforge.net rejected access to /cvsroot/tcljava for user anonymous Thanks, Scott >cheers >Mo DeJong > > > |