You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by dc...@apache.org on 2011/10/24 16:37:04 UTC

svn commit: r1188157 - in /avro/trunk: BUILD.txt lang/c/INSTALL

Author: dcreager
Date: Mon Oct 24 14:37:03 2011
New Revision: 1188157

URL: http://svn.apache.org/viewvc?rev=1188157&view=rev
Log:
AVRO-468. C: Document CMake build system

Added the CMake URL to the C library's INSTALL file, and removed a
reference to the non-existing "Swanson language".  That's what I get for
copy/paste!

I've also updated the top-level BUILD.txt file to correctly list the C
library's dependencies.

Modified:
    avro/trunk/BUILD.txt
    avro/trunk/lang/c/INSTALL

Modified: avro/trunk/BUILD.txt
URL: http://svn.apache.org/viewvc/avro/trunk/BUILD.txt?rev=1188157&r1=1188156&r2=1188157&view=diff
==============================================================================
--- avro/trunk/BUILD.txt (original)
+++ avro/trunk/BUILD.txt Mon Oct 24 14:37:03 2011
@@ -7,7 +7,7 @@ The following packages must be installed
  - Java: JDK 1.6, Maven 2 or better, protobuf-compile
  - PHP: php5, phpunit, php5-gmp
  - Python: 2.5 or greater, python-setuptools for dist target
- - C: gcc, autoconf, automake, libtool, asciidoc, source-highlight
+ - C: gcc, cmake, asciidoc, source-highlight
  - C++: cmake,g++, flex, bison, libboost-dev
  - Ruby: ruby 1.86 or greater, ruby-dev, gem, rake, echoe, yajl-ruby
  - Apache Ant 1.7

Modified: avro/trunk/lang/c/INSTALL
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/INSTALL?rev=1188157&r1=1188156&r2=1188157&view=diff
==============================================================================
--- avro/trunk/lang/c/INSTALL (original)
+++ avro/trunk/lang/c/INSTALL Mon Oct 24 14:37:03 2011
@@ -1,27 +1,33 @@
 Installation instructions
 =========================
 
-The Avro library is written in ANSI C.  It uses cmake as its build
+The Avro library is written in ANSI C.  It uses CMake [1] as its build
 manager.
 
+[1] http://www.cmake.org/
+
 
 Prerequisites
 -------------
 
-Avro doesn't have any prerequisite libraries, but you need asciidoc [1]
-and source-highlight [2] installed to build Avro's documentation.  The
+Avro uses CMake [1] as its build manager.  You must have this installed,
+along with a C compiler (such as gcc) to build the library.
+
+Avro doesn't depend on any other libraries, but you need asciidoc [2]
+and source-highlight [3] installed to build Avro's documentation.  The
 build scripts will automatically detect whether these tools are
 installed, and will skip the documentation if they're not.
 
-[1] http://www.methods.co.nz/asciidoc
-[2] http://www.gnu.org/software/src-highlite/
+[1] http://www.cmake.org/
+[2] http://www.methods.co.nz/asciidoc
+[3] http://www.gnu.org/software/src-highlite/
 
 
 Building from source
 --------------------
 
-The swanson language uses cmake as its build manager.  In most cases,
-you should be able to build the source code using the following:
+The Avro C library uses CMake as its build manager.  In most cases, you
+should be able to build the source code by running the following:
 
     $ mkdir build
     $ cd build