diff options
author | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2012-05-14 17:00:45 +0200 |
---|---|---|
committer | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2012-05-14 17:00:45 +0200 |
commit | fb42639b433d2fc0c68f300666be1192dc3b4f59 (patch) | |
tree | bbce7fffa8c28ade217cf331e357ba65e64235b3 /BUILDING | |
parent | 670a8f984fc6d8342180c59ae9e96b0b76f34d3d (diff) | |
parent | 0f1e696690b18259acd79c3469d00a72aca00161 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'BUILDING')
-rw-r--r-- | BUILDING | 17 |
1 files changed, 5 insertions, 12 deletions
@@ -1,6 +1,5 @@ To build cdec, you'll need: - * 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) @@ -8,20 +7,14 @@ To build cdec, you'll need: Instructions for building ----------------------------------- - 1) Optional: 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. + 1) 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. + 2) Configure and build. Your command will look something like this. - ./configure --disable-gtest + ./configure make If you get errors during configure about missing BOOST macros, then step 3 @@ -36,12 +29,12 @@ Instructions for building make LIBS+="-lz -lboost_program_options" \ CFLAGS+="-Wno-sign-compare" - 5) Test + 3) Test ./tests/run-system-tests.pl Everything should pass. - 6) Enjoy! + 4) Enjoy! |