Compile Problems


(FreeDaemon) #1

I can't seem to compile ElasticSearch from source.
"elasticsearch:javadoc" seems to be the problem. I've tried 1) version
0.17.0 and 2) the latest clone of the Github source. I'm trying to
compile on Fedora 13. Here is the version info for Java


java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.3) (fedora-59.1.10.3.fc15-
x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

Here is the output of gradlew

:elasticsearch:jar
:test-testng:javadoc
:elasticsearch:javadoc

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':elasticsearch:javadoc'.
    Cause: Javadoc generation failed.
    Cause: Command '/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/
    javadoc' finished with (non-zero) exit value 137.

The --stacktrace, --info, or --debug options don't give any useful
information either.

I am able to build on OS X 10.7.1 with java version:


java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode)

I do get warnings in the javadoc part, but at least the build doesn't
fail like on Fedora 13. Any pointers? Thanks!


(system) #2