That&#39;s it.  Making a package works now.  I thought it was something trivial, but I didn&#39;t know what.  Thank you very much!<div><br></div><div>-Steve</div><div><br></div><div><br><br><div class="gmail_quote">On Mon, Mar 4, 2013 at 2:06 PM, David Cole <span dir="ltr">&lt;<a href="mailto:dlrdave@aol.com" target="_blank">dlrdave@aol.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 style="font-family:Calibri,&#39;Segoe UI&#39;,Meiryo,&#39;Microsoft YaHei UI&#39;,&#39;Microsoft JhengHei UI&#39;,&#39;Malgun Gothic&#39;,&#39;Khmer UI&#39;,&#39;Nirmala UI&#39;,Tunga,&#39;Lao UI&#39;,Ebrima,sans-serif;font-size:16px">
<div>Sounds like a permissions problem. Did you previously run “sudo make install” in the same build tree? (And now you’re trying “make package” without the sudo...?)</div><div> </div><div>Or something like that?</div><div>
 </div><div> </div>        <div style="border-top-color:rgb(225,225,225);border-top-width:1px;border-top-style:solid">                <strong>From:</strong> sandrews<br>                <strong>Sent:</strong> March 4, 2013 2:11 PM<br>                <strong>To:</strong> <a href="mailto:cmake@cmake.org" target="_blank">cmake@cmake.org</a><br>
                <strong>Subject:</strong> [CMake] CPack isn&#39;t working - getting Internal CMake error<br>        </div><div><div class="h5">        <div> </div>Hi CMake experts,<br><br>I&#39;m trying to create a package with CPack and it&#39;s not working, so I&#39;m<br>
hoping that someone can help me.  I have a reasonably lengthy CMakeLists.txt<br>file, all of which works well.  My software finds libraries, makes,<br>installs, etc.  At the end, I tacked on the line:<br><br>include(CPack)<br>
<br>This is my only line about CPack.  I was hoping that this would be<br>sufficient to create a package.  However, when I type &quot;make package&quot;, I get<br>the following output:<br><br>[ 34%] Built target smoldyn<br>
[ 67%] Built target smoldyn_shared<br>[100%] Built target smoldyn_static<br>Run CPack packaging tool...<br>CPack: Create package using PackageMaker<br>CPack: Install projects<br>CPack: - Run preinstall target for: smoldyn<br>
CPack: - Install project: smoldyn<br>CMake Error at /Users/steveandrews/Smoldyn/cmake/cmake_install.cmake:74<br>(FILE):<br>   file Internal CMake error when trying to open file:<br>   /Users/steveandrews/Smoldyn/cmake/install_manifest.txt for<br>
   writing.<br><br>... (several more of the same errors) ...<br><br>CPack Error: Error when generating package: smoldyn<br>make: *** [package] Error 1<br><br>My install_manifest.txt file is there, looks good, etc.  This looks like a<br>
bug in CMake, although I&#39;m guessing that I&#39;m just using it wrong.  Can<br>someone enlighten me?  By the way, I&#39;m using CMake version 2.8.10.2, running<br>on a Mac with OS 10.6.8. <br><br>Thanks!<br>-Steve <br>
<br><br><br><br>--<br>View this message in context: <a href="http://cmake.3232098.n2.nabble.com/CPack-isn-t-working-getting-Internal-CMake-error-tp7583485.html" target="_blank">http://cmake.3232098.n2.nabble.com/CPack-isn-t-working-getting-Internal-CMake-error-tp7583485.html</a><br>
Sent from the CMake mailing list archive at Nabble.com.<br>--<br><br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></div></div></blockquote></div><br></div>