The &quot;clean build tree&quot; seems to have been the problem.  Looks as if I needed to start clean every time I tried a new configuration approach.  Much thanks!<div><br><div class="gmail_quote">On Tue, May 4, 2010 at 1:01 PM, S Roderick <span dir="ltr">&lt;<a href="http://kiwi.net">kiwi.net</a>@<a href="http://mac.com">mac.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><div></div><div class="h5">On May 4, 2010, at 12:41 , Mike Ladwig wrote:<br>
<br>
&gt; Hi.<br>
&gt;<br>
&gt; I&#39;m having a problem compiling scantailor on CentOS 5.4.  The version of cmake that comes with CentOS was too old, so I downloaded the current cmake binary, which seems to be working well.<br>
&gt;<br>
&gt; The problem is that the CentOS version of boost is also out-of-date, so I needed to download and build that, which I did successfully.  I installed the new boost (1.42) in /usr/local and have been unable to get cmake to recognize it.<br>

&gt;<br>
&gt; I have tried -DBOOST_ROOT=/usr/local/ -DBOOSTROOT=/usr/local/ -DBOOST_INCLUDEDIR=/usr/local/include/ -DBOOST_LIBRARYDIR=/usr/local/lib/ -DBoost_ADDITIONALVERSIONS=&quot;1.42.0&quot; and many variations on these.<br>

&gt;<br>
&gt; Am I missing something, or is cmake just unable to find boost anywhere other than default locations?<br>
<br>
<br>
</div></div>Have you tried (in a clean build tree)<br>
<br>
export CMAKE_PREFIX_PATH=/usr/local<br>
cmake ...<br>
<br>
The above works with MacPorts installed boost v1.42 in /opt/local for Mac OS X.<br>
Stephen<br>
</blockquote></div><br></div>