[SRILM User List] build problem, nothing under bin directory
Ayşe Şerbetçi
ayse.serbetci at hotmail.com
Mon Aug 6 23:53:26 PDT 2012
Hi,
I am trying to build SRILM on cygwin installed on a Windows 7
environment.
When I run the makefile I obtain .h and .cc files under
/include, .a files under /lib/cygwin but nothing under /bin.
My gcc version : 4.5.3
Machine type : CYGWIN_NT-6.1
Make file output is as follows. Any help is really
appreciated.
Thanks in advance,
--
Ayse
mkdir -p include lib bin
make init
make[1]: Entering directory `/home/aserbetci/srilm'
for subdir in misc
dstruct lm flm
lattice utils; do \
(cd
$subdir/src; make SRILM=/home/aserbetci/srilm
MACHINE_TYPE=cygwin OPTION= MAKE_PIC= init) || exit 1; \
done
make[2]: Entering directory `/home/aserbetci/srilm/misc/src'
cd ..; /home/aserbetci/srilm/sbin/make-standard-directories
make ../obj/cygwin/STAMP ../bin/cygwin/STAMP
make[3]: Entering directory `/home/aserbetci/srilm/misc/src'
make[3]: `../obj/cygwin/STAMP' is up to date.
make[3]: `../bin/cygwin/STAMP' is up to date.
make[3]: Leaving directory `/home/aserbetci/srilm/misc/src'
make[2]: Leaving directory `/home/aserbetci/srilm/misc/src'
make[2]: Entering directory
`/home/aserbetci/srilm/dstruct/src'
cd ..; /home/aserbetci/srilm/sbin/make-standard-directories
make ../obj/cygwin/STAMP ../bin/cygwin/STAMP
make[3]: Entering directory
`/home/aserbetci/srilm/dstruct/src'
make[3]: `../obj/cygwin/STAMP' is up to date.
make[3]: `../bin/cygwin/STAMP' is up to date.
make[3]: Leaving directory
`/home/aserbetci/srilm/dstruct/src'
make[2]: Leaving directory
`/home/aserbetci/srilm/dstruct/src'
make[2]: Entering directory `/home/aserbetci/srilm/lm/src'
cd ..; /home/aserbetci/srilm/sbin/make-standard-directories
make ../obj/cygwin/STAMP ../bin/cygwin/STAMP
make[3]: Entering directory `/home/aserbetci/srilm/lm/src'
make[3]: `../obj/cygwin/STAMP' is up to date.
make[3]: `../bin/cygwin/STAMP' is up to date.
make[3]: Leaving directory `/home/aserbetci/srilm/lm/src'
make[2]: Leaving directory `/home/aserbetci/srilm/lm/src'
make[2]: Entering directory `/home/aserbetci/srilm/flm/src'
cd ..; /home/aserbetci/srilm/sbin/make-standard-directories
make ../obj/cygwin/STAMP ../bin/cygwin/STAMP
make[3]: Entering directory `/home/aserbetci/srilm/flm/src'
make[3]: `../obj/cygwin/STAMP' is up to date.
make[3]: `../bin/cygwin/STAMP' is up to date.
make[3]: Leaving directory `/home/aserbetci/srilm/flm/src'
make[2]: Leaving directory `/home/aserbetci/srilm/flm/src'
make[2]: Entering directory
`/home/aserbetci/srilm/lattice/src'
cd ..; /home/aserbetci/srilm/sbin/make-standard-directories
make ../obj/cygwin/STAMP ../bin/cygwin/STAMP
make[3]: Entering directory
`/home/aserbetci/srilm/lattice/src'
make[3]: `../obj/cygwin/STAMP' is up to date.
make[3]: `../bin/cygwin/STAMP' is up to date.
make[3]: Leaving directory
`/home/aserbetci/srilm/lattice/src'
make[2]: Leaving directory
`/home/aserbetci/srilm/lattice/src'
make[2]: Entering directory
`/home/aserbetci/srilm/utils/src'
cd ..; /home/aserbetci/srilm/sbin/make-standard-directories
make ../obj/cygwin/STAMP ../bin/cygwin/STAMP
make[3]: Entering directory `/home/aserbetci/srilm/utils/src'
make[3]: `../obj/cygwin/STAMP' is up to date.
make[3]: `../bin/cygwin/STAMP' is up to date.
make[3]: Leaving directory `/home/aserbetci/srilm/utils/src'
make[2]: Leaving directory `/home/aserbetci/srilm/utils/src'
make[1]: Leaving directory `/home/aserbetci/srilm'
make release-headers
make[1]: Entering directory `/home/aserbetci/srilm'
for subdir in misc
dstruct lm flm
lattice utils; do \
(cd
$subdir/src; make SRILM=/home/aserbetci/srilm
MACHINE_TYPE=cygwin OPTION= MAKE_PIC= release-headers) || exit 1; \
done
make[2]: Entering directory `/home/aserbetci/srilm/misc/src'
make[2]: Nothing to be done for `release-headers'.
make[2]: Leaving directory `/home/aserbetci/srilm/misc/src'
make[2]: Entering directory `/home/aserbetci/srilm/dstruct/src'
make[2]: Nothing to be done for `release-headers'.
make[2]: Leaving directory
`/home/aserbetci/srilm/dstruct/src'
make[2]: Entering directory `/home/aserbetci/srilm/lm/src'
make[2]: Nothing to be done for `release-headers'.
make[2]: Leaving directory `/home/aserbetci/srilm/lm/src'
make[2]: Entering directory `/home/aserbetci/srilm/flm/src'
make[2]: Nothing to be done for `release-headers'.
make[2]: Leaving directory `/home/aserbetci/srilm/flm/src'
make[2]: Entering directory `/home/aserbetci/srilm/lattice/src'
make[2]: Nothing to be done for `release-headers'.
make[2]: Leaving directory
`/home/aserbetci/srilm/lattice/src'
make[2]: Entering directory
`/home/aserbetci/srilm/utils/src'
make[2]: Nothing to be done for `release-headers'.
make[2]: Leaving directory `/home/aserbetci/srilm/utils/src'
make[1]: Leaving directory `/home/aserbetci/srilm'
make depend
make[1]: Entering directory `/home/aserbetci/srilm'
for subdir in misc
dstruct lm flm
lattice utils; do \
(cd
$subdir/src; make SRILM=/home/aserbetci/srilm
MACHINE_TYPE=cygwin OPTION= MAKE_PIC= depend) || exit 1; \
done
make[2]: Entering directory `/home/aserbetci/srilm/misc/src'
rm -f Dependencies.cygwin
gcc -Wall -Wno-unused-variable -Wno-uninitialized
-Wimplicit-int -I. -I../../include
-MM ./option.c ./zio.c ./fcheck.c
./fake-rand48.c ./version.c ./ztest.c | sed -e "s&^\([^
]\)&../obj/cygwin"'$(OBJ_OPTION)'"/\1&g" -e
"s&\.o&.o&g" >> Dependencies.cygwin
g++ -Wall -Wno-unused-variable -Wno-uninitialized
-DINSTANTIATE_TEMPLATES -I.
-I../../include -MM ./Debug.cc ./File.cc
./MStringTokUtil.cc ./tclmain.cc ./testFile.cc | sed -e "s&^\([^
]\)&../obj/cygwin"'$(OBJ_OPTION)'"/\1&g" -e
"s&\.o&.o&g" >> Dependencies.cygwin
/home/aserbetci/srilm/sbin/generate-program-dependencies
../bin/cygwin ../obj/cygwin ".exe" ztest testFile | sed -e
"s&\.o&.o&g" >> Dependencies.cygwin
make[2]: Leaving directory `/home/aserbetci/srilm/misc/src'
make[2]: Entering directory
`/home/aserbetci/srilm/dstruct/src'
rm -f Dependencies.cygwin
gcc -Wall -Wno-unused-variable -Wno-uninitialized
-Wimplicit-int -I. -I../../include
-MM ./qsort.c ./BlockMalloc.c
./maxalloc.c | sed -e "s&^\([^ ]\)&../obj/cygwin"'$(OBJ_OPTION)'"/\1&g"
-e "s&\.o&.o&g" >> Dependencies.cygwin
g++ -Wall -Wno-unused-variable -Wno-uninitialized
-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 ./CachedMem.cc ./testArray.cc
./testMap.cc ./benchHash.cc ./testHash.cc ./testSizes.cc ./testCachedMem.cc
./testBlockMalloc.cc ./testMap2.cc ./testTrie.cc | sed -e "s&^\([^
]\)&../obj/cygwin"'$(OBJ_OPTION)'"/\1&g" -e
"s&\.o&.o&g" >> Dependencies.cygwin
/home/aserbetci/srilm/sbin/generate-program-dependencies
../bin/cygwin ../obj/cygwin ".exe" maxalloc testArray
testMap benchHash testHash
testSizes testCachedMem testBlockMalloc testMap2 testTrie | sed -e
"s&\.o&.o&g" >> Dependencies.cygwin
make[2]: Leaving directory `/home/aserbetci/srilm/dstruct/src'
make[2]: Entering directory `/home/aserbetci/srilm/lm/src'
rm -f Dependencies.cygwin
gcc -Wall -Wno-unused-variable -Wno-uninitialized
-Wimplicit-int -I. -I../../include
-MM ./matherr.c | sed -e
"s&^\([^ ]\)&../obj/cygwin"'$(OBJ_OPTION)'"/\1&g"
-e "s&\.o&.o&g" >> Dependencies.cygwin
g++ -Wall -Wno-unused-variable -Wno-uninitialized
-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 ./NonzeroLM.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/cygwin"'$(OBJ_OPTION)'"/\1&g" -e
"s&\.o&.o&g" >> Dependencies.cygwin
/home/aserbetci/srilm/sbin/generate-program-dependencies
../bin/cygwin ../obj/cygwin ".exe" 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.cygwin
make[2]: Leaving directory `/home/aserbetci/srilm/lm/src'
make[2]: Entering directory `/home/aserbetci/srilm/flm/src'
rm -f Dependencies.cygwin
g++ -Wall -Wno-unused-variable -Wno-uninitialized
-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/cygwin"'$(OBJ_OPTION)'"/\1&g" -e
"s&\.o&.o&g" >> Dependencies.cygwin
/home/aserbetci/srilm/sbin/generate-program-dependencies
../bin/cygwin ../obj/cygwin ".exe" pngram fngram-count
fngram | sed -e
"s&\.o&.o&g" >> Dependencies.cygwin
make[2]: Leaving directory `/home/aserbetci/srilm/flm/src'
make[2]: Entering directory
`/home/aserbetci/srilm/lattice/src'
rm -f Dependencies.cygwin
g++ -Wall -Wno-unused-variable -Wno-uninitialized
-DINSTANTIATE_TEMPLATES -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/cygwin"'$(OBJ_OPTION)'"/\1&g" -e
"s&\.o&.o&g" >> Dependencies.cygwin
/home/aserbetci/srilm/sbin/generate-program-dependencies
../bin/cygwin ../obj/cygwin ".exe" testLattice lattice-tool | sed -e
"s&\.o&.o&g" >> Dependencies.cygwin
make[2]: Leaving directory
`/home/aserbetci/srilm/lattice/src'
make[2]: Entering directory
`/home/aserbetci/srilm/utils/src'
rm -f Dependencies.cygwin
/home/aserbetci/srilm/sbin/generate-program-dependencies
../bin/cygwin ../obj/cygwin ".exe"
| sed -e "s&\.o&.o&g" >> Dependencies.cygwin
make[2]: Leaving directory `/home/aserbetci/srilm/utils/src'
make[1]: Leaving directory `/home/aserbetci/srilm'
make release-libraries
make[1]: Entering directory `/home/aserbetci/srilm'
for subdir in misc
dstruct lm flm
lattice utils; do \
(cd
$subdir/src; make SRILM=/home/aserbetci/srilm
MACHINE_TYPE=cygwin OPTION= MAKE_PIC= release-libraries) || exit 1; \
done
make[2]: Entering directory `/home/aserbetci/srilm/misc/src'
make[2]: Nothing to be done for `release-libraries'.
make[2]: Leaving directory `/home/aserbetci/srilm/misc/src'
make[2]: Entering directory
`/home/aserbetci/srilm/dstruct/src'
make[2]: Nothing to be done for `release-libraries'.
make[2]: Leaving directory
`/home/aserbetci/srilm/dstruct/src'
make[2]: Entering directory `/home/aserbetci/srilm/lm/src'
make[2]: Nothing to be done for `release-libraries'.
make[2]: Leaving directory `/home/aserbetci/srilm/lm/src'
make[2]: Entering directory `/home/aserbetci/srilm/flm/src'
make[2]: Nothing to be done for `release-libraries'.
make[2]: Leaving directory `/home/aserbetci/srilm/flm/src'
make[2]: Entering directory
`/home/aserbetci/srilm/lattice/src'
make[2]: Nothing to be done for `release-libraries'.
make[2]: Leaving directory
`/home/aserbetci/srilm/lattice/src'
make[2]: Entering directory
`/home/aserbetci/srilm/utils/src'
make[2]: Nothing to be done for `release-libraries'.
make[2]: Leaving directory `/home/aserbetci/srilm/utils/src'
make[1]: Leaving directory `/home/aserbetci/srilm'
make release-programs
make[1]: Entering directory `/home/aserbetci/srilm'
for subdir in misc
dstruct lm flm
lattice utils; do \
(cd
$subdir/src; make SRILM=/home/aserbetci/srilm
MACHINE_TYPE=cygwin OPTION= MAKE_PIC= release-programs) || exit 1; \
done
make[2]: Entering directory `/home/aserbetci/srilm/misc/src'
make[2]: Nothing to be done for `release-programs'.
make[2]: Leaving directory `/home/aserbetci/srilm/misc/src'
make[2]: Entering directory
`/home/aserbetci/srilm/dstruct/src'
g++ -Wall -Wno-unused-variable -Wno-uninitialized
-DINSTANTIATE_TEMPLATES -I.
-I../../include -L../../lib/cygwin -g -O2 -o ../bin/cygwin/maxalloc.exe
../obj/cygwin/maxalloc.o ../obj/cygwin/libdstruct.a -lm
../../lib/cygwin/libmisc.a
-ltcl84 -lm
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
cannot find -ltcl84
collect2: ld returned 1 exit status
/home/aserbetci/srilm/common/Makefile.common.targets:108:
recipe for target `../bin/cygwin/maxalloc.exe' failed
make[2]: *** [../bin/cygwin/maxalloc.exe] Error 1
make[2]: Leaving directory
`/home/aserbetci/srilm/dstruct/src'
Makefile:105: recipe for target `release-programs' failed
make[1]: *** [release-programs] Error 1
make[1]: Leaving directory `/home/aserbetci/srilm'
Makefile:54: recipe for target `World' failed
make: *** [World] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20120807/2531480f/attachment.html>
More information about the SRILM-User
mailing list