SRILM 1.5.4 build problem
Barabbas Jiang@Gmail
barabbas at gmail.com
Sun Nov 4 22:24:25 PST 2007
Hi all,
Andreas Stolcke wrote:
> 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
>> 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.
>>
>
> 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))
This patch works for me on Mac OS X now!
Cheers,
/Mike/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20071105/93a579de/attachment.html>
More information about the SRILM-User
mailing list