<div class="gmail_quote">On Sat, Apr 3, 2010 at 9:54 PM, Andreas Stolcke <span dir="ltr">&lt;<a href="mailto:stolcke@speech.sri.com">stolcke@speech.sri.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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&#39;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:   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, although it reports an error about a missing Boolean.h, of which I&#39;ve confirmed it&#39;s existence in the ./include folder</div>

<div><br></div><div>Again, I&#39;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    -I. -I~/Downloads/srilm/include -MM ./MemStats.cc ./LHashTrie.cc ./SArrayTrie.cc ./Array.cc ./IntervalHeap.cc ./Map.cc </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 &quot;s&amp;^\([^ ]\)&amp;../obj/i686-ubuntu&quot;&#39;$(OBJ_OPTION)&#39;&quot;/\1</div>

<div>&amp;g&quot; -e &quot;s&amp;\.o&amp;.o&amp;g&quot; &gt;&gt; Dependencies.i686-ubuntu</div><div>In file included from ./SArray.h:22,</div><div>                 from ./Trie.h:103,</div><div>                 from ./Trie.cc:27,</div>

<div>                 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>                 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>                 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>                 from ./Map2.h:80,</div>

<div>                 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>                 from ./Trie.h:109,</div><div>                 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>