Divider
  Speech Technology and Research Laboratory
  People
  Current Research Activities
  Past Research Activities
  Publications
  Career Opportunities
  Seminars
  Technologies for License
  In the News
  Contact Us
  STAR Search
  Information and Computing Sciences Division
SpacerAbout UsDividerR and D DivisionsDividerCareersDividerNewsroomDividerContact UsDividerSRI HomeSpacer

Spacer
         
  SRI Logo

Search SRILM-USER Archives

Match: Format: Sort by:
Search:

Re: SRILM 1.5.4 build problem

From: "Barabbas Jiang" <barabbas at ADDRESS HIDDEN>
Date: Mon, 05 Nov 2007 14:24:25 +0800

This is a multi-part message in MIME format.
--------------010208040302030807060909
Content-Type: text/plain; charset=Big5
Content-Transfer-Encoding: 7bit

Hi all,

Andreas Stolcke wrote:
> In message <Pine.LNX.4.63.0711042023090.16635 at ADDRESS HIDDEN>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/

--------------010208040302030807060909
Content-Type: text/html; charset=Big5
Content-Transfer-Encoding: 7bit

<!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 at ADDRESS HIDDEN"
type="cite">
  <pre wrap="">In message <a class="moz-txt-link-rfc2396E" href="mailto:Pine.LNX.4.63.0711042023090.16635 at ADDRESS HIDDEN"><Pine.LNX.4.63.0711042023090.16635 at ADDRESS HIDDEN></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>

--------------010208040302030807060909--

Click here to go to the SRILM home page.

 

About Us  Vertical divider  R&D Divisions  Divider  Careers  Divider  Newsroom  Divider  Contact Us
©2006 SRI International, 333 Ravenswood Avenue, Menlo Park, CA 94025-3493
SRI International is an independent, nonprofit corporation. Privacy policy

Last modified Dec 05, 2008