[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Soot from Subversion



Hi Ondrej,

So, I'm having a rough time trying to build Soot r1702 on tofu. The error messages I get (I seem to get one or the other) and my ant.settings follow. If there's an easy way not to build the things I won't use, I would love to know about it (and in general I'd like to put in a request for the modularization of Soot for the next release). I'm using jasminclasses, jedd-runtime, and jedd-translator from your nightly builds (I was previously using the non-nightlies but that wasn't working either). All dependences are there AFAICT.

Thanks,
Chris

$ CLASSPATH= && ant

[...]

compile:
[javac] Compiling 2192 source files to /home/research/ccl/cpicke/soot-dev/classes


BUILD FAILED
file:/home/research/ccl/cpicke/soot-dev/build.xml:17: Error starting modern compiler


-- OR --

compile:
[javac] Compiling 2192 source files to /home/research/ccl/cpicke/soot-dev/classes


    [javac] The system is out of resources.
    [javac] Consult the following stack trace for details.

BUILD FAILED
Listener attempted to access System.err - infinite loop terminated

-- ant.settings --

## Location of Polyglot classes jar file to link Soot against
polyglot.jar=${user.home}/pkgs/polyglot-cvs.jar

## Location of Polyglot classes jar file to run Jedd with
polyglot.jedd.jar=${user.home}/pkgs/polyglot-1.2.0.jar

## Location of Jasmin classes jar file
jasmin.jar=${user.home}/pkgs/jasminclasses.jar

## Location of Eclipse installation.
## This should have a directory called plugins in it.
eclipse.loc=/usr/localcc/pkgs/eclipse-SDK-2.1-linux-motif/eclipse/

## Version of Soot for tagging tarballs.
soot.version=2.1.0-custom

## Location in which to generate Soot release tarballs.
release.loc=/tmp

## Location of JFlex classes jar file
jflex.jar=${user.home}/pkgs/JFlex.jar

## Location of Jedd runtime classes jar file
jedd.runtime.jar=${user.home}/pkgs/jedd-runtime.jar

## Location of Jedd translator classes jar file
jedd.translator.jar=${user.home}/pkgs/jedd-translator.jar

## Command to invoke SAT solver
sat.solver.cmd=${user.home}/bin/zchaff

## Command to invoke SAT core extractor
sat.core.cmd=${user.home}/bin/zcore

## URL for Java API documentation, for resolving things like
## {@link Iterator} when generating documentation from
## javadoc comments.
javaapi.url=http://java.sun.com/j2se/1.4.2/docs/api/


Ondrej Lhotak wrote:
As of revision 1631, the trunk of Soot in Subversion now requires version
0.2 of the Jedd runtime to compile. A pre-compiled version of the
runtime can be obtained from:

http://www.sable.mcgill.ca/software/jedd-runtime-0.2.jar

A complete copy of Jedd can be obtained from:

http://www.sable.mcgill.ca/jedd/#download

Some of the dependencies have been changing even more frequently, and
people have been reporting problems getting the Subversion trunk of Soot
to compile because of problems with dependencies. As a convenience, I
have started making nightly builds of the Subversion trunks of Soot,
Jedd, and Jasmin, and making them available at:

http://www.sable.mcgill.ca/~olhota/build/

This page also contains copies of the versions of the most frequently
changing dependencies that were used to generate these nightly builds.

These builds are in no way an official part of Soot, nor are they
supported; they are to be used at your own risk. I make no promises
about them. I will, however, strive to keep them up-to-date. If you have
compilation problems with them, please do let me know.

Ondrej