That's it. Making a package works now. I thought it was something trivial, but I didn'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"><<a href="mailto:dlrdave@aol.com" target="_blank">dlrdave@aol.com</a>></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,'Segoe UI',Meiryo,'Microsoft YaHei UI','Microsoft JhengHei UI','Malgun Gothic','Khmer UI','Nirmala UI',Tunga,'Lao UI',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't working - getting Internal CMake error<br>        </div><div><div class="h5">        <div> </div>Hi CMake experts,<br><br>I'm trying to create a package with CPack and it's not working, so I'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 "make package", 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'm guessing that I'm just using it wrong. Can<br>someone enlighten me? By the way, I'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>