installation srilm ubuntu 64 bit
Thread poster: cyrine84
Jul 20, 2010

Hello everyone,
I'm trying this is two days to install SRILM.
I use Ubuntu 9.10 64 bit.
I followed the tutorial setup but I can not install
is the message displayed

thank you for help


mkdir include lib bin
mkdir: cannot create directory `include': File exists
mkdir: cannot create directory `lib': File exists
mkdir: cannot create directory `bin': File exists
make: [dirs] Error 1 (ignored)
make init
make[1]: Entering directory `/home/cyrine/Downloads/srilm'
for subdir in misc dstruct lm flm lattice utils; do \
(cd $subdir/src; make SRILM=/home/cyrine/Downloads/srilm MACHINE_TYPE=i686 OPTION= MAKE_PIC= init) || exit 1; \
done
make[2]: Entering directory `/home/cyrine/Downloads/srilm/misc/src'
cd ..; /home/cyrine/Downloads/srilm/sbin/make-standard-directories
make ../obj/i686/STAMP ../bin/i686/STAMP
make[3]: Entering directory `/home/cyrine/Downloads/srilm/misc/src'
make[3]: `../obj/i686/STAMP' is up to date.
make[3]: `../bin/i686/STAMP' is up to date.
make[3]: Leaving directory `/home/cyrine/Downloads/srilm/misc/src'
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/misc/src'
make[2]: Entering directory `/home/cyrine/Downloads/srilm/dstruct/src'
cd ..; /home/cyrine/Downloads/srilm/sbin/make-standard-directories
make ../obj/i686/STAMP ../bin/i686/STAMP
make[3]: Entering directory `/home/cyrine/Downloads/srilm/dstruct/src'
make[3]: `../obj/i686/STAMP' is up to date.
make[3]: `../bin/i686/STAMP' is up to date.
make[3]: Leaving directory `/home/cyrine/Downloads/srilm/dstruct/src'
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/dstruct/src'
make[2]: Entering directory `/home/cyrine/Downloads/srilm/lm/src'
cd ..; /home/cyrine/Downloads/srilm/sbin/make-standard-directories
make ../obj/i686/STAMP ../bin/i686/STAMP
make[3]: Entering directory `/home/cyrine/Downloads/srilm/lm/src'
make[3]: `../obj/i686/STAMP' is up to date.
make[3]: `../bin/i686/STAMP' is up to date.
make[3]: Leaving directory `/home/cyrine/Downloads/srilm/lm/src'
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/lm/src'
make[2]: Entering directory `/home/cyrine/Downloads/srilm/flm/src'
cd ..; /home/cyrine/Downloads/srilm/sbin/make-standard-directories
make ../obj/i686/STAMP ../bin/i686/STAMP
make[3]: Entering directory `/home/cyrine/Downloads/srilm/flm/src'
make[3]: `../obj/i686/STAMP' is up to date.
make[3]: `../bin/i686/STAMP' is up to date.
make[3]: Leaving directory `/home/cyrine/Downloads/srilm/flm/src'
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/flm/src'
make[2]: Entering directory `/home/cyrine/Downloads/srilm/lattice/src'
cd ..; /home/cyrine/Downloads/srilm/sbin/make-standard-directories
make ../obj/i686/STAMP ../bin/i686/STAMP
make[3]: Entering directory `/home/cyrine/Downloads/srilm/lattice/src'
make[3]: `../obj/i686/STAMP' is up to date.
make[3]: `../bin/i686/STAMP' is up to date.
make[3]: Leaving directory `/home/cyrine/Downloads/srilm/lattice/src'
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/lattice/src'
make[2]: Entering directory `/home/cyrine/Downloads/srilm/utils/src'
cd ..; /home/cyrine/Downloads/srilm/sbin/make-standard-directories
make ../obj/i686/STAMP ../bin/i686/STAMP
make[3]: Entering directory `/home/cyrine/Downloads/srilm/utils/src'
make[3]: `../obj/i686/STAMP' is up to date.
make[3]: `../bin/i686/STAMP' is up to date.
make[3]: Leaving directory `/home/cyrine/Downloads/srilm/utils/src'
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/utils/src'
make[1]: Leaving directory `/home/cyrine/Downloads/srilm'
make release-headers
make[1]: Entering directory `/home/cyrine/Downloads/srilm'
for subdir in misc dstruct lm flm lattice utils; do \
(cd $subdir/src; make SRILM=/home/cyrine/Downloads/srilm MACHINE_TYPE=i686 OPTION= MAKE_PIC= release-headers) || exit 1; \
done
make[2]: Entering directory `/home/cyrine/Downloads/srilm/misc/src'
make[2]: Nothing to be done for `release-headers'.
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/misc/src'
make[2]: Entering directory `/home/cyrine/Downloads/srilm/dstruct/src'
make[2]: Nothing to be done for `release-headers'.
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/dstruct/src'
make[2]: Entering directory `/home/cyrine/Downloads/srilm/lm/src'
make[2]: Nothing to be done for `release-headers'.
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/lm/src'
make[2]: Entering directory `/home/cyrine/Downloads/srilm/flm/src'
make[2]: Nothing to be done for `release-headers'.
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/flm/src'
make[2]: Entering directory `/home/cyrine/Downloads/srilm/lattice/src'
make[2]: Nothing to be done for `release-headers'.
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/lattice/src'
make[2]: Entering directory `/home/cyrine/Downloads/srilm/utils/src'
make[2]: Nothing to be done for `release-headers'.
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/utils/src'
make[1]: Leaving directory `/home/cyrine/Downloads/srilm'
make depend
make[1]: Entering directory `/home/cyrine/Downloads/srilm'
for subdir in misc dstruct lm flm lattice utils; do \
(cd $subdir/src; make SRILM=/home/cyrine/Downloads/srilm MACHINE_TYPE=i686 OPTION= MAKE_PIC= depend) || exit 1; \
done
make[2]: Entering directory `/home/cyrine/Downloads/srilm/misc/src'
rm -f Dependencies.i686
/usr/bin/gcc -march=i686 -Wreturn-type -Wimplicit -D_FILE_OFFSET_BITS=64 -I. -I../../include -MM ./option.c ./zio.c ./fcheck.c ./fake-rand48.c ./version.c ./ztest.c | sed -e "s&^\([^ ]\)&../obj/i686"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.i686
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
/usr/bin/g++ -Wno-deprecated -march=i686 -Wreturn-type -Wimplicit -DINSTANTIATE_TEMPLATES -D_FILE_OFFSET_BITS=64 -I. -I../../include -MM ./Debug.cc ./File.cc ./tclmain.cc ./testFile.cc | sed -e "s&^\([^ ]\)&../obj/i686"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.i686
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
/home/cyrine/Downloads/srilm/sbin/generate-program-dependencies ../bin/i686 ../obj/i686 "" ztest testFile | sed -e "s&\.o&.o&g" >> Dependencies.i686
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/misc/src'
make[2]: Entering directory `/home/cyrine/Downloads/srilm/dstruct/src'
rm -f Dependencies.i686
/usr/bin/gcc -march=i686 -Wreturn-type -Wimplicit -D_FILE_OFFSET_BITS=64 -I. -I../../include -MM ./qsort.c ./maxalloc.c | sed -e "s&^\([^ ]\)&../obj/i686"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.i686
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
/usr/bin/g++ -Wno-deprecated -march=i686 -Wreturn-type -Wimplicit -DINSTANTIATE_TEMPLATES -D_FILE_OFFSET_BITS=64 -I. -I../../include -MM ./MemStats.cc ./LHashTrie.cc ./SArrayTrie.cc ./Array.cc ./IntervalHeap.cc ./Map.cc ./SArray.cc ./LHash.cc ./Map2.cc ./Trie.cc ./CachedMem.cc ./testArray.cc ./testMap.cc ./benchHash.cc ./testHash.cc ./testSizes.cc ./testCachedMem.cc ./testMap2.cc ./testTrie.cc | sed -e "s&^\([^ ]\)&../obj/i686"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.i686
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
/home/cyrine/Downloads/srilm/sbin/generate-program-dependencies ../bin/i686 ../obj/i686 "" maxalloc testArray testMap benchHash testHash testSizes testCachedMem testMap2 testTrie | sed -e "s&\.o&.o&g" >> Dependencies.i686
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/dstruct/src'
make[2]: Entering directory `/home/cyrine/Downloads/srilm/lm/src'
rm -f Dependencies.i686
/usr/bin/gcc -march=i686 -Wreturn-type -Wimplicit -D_FILE_OFFSET_BITS=64 -I. -I../../include -MM ./matherr.c | sed -e "s&^\([^ ]\)&../obj/i686"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.i686
cc1: error: CPU you selected does not support x86-64 instruction set
/usr/bin/g++ -Wno-deprecated -march=i686 -Wreturn-type -Wimplicit -DINSTANTIATE_TEMPLATES -D_FILE_OFFSET_BITS=64 -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 ./testTaggedVocab.cc ./testVocab.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"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.i686
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
/home/cyrine/Downloads/srilm/sbin/generate-program-dependencies ../bin/i686 ../obj/i686 "" testBinaryCounts testHash testProb testXCount testParseFloat testVocabDistance testNgram testNgramAlloc testMultiReadLM hoeffding tolower testLattice testError testNBest testMix testTaggedVocab testVocab 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
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/lm/src'
make[2]: Entering directory `/home/cyrine/Downloads/srilm/flm/src'
rm -f Dependencies.i686
/usr/bin/g++ -Wno-deprecated -march=i686 -Wreturn-type -Wimplicit -DINSTANTIATE_TEMPLATES -D_FILE_OFFSET_BITS=64 -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"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.i686
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
/home/cyrine/Downloads/srilm/sbin/generate-program-dependencies ../bin/i686 ../obj/i686 "" pngram fngram-count fngram | sed -e "s&\.o&.o&g" >> Dependencies.i686
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/flm/src'
make[2]: Entering directory `/home/cyrine/Downloads/srilm/lattice/src'
rm -f Dependencies.i686
/usr/bin/g++ -Wno-deprecated -march=i686 -Wreturn-type -Wimplicit -DINSTANTIATE_TEMPLATES -D_FILE_OFFSET_BITS=64 -I. -I../../include -MM ./Lattice.cc ./LatticeAlign.cc ./LatticeExpand.cc ./LatticeIndex.cc ./LatticeNBest.cc ./LatticeNgrams.cc ./LatticeReduce.cc ./HTKLattice.cc ./LatticeLM.cc ./LatticeDecode.cc ./testLattice.cc ./lattice-tool.cc | sed -e "s&^\([^ ]\)&../obj/i686"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.i686
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
cc1plus: error: CPU you selected does not support x86-64 instruction set
/home/cyrine/Downloads/srilm/sbin/generate-program-dependencies ../bin/i686 ../obj/i686 "" testLattice lattice-tool | sed -e "s&\.o&.o&g" >> Dependencies.i686
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/lattice/src'
make[2]: Entering directory `/home/cyrine/Downloads/srilm/utils/src'
rm -f Dependencies.i686
/home/cyrine/Downloads/srilm/sbin/generate-program-dependencies ../bin/i686 ../obj/i686 "" | sed -e "s&\.o&.o&g" >> Dependencies.i686
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/utils/src'
make[1]: Leaving directory `/home/cyrine/Downloads/srilm'
make release-libraries
make[1]: Entering directory `/home/cyrine/Downloads/srilm'
for subdir in misc dstruct lm flm lattice utils; do \
(cd $subdir/src; make SRILM=/home/cyrine/Downloads/srilm MACHINE_TYPE=i686 OPTION= MAKE_PIC= release-libraries) || exit 1; \
done
make[2]: Entering directory `/home/cyrine/Downloads/srilm/misc/src'
/usr/bin/gcc -march=i686 -Wreturn-type -Wimplicit -D_FILE_OFFSET_BITS=64 -I. -I../../include -c -g -O3 -o ../obj/i686/option.o option.c
option.c:1: error: CPU you selected does not support x86-64 instruction set
make[2]: *** [../obj/i686/option.o] Error 1
make[2]: Leaving directory `/home/cyrine/Downloads/srilm/misc/src'
make[1]: *** [release-libraries] Error 1
make[1]: Leaving directory `/home/cyrine/Downloads/srilm'
make: *** [World] Error 2


[Modifié le 2010-07-20 19:57 GMT]


Direct link Reply with quote
 

bohy  Identity Verified
France
Local time: 06:16
English to French
+ ...
64-bit, really? Jul 21, 2010

When the installation begins, make starts with the option:
MACHINE_TYPE=i686

Once make is done, gcc (the C compiler) starts with the option
-march=i686 and also -D_FILE_OFFSET_BITS=64
and displays the message:
cc1: error: CPU you selected does not support x86-64 instruction set

The architecture indicated (i686) is for Intel 32-bit systems, while the D_FILE_OFFSET_BITS option specifies a 64-bit system...

Is your SRILM version a 64-bit version?
If yes, it is possible that the make script checks the MACHINE_TYPE directly on the machine, and discovers that it is a 32-bit version of Ubuntu installed on a 64-bit processor...

Sorry, I do not have any Linux machine to investigate further.


Direct link Reply with quote
 

Robert Tucker
United Kingdom
Local time: 05:16
German to English
+ ...
Install instructions Jul 21, 2010

From http://www-speech.sri.com/projects/srilm/docs/INSTALL :

You need a SunOS (Sparc or i386), IRIX 5.x, Alpha OSF, Linux i686, Mac OSX, or CYGWIN platform to compile out of the box. For other OS/cpu combinations you will have to modify the sbin/machine-type script to detect (and name) the platform type,... As a workaround, the MACHINE_TYPE variable can also be set on the make comand line

make MACHINE_TYPE=foo ...


Since your machine is 64-bit it looks as if you will have to specify it at the make command.


Direct link Reply with quote
 

opolt  Identity Verified
Germany
Local time: 06:16
English to German
+ ...
Did you run "./configure" with the necessary options? Jul 21, 2010

The "configure" script must be run in most cases before running the build script. Did you omit this step? I hope you are experienced compiling software on Linux; if not you are going to have a hard time installing the package. Better to wait until a deb package is made available.

Anyway, you can read the INSTALL file (if it's there) to find out more. The output of "make" suggests that your computer's CPU architecture wasn't specified/detected, so maybe it's better to ask the developers of srilm if the problem persists. AFAIK this is beta software after all, so problems of this kind are quite normal -- but sometimes difficult to sort out.

Good luck.


Direct link Reply with quote
 

cyrine84
TOPIC STARTER
Thank you Jul 22, 2010

Thank you very much.
It 'works.
it is installed now on my machine


Direct link Reply with quote
 


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

Moderator(s) of this forum
Prachya Mruetusatorn[Call to this topic]

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

installation srilm ubuntu 64 bit

Advanced search






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 »
memoQ translator pro
Kilgray's memoQ is the world's fastest developing integrated localization & translation environment rendering you more productive and efficient.

With our advanced file filters, unlimited language and advanced file support, memoQ translator pro has been designed for translators and reviewers who work on their own, with other translators or in team-based translation projects.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search