blob: db34b684977c63548aedd3dc909694b9699b3cc2 [file] [log] [blame]
Apache Avro Build Instructions
REQUIREMENTS
The following packages must be installed before Avro can be built:
- Java: JDK 1.6 and 1.5 (for Forrest docs)
- Python: 2.5 or greater, python-setuptools for dist target
- C: gcc, autoconf, automake, libtool, asciidoc, source-highlight
- C++: g++, flex, bison, libboost-dev
- Ruby: ruby 1.86 or greater, ruby-dev, gem, rake, echoe, yajl-ruby
- Apache Ant 1.7
- Apache Forrest 0.8 (for documentation, requires Java 1.5)
- md5sum, sha1sum, used by top-level dist target
BUILDING
Once the requirements are installed, build.sh can used as follows:
'./build.sh test' runs tests for all languages
'./build.sh dist' creates all release distribution files in dist/
'./build.sh clean' removes all generated artifacts