avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r781490 - in /hadoop/avro/trunk: CHANGES.txt src/c++/Makefile src/c++/README.txt
Date Wed, 03 Jun 2009 17:43:58 GMT
Author: cutting
Date: Wed Jun  3 17:43:58 2009
New Revision: 781490

URL: http://svn.apache.org/viewvc?rev=781490&view=rev
Log:
AVRO-45.  Fix c++ compilation so that python script need not be made executable.  Contributed
by Scott Banachowski.

Modified:
    hadoop/avro/trunk/CHANGES.txt
    hadoop/avro/trunk/src/c++/Makefile
    hadoop/avro/trunk/src/c++/README.txt

Modified: hadoop/avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/CHANGES.txt?rev=781490&r1=781489&r2=781490&view=diff
==============================================================================
--- hadoop/avro/trunk/CHANGES.txt (original)
+++ hadoop/avro/trunk/CHANGES.txt Wed Jun  3 17:43:58 2009
@@ -85,3 +85,6 @@
 
     AVRO-44. Fix so that 'ant clean' works even if C has not been
     built.  (Matt Massie via cutting)
+
+    AVRO-45. Fix c++ compliation so that python script need not be
+    made executable.  (Scott Banachowski via cutting)

Modified: hadoop/avro/trunk/src/c++/Makefile
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/src/c%2B%2B/Makefile?rev=781490&r1=781489&r2=781490&view=diff
==============================================================================
--- hadoop/avro/trunk/src/c++/Makefile (original)
+++ hadoop/avro/trunk/src/c++/Makefile Wed Jun  3 17:43:58 2009
@@ -66,7 +66,7 @@
 
 test/code.hh: scripts/gen.py precompile
 	./precompile < jsonschemas/bigrecord > obj/bigrecord.flat
-	scripts/gen.py < obj/bigrecord.flat > test/code.hh
+	python scripts/gen.py < obj/bigrecord.flat > test/code.hh
 
 testgen: test/code.hh
 

Modified: hadoop/avro/trunk/src/c++/README.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/src/c%2B%2B/README.txt?rev=781490&r1=781489&r2=781490&view=diff
==============================================================================
--- hadoop/avro/trunk/src/c++/README.txt (original)
+++ hadoop/avro/trunk/src/c++/README.txt Wed Jun  3 17:43:58 2009
@@ -27,12 +27,16 @@
 conflicts is not yet supported. And the file and rpc containers are
 not yet implemented. Documentation, sparse.
 
+INSTRUCTIONS
+
 To compile requires boost headers, and the boost regex library.
 Additionally, to generate the avro spec compiler requires flex and bison.
 
 As of yet, there is no automatic configuration, so to get started:
 
- edit (or add) the System.XXX.mk file, where XXX is the result of `uname` on
+1. Setup compiler variables in System.*.mk
+
+Edit (or add) the System.XXX.mk file, where XXX is the result of `uname` on
 your machine, to include the paths for:
 
 BOOSTINC (location of boost headers) 
@@ -40,4 +44,6 @@
 LEX (path to flex)
 YACC (path to bison)
 
+2.  Make
+
 Then type gmake, and it should build everything and run some unit tests.



Mime
View raw message