I have downloaded cmph-2.0 from sourceforge and have run the run the
following commands according to its documentation:

   - ./configure --prefix=$PWD
   - make
   - make install

Now when I compile moses with the following command:

   -
   - ./bjam --with-boost=~/mosesdecoder-master/boost_1_55_0
   --with-cmph=~/mosesdecoder-master/cmph-2.0 -j8

I receive the error "Missing File or Directory: cmph.h". Also I have seen
that "cmph.h" is inside the include folder in cmph directory. What am I
doing wrong here?

P.S: I am using cygwin to build. The full output file is attached.
Tip: install tcmalloc for faster threading.  See BUILD-INSTRUCTIONS.txt for 
more information.
Performing configuration checks

    - Shared Boost             : yes
    - Static Boost             : no
...patience...
...patience...
...found 5344 targets...
...updating 79 targets...
gcc.compile.c++ 
moses/TranslationModel/CompactPT/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/CmphStringVectorAdapter.o
In file included from 
moses\TranslationModel\CompactPT\CmphStringVectorAdapter.cpp:24:0:
moses\TranslationModel\CompactPT\CmphStringVectorAdapter.h:29:18: fatal error: 
cmph.h: No such file or directory
 #include "cmph.h"
                  ^
compilation terminated.

    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -g 
-mthreads  -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_SYSTEM_DYN_LINK 
-DBOOST_THREAD_DYN_DLL -DHAVE_CMPH -DMAX_NUM_FACTORS=4 -DNDEBUG 
-DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -I"." 
-I"moses/TranslationModel/CompactPT/~/mosesdecoder-master/cmph-2.0/include" 
-I"util/double-conversion" -I"~/mosesdecoder-master/boost_1_55_0/include" -c -o 
"moses\TranslationModel\CompactPT\bin\gcc-4.9.2\release\debug-symbols-on\link-static\threading-multi\CmphStringVectorAdapter.o"
 "moses\TranslationModel\CompactPT\CmphStringVectorAdapter.cpp"

...failed gcc.compile.c++ 
moses/TranslationModel/CompactPT/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/CmphStringVectorAdapter.o...
gcc.compile.c++ 
moses/TranslationModel/CompactPT/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/BlockHashIndex.o
In file included from moses\TranslationModel\CompactPT\BlockHashIndex.cpp:24:0:
moses\TranslationModel\CompactPT\CmphStringVectorAdapter.h:29:18: fatal error: 
cmph.h: No such file or directory
 #include "cmph.h"
                  ^
compilation terminated.

    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -g 
-mthreads  -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_SYSTEM_DYN_LINK 
-DBOOST_THREAD_DYN_DLL -DHAVE_CMPH -DMAX_NUM_FACTORS=4 -DNDEBUG 
-DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -I"." 
-I"moses/TranslationModel/CompactPT/~/mosesdecoder-master/cmph-2.0/include" 
-I"util/double-conversion" -I"~/mosesdecoder-master/boost_1_55_0/include" -c -o 
"moses\TranslationModel\CompactPT\bin\gcc-4.9.2\release\debug-symbols-on\link-static\threading-multi\BlockHashIndex.o"
 "moses\TranslationModel\CompactPT\BlockHashIndex.cpp"

...failed gcc.compile.c++ 
moses/TranslationModel/CompactPT/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/BlockHashIndex.o...
...skipped 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a(clean)
 for lack of 
<pmoses/TranslationModel/CompactPT/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>BlockHashIndex.o...
...skipped 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a
 for lack of 
