https://www.proz.com/forum/machine_translation_mt/176854-impossible_to_compile_moses_scripts.html

: impossible to compile Moses Scripts
Thread poster: cyrine84
Aug 1, 2010

Hi everyone,
I have a problem of compilation Scripts Support of Moses. After downloading the scripts.and make run
I remark that tokenizer.perl and some other scripts cant be compiled successfully.
When i make "make"
it shoxs :

cyrine@cyrine-laptop:~/tools/moses/scripts$ make
# Building memscore may fail e.g. if boost is not available.
# We ignore this because traditio
... See more
Hi everyone,
I have a problem of compilation Scripts Support of Moses. After downloading the scripts.and make run
I remark that tokenizer.perl and some other scripts cant be compiled successfully.
When i make "make"
it shoxs :

cyrine@cyrine-laptop:~/tools/moses/scripts$ make
# 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... yes
checking for cos in -lm... yes
checking for gzopen in -lz... yes
checking for cblas_dgemm in -lgslcblas... no
checking for gsl_blas_dgemm in -lgsl... no
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking n_gram.h usability... no
checking n_gram.h presence... no
checking for n_gram.h... no
checking for size_t... yes
checking for ptrdiff_t... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make[1]: Entering directory `/home/cyrine/tools/moses/scripts/training/memscore'
make all-am
make[2]: Entering directory `/home/cyrine/tools/moses/scripts/training/memscore'
make[2]: Leaving directory `/home/cyrine/tools/moses/scripts/training/memscore'
make[1]: Leaving directory `/home/cyrine/tools/moses/scripts/training/memscore'
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[1]: Entering directory `/home/cyrine/tools/moses/scripts/training/cmert-0.5'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/cyrine/tools/moses/scripts/training/cmert-0.5'
### Compiler cmert-0.5
make[1]: Entering directory `/home/cyrine/tools/moses/scripts/training/phrase-extract'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/cyrine/tools/moses/scripts/training/phrase-extract'
### Compiler phrase-extract
make[1]: Entering directory `/home/cyrine/tools/moses/scripts/training/symal'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/cyrine/tools/moses/scripts/training/symal'
### Compiler symal
make[1]: Entering directory `/home/cyrine/tools/moses/scripts/training/mbr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/cyrine/tools/moses/scripts/training/mbr'
### Compiler mbr
make[1]: Entering directory `/home/cyrine/tools/moses/scripts/training/lexical-reordering'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/cyrine/tools/moses/scripts/training/lexical-reordering'
### Compiler lexical-reordering
## All files that need compilation were compiled
cyrine@cyrine-laptop:~/tools/moses/scripts$


Any idea?
thank very much
Collapse


 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

: impossible to compile Moses Scripts






Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »
TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »