You must subscribe to the Moses mailing list before you post. You can
subscribe here:
http://mailman.mit.edu/mailman/listinfo/moses-support
to answer your question - it looks like a the same problem as this:
https://www.mail-archive.com/moses-support@mit.edu/msg13058.html
git pull and recompile
-------- Forwarded Message --------
Subject: Moses-support post from tienh...@gmail.com requires approval
Date: Tue, 15 Sep 2015 10:55:49 -0400
From: moses-support-ow...@mit.edu
To: moses-support-ow...@mit.edu
As list administrator, your authorization is requested for the
following mailing list posting:
List: Moses-support@mit.edu
From: tienh...@gmail.com
Subject: Help me!
Reason: Post by non-member to a members-only list
At your convenience, visit:
http://mailman.mit.edu/mailman/admindb/moses-support
to approve or deny the request.
--- Begin Message ---
I want to install moses on my computer(OS:Ubuntu 14.04LTS). I ran all of
command to install moses which in manual (2.1 Getting Started with Moses).
After I install g++, boost on my computer and run the command "git clone
https://github.com/moses-smt/mosesdecoder.git and
cd mosesdecoder/". I run this command "./bjam -j4", i get error:
warning: No toolsets are configured.
warning: Configuring default toolset "gcc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning:
http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
NOT BUILDING MOSES SERVER!
Performing configuration checks
- Shared Boost : yes (cached)
- Static Boost : yes (cached)
...patience...
...patience...
...found 4362 targets...
...updating 74 targets...
gcc.compile.c++
moses/bin/gcc-4.8/release/link-static/threading-multi/parameters/ServerOptions.o
moses/parameters/ServerOptions.cpp: In member function ‘bool
Moses::ServerOptions::init(const Moses::Parameter&)’:
moses/parameters/ServerOptions.cpp:51:69: error: no matching function for
call to ‘Moses::Parameter::SetParameter(size_t&, const char [19], long
unsigned int) const’
P.SetParameter(this->session_cache_size, "session-cache_size",25UL);
^
moses/parameters/ServerOptions.cpp:51:69: note: candidate is:
In file included from moses/parameters/ServerOptions.h:4:0,
from moses/parameters/ServerOptions.cpp:2:
./moses/Parameter.h:143:8: note: template<class T> void
Moses::Parameter::SetParameter(T&, const string&, const T&) const
void SetParameter(T &var, const std::string &name, const T
&defaultValue) const {
^
./moses/Parameter.h:143:8: note: template argument deduction/substitution
failed:
moses/parameters/ServerOptions.cpp:51:69: note: deduced conflicting types
for parameter ‘const T’ (‘unsigned int’ and ‘long unsigned int’)
P.SetParameter(this->session_cache_size, "session-cache_size",25UL);
^
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-pthread -DKENLM_MAX_ORDER=6 -DMAX_NUM_FACTORS=4 -DNDEBUG -DTRACE_ENABLE=1
-DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I"."
-I"util/double-conversion" -c -o
"moses/bin/gcc-4.8/release/link-static/threading-multi/parameters/ServerOptions.o"
"moses/parameters/ServerOptions.cpp"
...failed gcc.compile.c++
moses/bin/gcc-4.8/release/link-static/threading-multi/parameters/ServerOptions.o...
...skipped
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a(clean)
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>parameters/ServerOptions.o...
...skipped
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a for lack
of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>parameters/ServerOptions.o...
...skipped
<pmoses-cmd/bin/gcc-4.8/release/link-static/threading-multi>moses for lack
of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pmoses-cmd/bin/gcc-4.8/release/link-static/threading-multi>lmbrgrid for
lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pmoses-cmd/bin/gcc-4.8/release/link-static/threading-multi>vwtrainer for
lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pOnDiskPt/bin/gcc-4.8/release/link-static/threading-multi>CreateOnDiskPt
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pOnDiskPt/bin/gcc-4.8/release/link-static/threading-multi>queryOnDiskPt
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pmisc/bin/gcc-4.8/release/link-static/threading-multi>1-1-Extraction for
lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pmisc/bin/gcc-4.8/release/link-static/threading-multi>TMining
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pmisc/bin/gcc-4.8/release/link-static/threading-multi>generateSequences
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pmisc/bin/gcc-4.8/release/link-static/threading-multi>processLexicalTable
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pmisc/bin/gcc-4.8/release/link-static/threading-multi>queryLexicalTable
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pmisc/bin/gcc-4.8/release/link-static/threading-multi>merge-sorted for
lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pmisc/bin/gcc-4.8/release/link-static/threading-multi>prunePhraseTable for
lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pmisc/bin/gcc-4.8/release/link-static/threading-multi>pruneGeneration for
lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>extract
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>consolidate-direct
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>consolidate
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>relax-parse
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>extract-rules
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>extract-lex
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>consolidate-reverse
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>statistics
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>score for
lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/bin/ScoreFeatureTest.test/gcc-4.8/release/link-static/threading-multi>ScoreFeatureTest
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/bin/ScoreFeatureTest.test/gcc-4.8/release/link-static/threading-multi>ScoreFeatureTest.run
for lack of
<pphrase-extract/bin/ScoreFeatureTest.test/gcc-4.8/release/link-static/threading-multi>ScoreFeatureTest...
...skipped
<pphrase-extract/syntax-common/bin/gcc-4.8/release/link-static/threading-multi>tree_test
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/syntax-common/bin/gcc-4.8/release/link-static/threading-multi>tree_test.passed
for lack of
<pphrase-extract/syntax-common/bin/gcc-4.8/release/link-static/threading-multi>tree_test...
...skipped
<pphrase-extract/syntax-common/bin/gcc-4.8/release/link-static/threading-multi>tree_fragment_tokenizer_test
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/syntax-common/bin/gcc-4.8/release/link-static/threading-multi>tree_fragment_tokenizer_test.passed
for lack of
<pphrase-extract/syntax-common/bin/gcc-4.8/release/link-static/threading-multi>tree_fragment_tokenizer_test...
...skipped
<pphrase-extract/extract-ghkm/bin/gcc-4.8/release/link-static/threading-multi>extract-ghkm
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/pcfg-extract/bin/gcc-4.8/release/link-static/threading-multi>pcfg-extract
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/pcfg-score/bin/gcc-4.8/release/link-static/threading-multi>pcfg-score
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/extract-mixed-syntax/bin/gcc-4.8/release/link-static/threading-multi>extract-mixed-syntax
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/score-stsg/bin/gcc-4.8/release/link-static/threading-multi>score-stsg
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/filter-rule-table/bin/gcc-4.8/release/link-static/threading-multi>filter-rule-table
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pphrase-extract/postprocess-egret-forests/bin/gcc-4.8/release/link-static/threading-multi>postprocess-egret-forests
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <p/home/tienha/mosesdecoder/bin>moses for lack of
<pmoses-cmd/bin/gcc-4.8/release/link-static/threading-multi>moses...
...skipped <p/home/tienha/mosesdecoder/bin>lmbrgrid for lack of
<pmoses-cmd/bin/gcc-4.8/release/link-static/threading-multi>lmbrgrid...
...skipped <p/home/tienha/mosesdecoder/bin>vwtrainer for lack of
<pmoses-cmd/bin/gcc-4.8/release/link-static/threading-multi>vwtrainer...
...skipped <p/home/tienha/mosesdecoder/bin>CreateOnDiskPt for lack of
<pOnDiskPt/bin/gcc-4.8/release/link-static/threading-multi>CreateOnDiskPt...
...skipped <p/home/tienha/mosesdecoder/bin>queryOnDiskPt for lack of
<pOnDiskPt/bin/gcc-4.8/release/link-static/threading-multi>queryOnDiskPt...
...skipped <p/home/tienha/mosesdecoder/bin>1-1-Extraction for lack of
<pmisc/bin/gcc-4.8/release/link-static/threading-multi>1-1-Extraction...
...skipped <p/home/tienha/mosesdecoder/bin>TMining for lack of
<pmisc/bin/gcc-4.8/release/link-static/threading-multi>TMining...
...skipped <p/home/tienha/mosesdecoder/bin>generateSequences for lack of
<pmisc/bin/gcc-4.8/release/link-static/threading-multi>generateSequences...
...skipped <p/home/tienha/mosesdecoder/bin>processLexicalTable for lack of
<pmisc/bin/gcc-4.8/release/link-static/threading-multi>processLexicalTable...
...skipped <p/home/tienha/mosesdecoder/bin>queryLexicalTable for lack of
<pmisc/bin/gcc-4.8/release/link-static/threading-multi>queryLexicalTable...
...skipped <p/home/tienha/mosesdecoder/bin>merge-sorted for lack of
<pmisc/bin/gcc-4.8/release/link-static/threading-multi>merge-sorted...
...skipped <p/home/tienha/mosesdecoder/bin>prunePhraseTable for lack of
<pmisc/bin/gcc-4.8/release/link-static/threading-multi>prunePhraseTable...
...skipped <p/home/tienha/mosesdecoder/bin>pruneGeneration for lack of
<pmisc/bin/gcc-4.8/release/link-static/threading-multi>pruneGeneration...
...skipped <p/home/tienha/mosesdecoder/bin>extract for lack of
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>extract...
...skipped <p/home/tienha/mosesdecoder/bin>consolidate-direct for lack of
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>consolidate-direct...
...skipped <p/home/tienha/mosesdecoder/bin>consolidate for lack of
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>consolidate...
...skipped <p/home/tienha/mosesdecoder/bin>relax-parse for lack of
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>relax-parse...
...skipped <p/home/tienha/mosesdecoder/bin>extract-rules for lack of
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>extract-rules...
...skipped <p/home/tienha/mosesdecoder/bin>extract-lex for lack of
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>extract-lex...
...skipped <p/home/tienha/mosesdecoder/bin>consolidate-reverse for lack of
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>consolidate-reverse...
...skipped <p/home/tienha/mosesdecoder/bin>statistics for lack of
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>statistics...
...skipped <p/home/tienha/mosesdecoder/bin>score for lack of
<pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>score...
...skipped <p/home/tienha/mosesdecoder/bin>extract-ghkm for lack of
<pphrase-extract/extract-ghkm/bin/gcc-4.8/release/link-static/threading-multi>extract-ghkm...
...skipped <p/home/tienha/mosesdecoder/bin>pcfg-extract for lack of
<pphrase-extract/pcfg-extract/bin/gcc-4.8/release/link-static/threading-multi>pcfg-extract...
...skipped <p/home/tienha/mosesdecoder/bin>pcfg-score for lack of
<pphrase-extract/pcfg-score/bin/gcc-4.8/release/link-static/threading-multi>pcfg-score...
...skipped <p/home/tienha/mosesdecoder/bin>extract-mixed-syntax for lack of
<pphrase-extract/extract-mixed-syntax/bin/gcc-4.8/release/link-static/threading-multi>extract-mixed-syntax...
...skipped <p/home/tienha/mosesdecoder/bin>score-stsg for lack of
<pphrase-extract/score-stsg/bin/gcc-4.8/release/link-static/threading-multi>score-stsg...
...skipped <p/home/tienha/mosesdecoder/bin>filter-rule-table for lack of
<pphrase-extract/filter-rule-table/bin/gcc-4.8/release/link-static/threading-multi>filter-rule-table...
...skipped <p/home/tienha/mosesdecoder/bin>postprocess-egret-forests for
lack of
<pphrase-extract/postprocess-egret-forests/bin/gcc-4.8/release/link-static/threading-multi>postprocess-egret-forests...
...skipped <p/home/tienha/mosesdecoder/lib>libmoses.a for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>moses_test for lack
of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>moses_test.passed
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>moses_test...
...skipped
<pmoses/LM/bin/BackwardTest.test/gcc-4.8/release/link-static/threading-multi>BackwardTest
for lack of
<pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped
<pmoses/LM/bin/BackwardTest.test/gcc-4.8/release/link-static/threading-multi>BackwardTest.run
for lack of
<pmoses/LM/bin/BackwardTest.test/gcc-4.8/release/link-static/threading-multi>BackwardTest...
...failed updating 1 target...
...skipped 73 targets...
The build failed. If you need support, run:
/usr/bin/bjam --debug-configuration -d2 |gzip >build.log.gz
then attach build.log.gz to your e-mail.
You MUST do 3 things before sending to the mailing list:
1. Subscribe to the mailing list at
http://mailman.mit.edu/mailman/listinfo/moses-support
2. Attach build.log.gz to your e-mail
3. Say what is the EXACT command you executed when you got the error
ERROR
Please help me to resolve this problem.
Thanks!
notice: found boost-build.jam at /usr/share/boost-build/boost-build.jam
notice: loading Boost.Build from /usr/share/boost-build/kernel
notice: Searching '/etc' '/home/tienha' '/usr/share/boost-build/kernel' '/usr/share/boost-build' '/usr/share/boost-build/kernel' '/usr/share/boost-build/util' '/usr/share/boost-build/build' '/usr/share/boost-build/tools' '/usr/share/boost-build/contrib' '/usr/share/boost-build/.' for site-config configuration file 'site-config.jam'.
notice: Configuration file 'site-config.jam' not found in '/etc' '/home/tienha' '/usr/share/boost-build/kernel' '/usr/share/boost-build' '/usr/share/boost-build/kernel' '/usr/share/boost-build/util' '/usr/share/boost-build/build' '/usr/share/boost-build/tools' '/usr/share/boost-build/contrib' '/usr/share/boost-build/.'.
notice: Searching '/home/tienha' '/usr/share/boost-build/kernel' '/usr/share/boost-build' '/usr/share/boost-build/kernel' '/usr/share/boost-build/util' '/usr/share/boost-build/build' '/usr/share/boost-build/tools' '/usr/share/boost-build/contrib' '/usr/share/boost-build/.' for user-config configuration file 'user-config.jam'.
notice: Configuration file 'user-config.jam' not found in '/home/tienha' '/usr/share/boost-build/kernel' '/usr/share/boost-build' '/usr/share/boost-build/kernel' '/usr/share/boost-build/util' '/usr/share/boost-build/build' '/usr/share/boost-build/tools' '/usr/share/boost-build/contrib' '/usr/share/boost-build/.'.
file /home/tienha/mosesdecoder/previous.sh
#!/bin/sh
/usr/bin/bjam -d2 --debug-configuration
bash -c "g++ -lSegFault -x c++ - <<<'int main() {}' -o /home/tienha/mosesdecoder/dummy >/dev/null 2>/dev/null && rm /home/tienha/mosesdecoder/dummy 2>/dev/null"
0
bash -c "g++ -Wl,-Bstatic -lSegFault -Wl,-Bdynamic -x c++ - <<<'int main() {}' -o /home/tienha/mosesdecoder/dummy >/dev/null 2>/dev/null && rm /home/tienha/mosesdecoder/dummy 2>/dev/null"
1
bash -c "g++ -lboost_program_options-1_55 -x c++ - <<<'int main() {}' -o /home/tienha/mosesdecoder/dummy >/dev/null 2>/dev/null && rm /home/tienha/mosesdecoder/dummy 2>/dev/null"
1
bash -c "g++ -Wl,-Bstatic -lz -Wl,-Bdynamic -x c++ - <<<'int main() {}' -o /home/tienha/mosesdecoder/dummy >/dev/null 2>/dev/null && rm /home/tienha/mosesdecoder/dummy 2>/dev/null"
0
bash -c "g++ -ltcmalloc_minimal -x c++ - <<<'int main() {}' -o /home/tienha/mosesdecoder/dummy >/dev/null 2>/dev/null && rm /home/tienha/mosesdecoder/dummy 2>/dev/null"
0
bash -c "g++ -Wl,-Bstatic -ltcmalloc_minimal -Wl,-Bdynamic -x c++ - <<<'int main() {}' -o /home/tienha/mosesdecoder/dummy >/dev/null 2>/dev/null && rm /home/tienha/mosesdecoder/dummy 2>/dev/null"
0
warning: No toolsets are configured.
warning: Configuring default toolset "gcc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
notice: will use 'g++' for gcc, condition <toolset>gcc-4.8
notice: using gcc libraries :: <toolset>gcc-4.8 :: /usr/bin /usr/lib /usr/lib32 /usr/lib64
notice: using gcc archiver :: <toolset>gcc-4.8 :: /usr/bin/ar
notice: using gcc ranlib :: <toolset>gcc-4.8 :: /usr/bin/ranlib
warning: toolset gcc initialization: can not find tool windres
warning: initialized from
notice: using rc compiler :: <toolset>gcc-4.8 :: /usr/bin/as
bash -c "g++ -lbz2 -x c++ - <<<'int main() {}' -o /home/tienha/mosesdecoder/dummy >/dev/null 2>/dev/null && rm /home/tienha/mosesdecoder/dummy 2>/dev/null"
0
bash -c "g++ -include bzlib.h -x c++ - <<<'int main() {}' -o /home/tienha/mosesdecoder/dummy >/dev/null 2>/dev/null && rm /home/tienha/mosesdecoder/dummy 2>/dev/null"
0
bash -c "g++ -Wl,-Bstatic -lbz2 -Wl,-Bdynamic -x c++ - <<<'int main() {}' -o /home/tienha/mosesdecoder/dummy >/dev/null 2>/dev/null && rm /home/tienha/mosesdecoder/dummy 2>/dev/null"
0
bash -c "g++ -llzma -x c++ - <<<'int main() {}' -o /home/tienha/mosesdecoder/dummy >/dev/null 2>/dev/null && rm /home/tienha/mosesdecoder/dummy 2>/dev/null"
0
bash -c "g++ -include lzma.h -x c++ - <<<'int main() {}' -o /home/tienha/mosesdecoder/dummy >/dev/null 2>/dev/null && rm /home/tienha/mosesdecoder/dummy 2>/dev/null"
0
bash -c "g++ -Wl,-Bstatic -llzma -Wl,-Bdynamic -x c++ - <<<'int main() {}' -o /home/tienha/mosesdecoder/dummy >/dev/null 2>/dev/null && rm /home/tienha/mosesdecoder/dummy 2>/dev/null"
0
NOT BUILDING MOSES SERVER!
Performing configuration checks
- Shared Boost : yes (cached)
- Static Boost : yes (cached)
...patience...
...patience...
...found 4362 targets...
...updating 74 targets...
gcc.compile.c++ moses/bin/gcc-4.8/release/link-static/threading-multi/parameters/ServerOptions.o
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DKENLM_MAX_ORDER=6 -DMAX_NUM_FACTORS=4 -DNDEBUG -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I"." -I"util/double-conversion" -c -o "moses/bin/gcc-4.8/release/link-static/threading-multi/parameters/ServerOptions.o" "moses/parameters/ServerOptions.cpp"
moses/parameters/ServerOptions.cpp: In member function ‘bool Moses::ServerOptions::init(const Moses::Parameter&)’:
moses/parameters/ServerOptions.cpp:51:69: error: no matching function for call to ‘Moses::Parameter::SetParameter(size_t&, const char [19], long unsigned int) const’
P.SetParameter(this->session_cache_size, "session-cache_size",25UL);
^
moses/parameters/ServerOptions.cpp:51:69: note: candidate is:
In file included from moses/parameters/ServerOptions.h:4:0,
from moses/parameters/ServerOptions.cpp:2:
./moses/Parameter.h:143:8: note: template<class T> void Moses::Parameter::SetParameter(T&, const string&, const T&) const
void SetParameter(T &var, const std::string &name, const T &defaultValue) const {
^
./moses/Parameter.h:143:8: note: template argument deduction/substitution failed:
moses/parameters/ServerOptions.cpp:51:69: note: deduced conflicting types for parameter ‘const T’ (‘unsigned int’ and ‘long unsigned int’)
P.SetParameter(this->session_cache_size, "session-cache_size",25UL);
^
...failed gcc.compile.c++ moses/bin/gcc-4.8/release/link-static/threading-multi/parameters/ServerOptions.o...
...skipped <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a(clean) for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>parameters/ServerOptions.o...
...skipped <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>parameters/ServerOptions.o...
...skipped <pmoses-cmd/bin/gcc-4.8/release/link-static/threading-multi>moses for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pmoses-cmd/bin/gcc-4.8/release/link-static/threading-multi>lmbrgrid for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pmoses-cmd/bin/gcc-4.8/release/link-static/threading-multi>vwtrainer for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pOnDiskPt/bin/gcc-4.8/release/link-static/threading-multi>CreateOnDiskPt for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pOnDiskPt/bin/gcc-4.8/release/link-static/threading-multi>queryOnDiskPt for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pmisc/bin/gcc-4.8/release/link-static/threading-multi>1-1-Extraction for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pmisc/bin/gcc-4.8/release/link-static/threading-multi>TMining for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pmisc/bin/gcc-4.8/release/link-static/threading-multi>generateSequences for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pmisc/bin/gcc-4.8/release/link-static/threading-multi>processLexicalTable for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pmisc/bin/gcc-4.8/release/link-static/threading-multi>queryLexicalTable for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pmisc/bin/gcc-4.8/release/link-static/threading-multi>merge-sorted for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pmisc/bin/gcc-4.8/release/link-static/threading-multi>prunePhraseTable for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pmisc/bin/gcc-4.8/release/link-static/threading-multi>pruneGeneration for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>extract for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>consolidate-direct for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>consolidate for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>relax-parse for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>extract-rules for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>extract-lex for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>consolidate-reverse for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>statistics for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>score for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/bin/ScoreFeatureTest.test/gcc-4.8/release/link-static/threading-multi>ScoreFeatureTest for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/bin/ScoreFeatureTest.test/gcc-4.8/release/link-static/threading-multi>ScoreFeatureTest.run for lack of <pphrase-extract/bin/ScoreFeatureTest.test/gcc-4.8/release/link-static/threading-multi>ScoreFeatureTest...
...skipped <pphrase-extract/syntax-common/bin/gcc-4.8/release/link-static/threading-multi>tree_test for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/syntax-common/bin/gcc-4.8/release/link-static/threading-multi>tree_test.passed for lack of <pphrase-extract/syntax-common/bin/gcc-4.8/release/link-static/threading-multi>tree_test...
...skipped <pphrase-extract/syntax-common/bin/gcc-4.8/release/link-static/threading-multi>tree_fragment_tokenizer_test for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/syntax-common/bin/gcc-4.8/release/link-static/threading-multi>tree_fragment_tokenizer_test.passed for lack of <pphrase-extract/syntax-common/bin/gcc-4.8/release/link-static/threading-multi>tree_fragment_tokenizer_test...
...skipped <pphrase-extract/extract-ghkm/bin/gcc-4.8/release/link-static/threading-multi>extract-ghkm for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/pcfg-extract/bin/gcc-4.8/release/link-static/threading-multi>pcfg-extract for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/pcfg-score/bin/gcc-4.8/release/link-static/threading-multi>pcfg-score for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/extract-mixed-syntax/bin/gcc-4.8/release/link-static/threading-multi>extract-mixed-syntax for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/score-stsg/bin/gcc-4.8/release/link-static/threading-multi>score-stsg for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/filter-rule-table/bin/gcc-4.8/release/link-static/threading-multi>filter-rule-table for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pphrase-extract/postprocess-egret-forests/bin/gcc-4.8/release/link-static/threading-multi>postprocess-egret-forests for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <p/home/tienha/mosesdecoder/bin>moses for lack of <pmoses-cmd/bin/gcc-4.8/release/link-static/threading-multi>moses...
...skipped <p/home/tienha/mosesdecoder/bin>lmbrgrid for lack of <pmoses-cmd/bin/gcc-4.8/release/link-static/threading-multi>lmbrgrid...
...skipped <p/home/tienha/mosesdecoder/bin>vwtrainer for lack of <pmoses-cmd/bin/gcc-4.8/release/link-static/threading-multi>vwtrainer...
...skipped <p/home/tienha/mosesdecoder/bin>CreateOnDiskPt for lack of <pOnDiskPt/bin/gcc-4.8/release/link-static/threading-multi>CreateOnDiskPt...
...skipped <p/home/tienha/mosesdecoder/bin>queryOnDiskPt for lack of <pOnDiskPt/bin/gcc-4.8/release/link-static/threading-multi>queryOnDiskPt...
...skipped <p/home/tienha/mosesdecoder/bin>1-1-Extraction for lack of <pmisc/bin/gcc-4.8/release/link-static/threading-multi>1-1-Extraction...
...skipped <p/home/tienha/mosesdecoder/bin>TMining for lack of <pmisc/bin/gcc-4.8/release/link-static/threading-multi>TMining...
...skipped <p/home/tienha/mosesdecoder/bin>generateSequences for lack of <pmisc/bin/gcc-4.8/release/link-static/threading-multi>generateSequences...
...skipped <p/home/tienha/mosesdecoder/bin>processLexicalTable for lack of <pmisc/bin/gcc-4.8/release/link-static/threading-multi>processLexicalTable...
...skipped <p/home/tienha/mosesdecoder/bin>queryLexicalTable for lack of <pmisc/bin/gcc-4.8/release/link-static/threading-multi>queryLexicalTable...
...skipped <p/home/tienha/mosesdecoder/bin>merge-sorted for lack of <pmisc/bin/gcc-4.8/release/link-static/threading-multi>merge-sorted...
...skipped <p/home/tienha/mosesdecoder/bin>prunePhraseTable for lack of <pmisc/bin/gcc-4.8/release/link-static/threading-multi>prunePhraseTable...
...skipped <p/home/tienha/mosesdecoder/bin>pruneGeneration for lack of <pmisc/bin/gcc-4.8/release/link-static/threading-multi>pruneGeneration...
...skipped <p/home/tienha/mosesdecoder/bin>extract for lack of <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>extract...
...skipped <p/home/tienha/mosesdecoder/bin>consolidate-direct for lack of <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>consolidate-direct...
...skipped <p/home/tienha/mosesdecoder/bin>consolidate for lack of <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>consolidate...
...skipped <p/home/tienha/mosesdecoder/bin>relax-parse for lack of <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>relax-parse...
...skipped <p/home/tienha/mosesdecoder/bin>extract-rules for lack of <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>extract-rules...
...skipped <p/home/tienha/mosesdecoder/bin>extract-lex for lack of <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>extract-lex...
...skipped <p/home/tienha/mosesdecoder/bin>consolidate-reverse for lack of <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>consolidate-reverse...
...skipped <p/home/tienha/mosesdecoder/bin>statistics for lack of <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>statistics...
...skipped <p/home/tienha/mosesdecoder/bin>score for lack of <pphrase-extract/bin/gcc-4.8/release/link-static/threading-multi>score...
...skipped <p/home/tienha/mosesdecoder/bin>extract-ghkm for lack of <pphrase-extract/extract-ghkm/bin/gcc-4.8/release/link-static/threading-multi>extract-ghkm...
...skipped <p/home/tienha/mosesdecoder/bin>pcfg-extract for lack of <pphrase-extract/pcfg-extract/bin/gcc-4.8/release/link-static/threading-multi>pcfg-extract...
...skipped <p/home/tienha/mosesdecoder/bin>pcfg-score for lack of <pphrase-extract/pcfg-score/bin/gcc-4.8/release/link-static/threading-multi>pcfg-score...
...skipped <p/home/tienha/mosesdecoder/bin>extract-mixed-syntax for lack of <pphrase-extract/extract-mixed-syntax/bin/gcc-4.8/release/link-static/threading-multi>extract-mixed-syntax...
...skipped <p/home/tienha/mosesdecoder/bin>score-stsg for lack of <pphrase-extract/score-stsg/bin/gcc-4.8/release/link-static/threading-multi>score-stsg...
...skipped <p/home/tienha/mosesdecoder/bin>filter-rule-table for lack of <pphrase-extract/filter-rule-table/bin/gcc-4.8/release/link-static/threading-multi>filter-rule-table...
...skipped <p/home/tienha/mosesdecoder/bin>postprocess-egret-forests for lack of <pphrase-extract/postprocess-egret-forests/bin/gcc-4.8/release/link-static/threading-multi>postprocess-egret-forests...
...skipped <p/home/tienha/mosesdecoder/lib>libmoses.a for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pmoses/bin/gcc-4.8/release/link-static/threading-multi>moses_test for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pmoses/bin/gcc-4.8/release/link-static/threading-multi>moses_test.passed for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>moses_test...
...skipped <pmoses/LM/bin/BackwardTest.test/gcc-4.8/release/link-static/threading-multi>BackwardTest for lack of <pmoses/bin/gcc-4.8/release/link-static/threading-multi>libmoses.a...
...skipped <pmoses/LM/bin/BackwardTest.test/gcc-4.8/release/link-static/threading-multi>BackwardTest.run for lack of <pmoses/LM/bin/BackwardTest.test/gcc-4.8/release/link-static/threading-multi>BackwardTest...
...failed updating 1 target...
...skipped 73 targets...
The build failed with command line:
/usr/bin/bjam -d2 --debug-configuration
If you need support, attach the full output to your e-mail.
ERROR
--- End Message ---
--- Begin Message ---
If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message. Do this if the message is
spam. If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list. The Approved: header can also appear in the first line
of the body of the reply.
--- End Message ---
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support