<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 4/3/2010 7:10 PM, Jared Wein wrote:
<blockquote
 cite="mid:z2x15fa14981004031910va4c703farf60ed1f6ed91a24e@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">On Sat, Apr 3, 2010 at 9:54 PM, Andreas
Stolcke <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:stolcke@speech.sri.com">stolcke@speech.sri.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">
    <div class="im">On 4/3/2010 5:56 PM, Jared Wein wrote:
    <blockquote type="cite"><span
 style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">
      <div>I'm having problems building SRILM on my Ubuntu virtual
machine.</div>
      <div><br>
      </div>
      <div>I have tried `make World` with the following results:</div>
      <div><br>
      </div>
      <div>
      <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">jared@jared-desktop:~/Downloads/srilm$
make
World</blockquote>
      <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">/bin/sh:
/home/jared/Downloads/srilm/sbin/machine-type:
not found</blockquote>
      </div>
      </span></blockquote>
    </div>
the problem is right here:&nbsp;&nbsp; the machine-type cannot be executed.<br>
I suspect you need to install csh/tcsh .<br>
Alternatively, you can bypass the problem by invoking <br>
    <br>
make MACHINE_TYPE=i686 ...<br>
    <br>
Andreas<br>
    <br>
    </div>
  </blockquote>
  </div>
  <br>
  <div>Thanks, installing csh/tcsh allowed the make to get
further,&nbsp;although it reports an error about a missing Boolean.h, of
which I've confirmed it's existence in the ./include folder</div>
  <div><br>
  </div>
  <div>Again, I'm running `make MACHINE_TYPE=i686-ubuntu World`</div>
  <div><br>
  </div>
  <div>&lt;excerpted&gt;</div>
  <div>
  <div>/usr/bin/g++ -m32 -mtune=pentium3 -Wreturn-type -Wimplicit
-Wformat -DINSTANTIATE_TEMPLATES -D_FILE_OFFSET_BITS=64 &nbsp; &nbsp;-I.
-I~/Downloads/srilm/include -MM ./MemStats.cc ./LHashTrie.cc
./SArrayTrie.cc ./Array.cc ./IntervalHeap.cc ./Map.cc <br>
  </div>
  </div>
</blockquote>
<br>
this time it is the SRILM variable that is not set correctly.&nbsp; It
appears to be set to ~/Downloads/srilm, but the ~ symbol is not
understood by make or /bin/sh.<br>
Try <br>
make SRILM=/full/path/to/your/srilm/directory ....<br>
<br>
Andreas <br>
<br>
<blockquote
 cite="mid:z2x15fa14981004031910va4c703farf60ed1f6ed91a24e@mail.gmail.com"
 type="cite">
  <div>
  <div>./SArray.cc ./LHash.cc ./Map2.cc ./Trie.cc ./CachedMem.cc
./testArray.cc ./testMap.cc ./benchHash.cc ./testHash.cc ./testSizes.cc
./testCachedMem.cc ./testMap2.cc ./testTrie.cc | sed -e "s&amp;^\([^
]\)&amp;../obj/i686-ubuntu"'$(OBJ_OPTION)'"/\1</div>
  <div>&amp;g" -e "s&amp;\.o&amp;.o&amp;g" &gt;&gt;
Dependencies.i686-ubuntu</div>
  <div>In file included from ./SArray.h:22,</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ./Trie.h:103,</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ./Trie.cc:27,</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ./SArrayTrie.cc:17:</div>
  <div>./Map.h:63:21: error: Boolean.h: No such file or directory</div>
  <div>In file included from ./IntervalHeap.cc:18:</div>
  <div>./IntervalHeap.h:45:21: error: Boolean.h: No such file or
directory</div>
  <div>In file included from ./Map.cc:12:</div>
  <div>./Map.h:63:21: error: Boolean.h: No such file or directory</div>
  <div>In file included from ./SArray.h:22,</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ./SArray.cc:25:</div>
  <div>./Map.h:63:21: error: Boolean.h: No such file or directory</div>
  <div>In file included from ./LHash.h:26,</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ./LHash.cc:27:</div>
  <div>./Map.h:63:21: error: Boolean.h: No such file or directory</div>
  <div>In file included from ./LHash.h:26,</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ./Map2.h:80,</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ./Map2.cc:27:</div>
  <div>./Map.h:63:21: error: Boolean.h: No such file or directory</div>
  <div>In file included from ./LHash.h:26,</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ./Trie.h:109,</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ./Trie.cc:27:</div>
  <div>./Map.h:63:21: error: Boolean.h: No such file or directory</div>
  <div>In file included from ./SArray.h:22,</div>
  </div>
  <div>&lt;/excerpted&gt;</div>
  <div><br>
  </div>
  <div>Any ideas? The include path that is mentioned by
-I~/Downloads/srilm/include is the folder where I found Boolean.h.</div>
</blockquote>
<br>
</body>
</html>