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 | 7c344de97edac0aa2a6a90c2de9bcf60f15ac000 (patch) | |
tree | f61bf6ca09d1d0ec6398dd0e8ec7c8e85a5598e7 /BUILDING | |
parent | d94373453c69c6cfec952a0f7b427cacc78654d8 (diff) | |
parent | 824c96f038b0447ce83ae92cad112a5be49e3330 (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! |