<pmoses/TranslationModel/CompactPT/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>BlockHashIndex.o...
...skipped 
<pmoses-cmd/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>moses.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>moses.exe for lack of 
<pmoses-cmd/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>moses.exe...
...skipped 
<pmoses-cmd/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>lmbrgrid.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>lmbrgrid.exe for lack of 
<pmoses-cmd/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>lmbrgrid.exe...
...skipped 
<pmoses-cmd/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>vwtrainer.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>vwtrainer.exe for lack of 
<pmoses-cmd/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>vwtrainer.exe...
...skipped 
<pOnDiskPt/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>CreateOnDiskPt.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>CreateOnDiskPt.exe for lack of 
<pOnDiskPt/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>CreateOnDiskPt.exe...
...skipped 
<pOnDiskPt/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>queryOnDiskPt.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>queryOnDiskPt.exe for lack of 
<pOnDiskPt/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>queryOnDiskPt.exe...
...skipped 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>1-1-Extraction.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>1-1-Extraction.exe for lack of 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>1-1-Extraction.exe...
...skipped 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>TMining.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>TMining.exe for lack of 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>TMining.exe...
...skipped 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>generateSequences.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>generateSequences.exe for lack 
of 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>generateSequences.exe...
...skipped 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>processLexicalTable.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>processLexicalTable.exe for 
lack of 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>processLexicalTable.exe...
...skipped 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>queryLexicalTable.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>queryLexicalTable.exe for lack 
of 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>queryLexicalTable.exe...
...skipped 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>processPhraseTableMin.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>processPhraseTableMin.exe for 
lack of 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>processPhraseTableMin.exe...
...skipped 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>processLexicalTableMin.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>processLexicalTableMin.exe for 
lack of 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>processLexicalTableMin.exe...
...skipped 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>queryPhraseTableMin.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>queryPhraseTableMin.exe for 
lack of 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>queryPhraseTableMin.exe...
...skipped 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>merge-sorted.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>merge-sorted.exe for lack of 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>merge-sorted.exe...
...skipped 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>prunePhraseTable.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>prunePhraseTable.exe for lack 
of 
<pmisc/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>prunePhraseTable.exe...
...skipped 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>consolidate-direct.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>consolidate-direct.exe for 
lack of 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>consolidate-direct.exe...
...skipped 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>consolidate.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>consolidate.exe for lack of 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>consolidate.exe...
...skipped 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>consolidate-reverse.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>consolidate-reverse.exe for 
lack of 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>consolidate-reverse.exe...
...skipped 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>extract-lex.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>extract-lex.exe for lack of 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>extract-lex.exe...
...skipped 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>extract.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>extract.exe for lack of 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>extract.exe...
...skipped 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>extract-rules.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>extract-rules.exe for lack of 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>extract-rules.exe...
...skipped 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>relax-parse.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>relax-parse.exe for lack of 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>relax-parse.exe...
...skipped 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>statistics.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>statistics.exe for lack of 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>statistics.exe...
...skipped 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>score.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>score.exe for lack of 
<pphrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>score.exe...
...skipped 
<pphrase-extract/bin/ScoreFeatureTest.test/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>ScoreFeatureTest.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped 
<pphrase-extract/bin/ScoreFeatureTest.test/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>ScoreFeatureTest.run
 for lack of 
<pphrase-extract/bin/ScoreFeatureTest.test/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>ScoreFeatureTest.exe...
...skipped 
<pphrase-extract/extract-ghkm/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>extract-ghkm.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>extract-ghkm.exe for lack of 
<pphrase-extract/extract-ghkm/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>extract-ghkm.exe...
...skipped 
<pphrase-extract/syntax-common/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>tree_fragment_tokenizer_test.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped 
<pphrase-extract/syntax-common/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>tree_fragment_tokenizer_test.passed
 for lack of 
<pphrase-extract/syntax-common/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>tree_fragment_tokenizer_test.exe...
...skipped 
<pphrase-extract/syntax-common/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>tree_test.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped 
<pphrase-extract/syntax-common/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>tree_test.passed
 for lack of 
<pphrase-extract/syntax-common/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>tree_test.exe...
...skipped 
<pphrase-extract/pcfg-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>pcfg-extract.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>pcfg-extract.exe for lack of 
<pphrase-extract/pcfg-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>pcfg-extract.exe...
...skipped 
<pphrase-extract/pcfg-score/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>pcfg-score.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>pcfg-score.exe for lack of 
<pphrase-extract/pcfg-score/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>pcfg-score.exe...
...skipped 
<pphrase-extract/extract-mixed-syntax/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>extract-mixed-syntax.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>extract-mixed-syntax.exe for 
lack of 
<pphrase-extract/extract-mixed-syntax/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>extract-mixed-syntax.exe...
...skipped 
<pphrase-extract/score-stsg/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>score-stsg.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>score-stsg.exe for lack of 
<pphrase-extract/score-stsg/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>score-stsg.exe...
...skipped 
<pphrase-extract/filter-rule-table/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>filter-rule-table.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>filter-rule-table.exe for lack 
of 
<pphrase-extract/filter-rule-table/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>filter-rule-table.exe...
...skipped 
<pphrase-extract/postprocess-egret-forests/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>postprocess-egret-forests.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped <p/home/draza/mosesdecoder-master/bin>postprocess-egret-forests.exe 
for lack of 
<pphrase-extract/postprocess-egret-forests/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>postprocess-egret-forests.exe...
...skipped <p/home/draza/mosesdecoder-master/lib>libmoses.a for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>moses_test.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>moses_test.passed
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>moses_test.exe...
...skipped 
<pmoses/LM/bin/BackwardTest.test/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>BackwardTest.exe
 for lack of 
<pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>libmoses.a...
...skipped 
<pmoses/LM/bin/BackwardTest.test/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>BackwardTest.run
 for lack of 
<pmoses/LM/bin/BackwardTest.test/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi>BackwardTest.exe...
...failed updating 2 targets...
...skipped 77 targets...
The build failed.  If you need support, run:
  ./jam-files/bjam --with-boost=~/mosesdecoder-master/boost_1_55_0 
--with-cmph=~/mosesdecoder-master/cmph-2.0 -j8 --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
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to