I'm trying to build a project using cmake (firebreath). I am stuck at a particular point (details later). I can build other projects without running into this problem. Other people can build firebreath without running into this problem. The obvious conclusion is that I've got something weird going on with my environment. I'm new to cmake and don't know where to start debugging the problem. Any help I can get would be appreciated.<div>
<br></div><div>Now the details: I am running on OS X 10.6.4. I am using the precompile cmake binaries, version 2.8.2. I have Xcode 3.2.4 installed. I also use Macports to install various things, but have removed all of the Macports directories from my path to try to remove that variable.</div>
<div><br></div><div>Here is the error I'm seeing:</div><div><br></div><div><div>-- Looking for include files CMAKE_HAVE_PTHREAD_H</div><div>-- Looking for include files CMAKE_HAVE_PTHREAD_H - found</div><div>-- Looking for pthread_create in pthreads</div>
<div>-- Looking for pthread_create in pthreads - not found</div><div>-- Looking for pthread_create in pthread</div><div>-- Looking for pthread_create in pthread - not found</div><div>-- Check if compiler accepts -pthread</div>
<div>-- Check if compiler accepts -pthread - no</div><div>CMake Error at /Applications/CMake.app/Contents/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):</div><div> Could NOT find Threads (missing: Threads_FOUND)</div>
<div>Call Stack (most recent call first):</div><div> /Applications/CMake.app/Contents/share/cmake-2.8/Modules/FindThreads.cmake:157 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)</div><div> CMakeLists.txt:37 (find_package)</div><div>
<br></div><div>So how do I go about debugging this? libpthread does exist in /usr/lib and is found in other contexts, so something has altered where it is looking.</div><div><br></div><div>Thanks.</div><div><br></div><div>
tj</div><br>-- <br><b><span style="font-size:large">Travis Jensen</span></b><div><b></b><span style="font-size:large"><b><br></b></span>Read the Software Maven @ <a href="http://softwaremaven.innerbrane.com/" target="_blank">http://softwaremaven.innerbrane.com/</a><br>
Read my LinkedIn profile @ <a href="http://www.linkedin.com/in/travisjensen" target="_blank">http://www.linkedin.com/in/travisjensen</a><br>Read my Twitter mumblings @ <a href="http://twitter.com/SoftwareMaven" target="_blank">http://twitter.com/SoftwareMaven</a><br>
Send me email @ <a href="mailto:travis.jensen@gmail.com" target="_blank">travis.jensen@gmail.com</a><div><br></div><div><i>*What kind of guy calls himself the Software Maven???*</i></div></div><br>
</div>