<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=Big5" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,<br>
<br>
Andreas Stolcke wrote:
<blockquote cite="mid:200711050453.lA54rQEW017409@dylan.speech.sri.com"
type="cite">
<pre wrap="">In message <a class="moz-txt-link-rfc2396E" href="mailto:Pine.LNX.4.63.0711042023090.16635@lamb.ICSI.Berkeley.EDU"><Pine.LNX.4.63.0711042023090.16635@lamb.ICSI.Berkeley.EDU></a>you wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
use:
/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 \
../../bin/i686
ERROR: File to be installed (../bin/i686/ngram) does not exist.
</pre>
</blockquote>
<pre wrap=""><!---->
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))</pre>
</blockquote>
<br>
This patch works for me on Mac OS X now!<br>
<br>
Cheers,<br>
/Mike/<br>
</body>
</html>