summaryrefslogtreecommitdiff
path: root/BUILDING
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-06-22 05:12:27 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-06-22 05:12:27 +0000
commit0172721855098ca02b207231a654dffa5e4eb1c9 (patch)
tree8069c3a62e2d72bd64a2cdeee9724b2679c8a56b /BUILDING
parent37728b8be4d0b3df9da81fdda2198ff55b4b2d91 (diff)
initial checkin
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@2 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'BUILDING')
-rw-r--r--BUILDING42
1 files changed, 42 insertions, 0 deletions
diff --git a/BUILDING b/BUILDING
new file mode 100644
index 00000000..bf86a272
--- /dev/null
+++ b/BUILDING
@@ -0,0 +1,42 @@
+To build cdec, you'll need:
+
+ * SRILM (register and download from http://www.speech.sri.com/projects/srilm/)
+ * Google c++ testing framework (http://code.google.com/p/googletest/)
+ * boost headers & boost program_options (you may need to install a package
+ like boost-devel)
+
+
+Instructions for building
+-----------------------------------
+
+ 1) Download and build SRILM
+
+ 2) Download, build, and install Google Test (optional, this is necessary
+ to build unit tests that may be useful in development; system tests
+ work without it)
+
+ 3) Use automake / autoconf to generate the configure script.
+ I'm not an expert at using these tools, but this should be sufficient:
+
+ autoreconf -ifv
+
+ 4) Configure and build. Your command will look something like this.
+
+ ./configure --with-srilm=/home/me/software/srilm-1.5.9 --disable-gtest
+ make
+
+ If you get errors during configure about missing BOOST macros, then step 3
+ failed, and you need to keep working at it. If you get errors during the
+ build, it's probably a problem with step 3 or possibly with some compiler
+ version idiosyncracies (generally, I assume you have a relatively new
+ of g++).
+
+ 5) Test
+
+ ./tests/run-system-tests.pl
+
+ Everything should pass.
+
+
+ 6) Enjoy!
+