|
From: | Marcus G. Daniels |
Subject: | Re: [Swarm-Support] "Can't find threads" while confuring for build |
Date: | Wed, 24 Dec 2008 00:17:48 -0700 |
User-agent: | Thunderbird 2.0.0.18 (Windows/20081105) |
Jim Kusznir wrote:
Don't take these tests too seriously. They are old and using package layout patterns (what files are where) to identify the JDK on different platforms. For example, there's nothing in Swarm that cares about the threads model. The relevant m4 macros really should be stripped down. There are probably new JDK-related macros that can do the same job in a more concise way. Someone should fix this autoconf stuff in Swarm because it is broken.checking for JDK... configure: error: Can't find threads
Most of the cruft in the M4 code for Java in Swarm is only for the sake of extracting `javaswarm' script that would work with various (again old) java implementations. Minimally, to use Swarm with Java, you just need to be able to compile the libjavaswarm in java/c and the java/swarm class files and the jar file. If you can get that to build, with whatever hackage, then you have everything that matters. To use it the task is just to set the LD_LIBRARY_PATH as needed (to Swarm's libjavaswarm.la install location) and its .jar files. The script does that (and deals with historical java implementation issues), but you can do it manually just as well.
Marcus
[Prev in Thread] | Current Thread | [Next in Thread] |