Hi Cyrine Looks fine to me. Why do you think the compile failed?
regards Barry On Sunday 01 Aug 2010 20:32:38 Cyrine NASRI wrote: > Hi everyone, > I have a problem of compilation Scripts Support of Moses. After downloading > the scripts. > I changed the makefile this way: > > TARGETDIR? = / Home / cyrine / tools / moses-scripts > BINDIR? = / Home / cyrine / tools / bin > > I can not compile scripts. > Can you help me? > Thank you > Cordially > > :~/tools/moses/scripts$ make release > > # Compile the parts > make all > make[1]: Entering directory `/home/cyrine/tools/moses/scripts' > # Building memscore may fail e.g. if boost is not available. > # We ignore this because traditional scoring will still work and memscore > isn't used by default. > cd training/memscore ; \ > ./configure && make \ > > || ( echo "WARNING: Building memscore failed."; \ > > echo 'training/memscore/memscore' >> ../../release-exclude ) > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for g++... g++ > checking for C++ compiler default output file name... a.out > checking whether the C++ compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking for style of include used by make... GNU > checking dependency style of g++... gcc3 > checking for gcc... gcc > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking dependency style of gcc... gcc3 > checking for boostlib >= 1.31.0... configure: error: We could not detect > the boost libraries (version 1.31 or higher). If you have a staged boost > library (still not installed) please specify $BOOST_ROOT in your > environment and do not give a PATH to --with-boost option. If you are > sure you have boost installed, then check your version number looking in > <boost/version.hpp>. See http://randspringer.de/boost for more > documentation. > WARNING: Building memscore failed. > touch release-exclude # No files excluded by default > pwd=`pwd`; \ > for subdir in cmert-0.5 phrase-extract symal mbr lexical-reordering; do > \ > make -C training/$subdir || exit 1; \ > echo "### Compiler $subdir"; \ > cd $pwd; \ > done > make[2]: Entering directory > `/home/cyrine/tools/moses/scripts/training/cmert-0.5' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/home/cyrine/tools/moses/scripts/training/cmert-0.5' > ### Compiler cmert-0.5 > make[2]: Entering directory > `/home/cyrine/tools/moses/scripts/training/phrase-extract' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/home/cyrine/tools/moses/scripts/training/phrase-extract' > ### Compiler phrase-extract > make[2]: Entering directory > `/home/cyrine/tools/moses/scripts/training/symal' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/home/cyrine/tools/moses/scripts/training/symal' ### Compiler symal > make[2]: Entering directory `/home/cyrine/tools/moses/scripts/training/mbr' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/home/cyrine/tools/moses/scripts/training/mbr' > ### Compiler mbr > make[2]: Entering directory > `/home/cyrine/tools/moses/scripts/training/lexical-reordering' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/home/cyrine/tools/moses/scripts/training/lexical-reordering' > ### Compiler lexical-reordering > ## All files that need compilation were compiled > make[1]: Leaving directory `/home/cyrine/tools/moses/scripts' > mkdir -p /home/cyrine/tools/moses-scripts/scripts-20100801-2019 > cat ./released-files \ > > | grep -v -x -f release-exclude \ > | rsync -r --files-from - . > > /home/cyrine/tools/moses-scripts/scripts-20100801-2019/ > sed 's#^my \$BINDIR\s*=.*#my \$BINDIR="/home/cyrine/tools/bin";#' > training/train-model.perl > > /home/cyrine/tools/moses-scripts/scripts-20100801-2019/training/train-model > .perl ## Remember, only files listed in released-files are released!! > ## Don't forget to set your SCRIPTS_ROOTDIR with: > export > SCRIPTS_ROOTDIR=/home/cyrine/tools/moses-scripts/scripts-20100801-2019 > cyr...@cyrine-laptop:~/tools/moses/scripts$ make release > # Compile the parts > make all > make[1]: Entering directory `/home/cyrine/tools/moses/scripts' > # Building memscore may fail e.g. if boost is not available. > # We ignore this because traditional scoring will still work and memscore > isn't used by default. > cd training/memscore ; \ > ./configure && make \ > > || ( echo "WARNING: Building memscore failed."; \ > > echo 'training/memscore/memscore' >> ../../release-exclude ) > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for g++... g++ > checking for C++ compiler default output file name... a.out > checking whether the C++ compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking for style of include used by make... GNU > checking dependency style of g++... gcc3 > checking for gcc... gcc > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking dependency style of gcc... gcc3 > checking for boostlib >= 1.31.0... configure: error: We could not detect > the boost libraries (version 1.31 or higher). If you have a staged boost > library (still not installed) please specify $BOOST_ROOT in your > environment and do not give a PATH to --with-boost option. If you are > sure you have boost installed, then check your version number looking in > <boost/version.hpp>. See http://randspringer.de/boost for more > documentation. > WARNING: Building memscore failed. > touch release-exclude # No files excluded by default > pwd=`pwd`; \ > for subdir in cmert-0.5 phrase-extract symal mbr lexical-reordering; do > \ > make -C training/$subdir || exit 1; \ > echo "### Compiler $subdir"; \ > cd $pwd; \ > done > make[2]: Entering directory > `/home/cyrine/tools/moses/scripts/training/cmert-0.5' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/home/cyrine/tools/moses/scripts/training/cmert-0.5' > ### Compiler cmert-0.5 > make[2]: Entering directory > `/home/cyrine/tools/moses/scripts/training/phrase-extract' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/home/cyrine/tools/moses/scripts/training/phrase-extract' > ### Compiler phrase-extract > make[2]: Entering directory > `/home/cyrine/tools/moses/scripts/training/symal' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/home/cyrine/tools/moses/scripts/training/symal' ### Compiler symal > make[2]: Entering directory `/home/cyrine/tools/moses/scripts/training/mbr' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/home/cyrine/tools/moses/scripts/training/mbr' > ### Compiler mbr > make[2]: Entering directory > `/home/cyrine/tools/moses/scripts/training/lexical-reordering' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/home/cyrine/tools/moses/scripts/training/lexical-reordering' > ### Compiler lexical-reordering > ## All files that need compilation were compiled > make[1]: Leaving directory `/home/cyrine/tools/moses/scripts' > mkdir -p /home/cyrine/tools/moses-scripts/scripts-20100801-2027 > cat ./released-files \ > > | grep -v -x -f release-exclude \ > | rsync -r --files-from - . > > /home/cyrine/tools/moses-scripts/scripts-20100801-2027/ > sed 's#^my \$BINDIR\s*=.*#my \$BINDIR="/home/cyrine/tools/bin";#' > training/train-model.perl > > /home/cyrine/tools/moses-scripts/scripts-20100801-2027/training/train-model > .perl ## Remember, only files listed in released-files are released!! > ## Don't forget to set your SCRIPTS_ROOTDIR with: > export > SCRIPTS_ROOTDIR=/home/cyrine/tools/moses-scripts/scripts-20100801-2027 > cyr...@cyrine-laptop:~/tools/moses/scripts$ > _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
