SRILM 1.5.4 build problem
stolcke at speech.sri.com
Sun Nov 4 20:53:26 PST 2007
In message <Pine.LNX.4.63.0711042023090.16635 at lamb.ICSI.Berkeley.EDU>you wrote:
> I haven't been able to see where the problem has come from. Between
> 1.5.3 and 1.5.4, the only change I see to the link rule under the
> heading "# Program linking" in Makefile.common.targets is that
> "$(LIBRARY)" in the first line of the rule changed to "$(LIBRARIES)"
> Here is the 1.5.4 make output again, but with make's --debug option in
> /usr/bin/g++ -mtune=pentium3 -Wreturn-type -Wimplicit \
> -DINSTANTIATE_TEMPLATES -D_FILE_OFFSET_BITS=64 -I. \
> -I../../include -c -g -O3 -o ../obj/i686/ngram.o ngram.cc
> Successfully remade target file `../obj/i686/ngram.o'.
> Must remake target `../bin/i686/ngram'.
> Successfully remade target file `../bin/i686/ngram'.
> Must remake target `../../bin/i686/ngram'.
> /root/srilm-1.5.4/sbin/decipher-install 0555 ../bin/i686/ngram \
> ERROR: File to be installed (../bin/i686/ngram) does not exist.
Frankly, I don't understand how this change can lead to the observed problem,
which I have not been able to duplicate on our machines.
But try changing line 104 of common/Makefile.common.targets to
$(BINDIR)/%$(EXE_SUFFIX): $(OBJDIR)/%$(OBJ_SUFFIX) $(filter-out -%, $(LIBRARIES))
IF that doesn't work, try
$(BINDIR)/%$(EXE_SUFFIX): $(OBJDIR)/%$(OBJ_SUFFIX) $(LIBRARIES)
(the original) and report results back to me.
Be sure to "make cleanest" before each trial.
Thanks, and sorry for this inconvenience.
More information about the SRILM-User