Hi Anung,
there are lots of errors! I ran the following command:
make World MACHINE_TYPE=i686-m64 > errors.txt
My previous command was:
find . -print0 | xargs -r0 touch
so that make would compile everything anew.
The output screen ended with:
Trie.cc:253: error: 'done' was not declared in this scope
make[2]: *** [../obj/i686-m64/SArrayTrie.o] Error 1
make[1]: *** [release-libraries] Error 1
make: *** [World] Error 2
and the errors file contained the following:-
mkdir include lib bin
make init
for subdir in misc dstruct lm flm lattice utils; do \
(cd $subdir/src; make SRILM=/home/llio/MT/MOSESSUITE/srilm
MACHINE_TYPE=i686-m64 OPTION= init) || exit 1; \
done
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/misc/src'
cd ..; /home/llio/MT/MOSESSUITE/srilm/sbin/make-standard-directories
make ../obj/i686-m64/STAMP ../bin/i686-m64/STAMP
make[3]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/misc/src'
make[3]: `../obj/i686-m64/STAMP' is up to date.
make[3]: `../bin/i686-m64/STAMP' is up to date.
make[3]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/misc/src'
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/misc/src'
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/dstruct/src'
cd ..; /home/llio/MT/MOSESSUITE/srilm/sbin/make-standard-directories
make ../obj/i686-m64/STAMP ../bin/i686-m64/STAMP
make[3]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/dstruct/src'
make[3]: `../obj/i686-m64/STAMP' is up to date.
make[3]: `../bin/i686-m64/STAMP' is up to date.
make[3]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/dstruct/src'
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/dstruct/src'
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/lm/src'
cd ..; /home/llio/MT/MOSESSUITE/srilm/sbin/make-standard-directories
make ../obj/i686-m64/STAMP ../bin/i686-m64/STAMP
make[3]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/lm/src'
make[3]: `../obj/i686-m64/STAMP' is up to date.
make[3]: `../bin/i686-m64/STAMP' is up to date.
make[3]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/lm/src'
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/lm/src'
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/flm/src'
cd ..; /home/llio/MT/MOSESSUITE/srilm/sbin/make-standard-directories
make ../obj/i686-m64/STAMP ../bin/i686-m64/STAMP
make[3]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/flm/src'
make[3]: `../obj/i686-m64/STAMP' is up to date.
make[3]: `../bin/i686-m64/STAMP' is up to date.
make[3]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/flm/src'
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/flm/src'
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/lattice/src'
cd ..; /home/llio/MT/MOSESSUITE/srilm/sbin/make-standard-directories
make ../obj/i686-m64/STAMP ../bin/i686-m64/STAMP
make[3]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/lattice/src'
make[3]: `../obj/i686-m64/STAMP' is up to date.
make[3]: `../bin/i686-m64/STAMP' is up to date.
make[3]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/lattice/src'
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/lattice/src'
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/utils/src'
cd ..; /home/llio/MT/MOSESSUITE/srilm/sbin/make-standard-directories
make ../obj/i686-m64/STAMP ../bin/i686-m64/STAMP
make[3]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/utils/src'
make[3]: `../obj/i686-m64/STAMP' is up to date.
make[3]: `../bin/i686-m64/STAMP' is up to date.
make[3]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/utils/src'
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/utils/src'
make[1]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm'
make release-headers
for subdir in misc dstruct lm flm lattice utils; do \
(cd $subdir/src; make SRILM=/home/llio/MT/MOSESSUITE/srilm
MACHINE_TYPE=i686-m64 OPTION= release-headers) || exit 1; \
done
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/misc/src'
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 cfuncproto.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 option.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 zio.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 mkdir.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Boolean.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Debug.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 File.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 version.h
../../include
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/misc/src'
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/dstruct/src'
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Array.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
IntervalHeap.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 MemStats.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Map.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 SArray.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 LHash.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Map2.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Trie.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Array.cc ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
IntervalHeap.cc ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Map.cc ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 SArray.cc
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 LHash.cc ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Map2.cc ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Trie.cc ../../include
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/dstruct/src'
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/lm/src'
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Prob.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Counts.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 XCount.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Vocab.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 VocabMap.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
VocabMultiMap.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
VocabDistance.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 SubVocab.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
MultiwordVocab.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 TextStats.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 LM.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 LMClient.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 RemoteLM.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 LMStats.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 RefList.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Bleu.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 NBest.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 NBestSet.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Ngram.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 NgramStats.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
NgramCountLM.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Discount.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 ClassNgram.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
SimpleClassNgram.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 DFNgram.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 SkipNgram.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
HiddenNgram.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
HiddenSNgram.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 VarNgram.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
DecipherNgram.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
TaggedVocab.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
TaggedNgram.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
TaggedNgramStats.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 StopNgram.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
StopNgramStats.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 NullLM.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
MultiwordLM.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 BayesMix.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
LoglinearMix.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
AdaptiveMix.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
AdaptiveMarginals.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 CacheLM.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 DynamicLM.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
HMMofNgrams.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Trellis.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 WordAlign.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 MultiAlign.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
WordLattice.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 WordMesh.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
NgramStats.cc ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Trellis.cc
../../include
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/lm/src'
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/flm/src'
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 hexdec.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 FDiscount.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
FNgramStats.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
FNgramSpecs.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
FactoredVocab.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 FNgram.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
ProductVocab.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444
ProductNgram.h ../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 wmatrix.h
../../include
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/flm/src'
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/lattice/src'
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 Lattice.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 HTKLattice.h
../../include
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0444 LatticeLM.h
../../include
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/lattice/src'
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/utils/src'
make[2]: Nothing to be done for `release-headers'.
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/utils/src'
make[1]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm'
make depend
for subdir in misc dstruct lm flm lattice utils; do \
(cd $subdir/src; make SRILM=/home/llio/MT/MOSESSUITE/srilm
MACHINE_TYPE=i686-m64 OPTION= depend) || exit 1; \
done
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/misc/src'
rm -f Dependencies.i686-m64
/usr/bin/gcc -march=athlon64 -m64 -Wreturn-type -Wimplicit -I.
-I../../include -MM ./option.c ./zio.c ./fcheck.c ./fake-rand48.c
./version.c ./ztest.c | sed -e "s&^\([^
]\)&../obj/i686-m64"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >>
Dependencies.i686-m64
/usr/bin/g++ -march=athlon64 -m64 -Wreturn-type -Wimplicit
-DINSTANTIATE_TEMPLATES -I. -I../../include -MM ./Debug.cc
./File.cc ./testFile.cc | sed -e "s&^\([^
]\)&../obj/i686-m64"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >>
Dependencies.i686-m64
/home/llio/MT/MOSESSUITE/srilm/sbin/generate-program-dependencies
../bin/i686-m64 ../obj/i686-m64 "" ztest testFile | sed -e
"s&\.o&.o&g" >> Dependencies.i686-m64
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/misc/src'
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/dstruct/src'
rm -f Dependencies.i686-m64
/usr/bin/gcc -march=athlon64 -m64 -Wreturn-type -Wimplicit -I.
-I../../include -MM ./qsort.c | sed -e "s&^\([^
]\)&../obj/i686-m64"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >>
Dependencies.i686-m64
/usr/bin/g++ -march=athlon64 -m64 -Wreturn-type -Wimplicit
-DINSTANTIATE_TEMPLATES -I. -I../../include -MM ./MemStats.cc
./LHashTrie.cc ./SArrayTrie.cc ./Array.cc ./IntervalHeap.cc ./Map.cc
./SArray.cc ./LHash.cc ./Map2.cc ./Trie.cc ./testArray.cc ./testMap.cc
./benchHash.cc ./testHash.cc ./testSizes.cc | sed -e "s&^\([^
]\)&../obj/i686-m64"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >>
Dependencies.i686-m64
/home/llio/MT/MOSESSUITE/srilm/sbin/generate-program-dependencies
../bin/i686-m64 ../obj/i686-m64 "" testArray testMap benchHash
testHash testSizes | sed -e "s&\.o&.o&g" >> Dependencies.i686-m64
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/dstruct/src'
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/lm/src'
rm -f Dependencies.i686-m64
/usr/bin/gcc -march=athlon64 -m64 -Wreturn-type -Wimplicit -I.
-I../../include -MM ./matherr.c | sed -e "s&^\([^
]\)&../obj/i686-m64"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >>
Dependencies.i686-m64
/usr/bin/g++ -march=athlon64 -m64 -Wreturn-type -Wimplicit
-DINSTANTIATE_TEMPLATES -I. -I../../include -MM ./Prob.cc
./Counts.cc ./XCount.cc ./Vocab.cc ./VocabMap.cc ./VocabMultiMap.cc
./VocabDistance.cc ./SubVocab.cc ./MultiwordVocab.cc ./TextStats.cc
./LM.cc ./LMClient.cc ./LMStats.cc ./RefList.cc ./Bleu.cc ./NBest.cc
./NBestSet.cc ./NgramLM.cc ./NgramStatsInt.cc ./NgramStatsShort.cc
./NgramStatsLong.cc ./NgramStatsLongLong.cc ./NgramStatsFloat.cc
./NgramStatsDouble.cc ./NgramStatsXCount.cc ./NgramCountLM.cc
./Discount.cc ./ClassNgram.cc ./SimpleClassNgram.cc ./DFNgram.cc
./SkipNgram.cc ./HiddenNgram.cc ./HiddenSNgram.cc ./VarNgram.cc
./DecipherNgram.cc ./TaggedVocab.cc ./TaggedNgram.cc
./TaggedNgramStats.cc ./StopNgram.cc ./StopNgramStats.cc
./MultiwordLM.cc ./BayesMix.cc ./LoglinearMix.cc ./AdaptiveMix.cc
./AdaptiveMarginals.cc ./CacheLM.cc ./DynamicLM.cc ./HMMofNgrams.cc
./WordAlign.cc ./WordLattice.cc ./WordMesh.cc ./simpleTrigram.cc
./NgramStats.cc ./Trellis.cc ./testBinaryCounts.cc ./testHash.cc
./testProb.cc ./testXCount.cc ./testParseFloat.cc
./testVocabDistance.cc ./testNgram.cc ./testNgramAlloc.cc
./testMultiReadLM.cc ./hoeffding.cc ./tolower.cc ./testLattice.cc
./testError.cc ./testNBest.cc ./testMix.cc ./ngram.cc ./ngram-count.cc
./ngram-merge.cc ./ngram-class.cc ./disambig.cc ./anti-ngram.cc
./nbest-lattice.cc ./nbest-mix.cc ./nbest-optimize.cc
./nbest-pron-score.cc ./segment.cc ./segment-nbest.cc
./hidden-ngram.cc ./multi-ngram.cc | sed -e "s&^\([^
]\)&../obj/i686-m64"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >>
Dependencies.i686-m64
/home/llio/MT/MOSESSUITE/srilm/sbin/generate-program-dependencies
../bin/i686-m64 ../obj/i686-m64 "" testBinaryCounts testHash testProb
testXCount testParseFloat testVocabDistance testNgram testNgramAlloc
testMultiReadLM hoeffding tolower testLattice testError testNBest
testMix ngram ngram-count ngram-merge ngram-class disambig anti-ngram
nbest-lattice nbest-mix nbest-optimize nbest-pron-score segment
segment-nbest hidden-ngram multi-ngram | sed -e "s&\.o&.o&g" >>
Dependencies.i686-m64
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/lm/src'
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/flm/src'
rm -f Dependencies.i686-m64
/usr/bin/g++ -march=athlon64 -m64 -Wreturn-type -Wimplicit
-DINSTANTIATE_TEMPLATES -I. -I../../include -MM ./FDiscount.cc
./FNgramStats.cc ./FNgramStatsInt.cc ./FNgramSpecs.cc
./FNgramSpecsInt.cc ./FactoredVocab.cc ./FNgramLM.cc ./ProductVocab.cc
./ProductNgram.cc ./wmatrix.cc ./pngram.cc ./fngram-count.cc
./fngram.cc | sed -e "s&^\([^
]\)&../obj/i686-m64"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >>
Dependencies.i686-m64
/home/llio/MT/MOSESSUITE/srilm/sbin/generate-program-dependencies
../bin/i686-m64 ../obj/i686-m64 "" pngram fngram-count fngram | sed
-e "s&\.o&.o&g" >> Dependencies.i686-m64
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/flm/src'
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/lattice/src'
rm -f Dependencies.i686-m64
/usr/bin/g++ -march=athlon64 -m64 -Wreturn-type -Wimplicit
-DINSTANTIATE_TEMPLATES -I. -I../../include -MM ./Lattice.cc
./LatticeAlign.cc ./LatticeExpand.cc ./LatticeIndex.cc
./LatticeNBest.cc ./LatticeNgrams.cc ./LatticeReduce.cc
./HTKLattice.cc ./LatticeLM.cc ./testLattice.cc ./lattice-tool.cc |
sed -e "s&^\([^ ]\)&../obj/i686-m64"'$(OBJ_OPTION)'"/\1&g" -e
"s&\.o&.o&g" >> Dependencies.i686-m64
/home/llio/MT/MOSESSUITE/srilm/sbin/generate-program-dependencies
../bin/i686-m64 ../obj/i686-m64 "" testLattice lattice-tool | sed -e
"s&\.o&.o&g" >> Dependencies.i686-m64
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/lattice/src'
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/utils/src'
rm -f Dependencies.i686-m64
/home/llio/MT/MOSESSUITE/srilm/sbin/generate-program-dependencies
../bin/i686-m64 ../obj/i686-m64 "" | sed -e "s&\.o&.o&g" >>
Dependencies.i686-m64
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/utils/src'
make[1]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm'
make release-libraries
for subdir in misc dstruct lm flm lattice utils; do \
(cd $subdir/src; make SRILM=/home/llio/MT/MOSESSUITE/srilm
MACHINE_TYPE=i686-m64 OPTION= release-libraries) || exit 1; \
done
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/misc/src'
/home/llio/MT/MOSESSUITE/srilm/sbin/decipher-install 0644
../obj/i686-m64/libmisc.a ../../lib/i686-m64
touch -c ../../lib/i686-m64/libmisc.a; : ../../lib/i686-m64/libmisc.a
2>&1 | c++filt
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/misc/src'
make[2]: Entering directory `/home/llio/MT/MOSESSUITE/srilm/dstruct/src'
/usr/bin/g++ -march=athlon64 -m64 -Wreturn-type -Wimplicit
-DINSTANTIATE_TEMPLATES -I. -I../../include -c -g -O3 -o
../obj/i686-m64/SArrayTrie.o SArrayTrie.cc
make[2]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm/dstruct/src'
make[1]: Leaving directory `/home/llio/MT/MOSESSUITE/srilm'
On Wed, Aug 13, 2008 at 1:37 PM, Anung Ariwibowo <[EMAIL PROTECTED]> wrote:
> Hi Llio,
>
> I can compile SRILM in Linux Ubuntu without problem. Can you post the error
> message here, maybe we can help.
>
> Cheers,
> Anung
>
> On Wed, Aug 13, 2008 at 8:29 PM, Llio Humphreys <[EMAIL PROTECTED]>
> wrote:
>>
>> Dear Josh/Hieu,
>> many thanks for your replies. The default shell is bash, and updating
>> the .profile file worked - thanks for that tip. I look forward to
>> hearing more from you about the ./model/extract.0-0.o.part* problem.
>> My apologies for my ignorance of Unix matters: I'd like to think of
>> myself as a newbie rather than one who is averse to learning about
>> these things, and the further information you have provided has been
>> useful and interesting. Hieu mentioned that Anung Ariwibowo got Moses
>> to work when he transferred to a Linux machine. A colleague has
>> kindly let me borrow a Linux/Ubuntu machine, but I have already run
>> into problems compiling SRILM! So, I'll see if Eric Nichols's
>> packages will take care of that:
>> http://cl.naist.jp/~eric-n/ubuntu-nlp/dists/feisty/nlp/
>> Best regards,
>> Llio
>>
>>
>>
>> On 8/13/08, Josh Schroeder <[EMAIL PROTECTED]> wrote:
>> > Hi Llio,
>> >
>> >
>> > > you may have already received my email on the following problem when
>> > > building the language model:
>> > >
>> > > Executing: cat ./model/extract.0-0.o.part* > ./model/extract.0-0.o
>> > > cat: ./model/extract.0-0.o.part*: No such file or directory
>> > > Exit code: 1
>> > >
>> >
>> > That's building the phrase table, not the language model. It seems like
>> > several people on the list are having problems with this step, so I'm
>> > going
>> > to take a look at the training process and post something to the list in
>> > the
>> > next day or two.
>> >
>> >
>> > >
>> > > 1. You mention that Moses does not use environment variables.
>> > > However, in order to get SRILM to work, I found it necessary to create
>> > > environment variables and pass these on to SRILM's make:
>> > >
>> > > make SRILM=$PWD MACHINE_TYPE=macosx
>> > >
>> >
>> > PATH=/bin:/sbin:/usr/bin:/usr/sbin:/Users/lliohumphreys/MT/MOSESSUITE/srilm:/Users/lliohumphreys/MT/MOSESSUITE/srilm/bin:/Users/lliohumphreys/MT/MOSESSUITE/srilm/bin/macosx:/sw/bin/gawk
>> > > MANPATH=/Users/lliohumphreys/MT/MOSESSUITE/srilm/man
>> > LC_NUMERIC=C
>> > >
>> > > In addition, I was also required to type in the following command for
>> > > moses-scripts:
>> > >
>> > > export
>> >
>> > SCRIPTS_ROOTDIR=/Users/lliohumphreys/MT/MOSESSUITE/bin/moses-scripts/scripts-20080811-1801
>> > >
>> > >
>> >
>> > Sorry, I should have been more clear. Moses itself, the decoder that
>> > loads
>> > a trained phrase table and language model and translates text, is a
>> > self-contained command-line program that doesn't require environment
>> > variables.
>> >
>> > Your first example is compiling SRILM. This is not part of the Moses
>> > toolkit: it's a toolkit of its own for language modeling and a ton of
>> > other
>> > stuff. We use it as one of two possible integrated language models (the
>> > other is IRSTLM) with Moses.
>> >
>> > Your second example is part of the training regime. Yes, there is some
>> > use
>> > of the SCRIPTS_ROOTDIR in the
>> > train-factored-phrase-model.perl, but for most training
>> > support scripts that come with moses there is a flag that lets you
>> > specify
>> > SCRIPTS_ROOTDIR at the command line instead of storing it as an
>> > environment
>> > variable. In train-factored-phrase-model it's "-scripts-root-dir", which
>> > I
>> > think you've actually used in one of your other emails.
>> >
>> >
>> >
>> > > If I open a new terminal and echo these variables, most of them are
>> > > blank, and PATH just gives the default bin paths.
>> > >
>> > > So, how do I make them permanent? I assume that if I want to use
>> > > Moses again, it needs to have access to these variables? How can I
>> > > ensure that I can close the terminal, go home, open a new terminal the
>> > > next day and get Moses working again? A colleague suggested I update
>> > > the .bashrc file to update each new terminal session with these
>> > > environment variables. However, my Mac system does not appear to have
>> > > a .bashrc system as a default, and when I created one in my home
>> > > directory and opened a new terminal, it did not access the .bashrc
>> > > file.
>> > >
>> >
>> > Here's some info on environment variables on the Mac, found with a
>> > quick
>> > Google search:
>> > http://www.macdevcenter.com/pub/a/mac/2004/02/24/bash.html
>> >
>> > I tried it with .profile, that worked fine. Are you sure you're set to
>> > use
>> > the bash shell? Try ' echo $SHELL ' in Terminal.
>> >
>> >
>> > > 2. You say that you ran the decoder on your laptop just fine, but had
>> > > to change a few scripts for training. I have very basic knowledge of
>> > > Unix systems and installing open-source software: would it be possible
>> > > for you to detail the changes you did to the scripts to get it to run
>> > > on a Mac? Although I need this information urgently, it may also be
>> > > useful for other students who are installing Moses on a Mac and who
>> > > may also have basic knowledge of Unix installation procedures.
>> > >
>> >
>> > I'll look into this. Mac isn't really the platform of choice for
>> > training a
>> > Moses model and I do most of my work on linux. If I recall correctly, an
>> > Intel-based Mac should be easier to get working than a PowerPC one. The
>> > *decoder* does work on my Intel-based laptop, but I haven't run a full
>> > training setup locally in some time -- most of the time we're working
>> > with
>> > so much data that I use a cluster of linux machines instead of my Mac.
>> >
>> > As a word of caution: Moses isn't an out-of-the box translation
>> > solution
>> > for end users. It's research software undergoing active development, so
>> > almost every user -- on any platform -- will need to muck around in the
>> > scripts at some point, or face a compile error or runtime crash. The
>> > ability
>> > to deal with unix/linux command line tools, and debug code and scripts
>> > when
>> > necessary, is really important. That being said, I'll see what I can do
>> > about highlighting where the scripts might have problems on the Mac.
>> >
>> >
>> > > 3. My final question: which is embarrasingly basic...can I use the one
>> > > installation of Moses for different corpora, or do I need to do a
>> > > separate installation for each one? Can I have separate installations
>> > > of SRILM, Giza and mckls, or should they all reference the same
>> > > libraries?
>> > >
>> >
>> > All you need to do to have moses use different corpora is point it to a
>> > different moses.ini file. Assuming you have compiled moses with support
>> > for
>> > the language model specified in the file (IRSTLM or SRILM), it will
>> > translate. You should only need one copy of giza, mkcls, irst/srilm, and
>> > moses. The code stays the same, it's the data model that's different.
>> >
>> > -Josh
>> >
>> >
>> >
>> > --
>> > The University of Edinburgh is a charitable body, registered in
>> > Scotland, with registration number SC005336.
>> >
>> >
>> _______________________________________________
>> Moses-support mailing list
>> [email protected]
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
> --
> barliant at {gmail.com, yahoo.com}
> Starting July 2008, barliant at cbn.net.id is no longer active
> Visit my Blog at barliant dot blogspot dot com
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support