<html><head><style data-externalstyle="true">
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}

p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
</style></head><body><div data-externalstyle="false" 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 data-focusfrompointer="true">Sounds like a permissions problem. Did you previously run&nbsp;“sudo make install” in the same build tree? (And now you’re trying&nbsp;“make package” without the sudo...?)</div><div data-focusfrompointer="true">&nbsp;</div><div data-focusfrompointer="true">Or something like that?</div><div data-focusfrompointer="true">&nbsp;</div><div data-signatureblock="true">&nbsp;</div>        <div style="border-top-color: rgb(225, 225, 225); border-top-width: 1px; border-top-style: solid;">                <strong>From:</strong>&nbsp;sandrews<br>                <strong>Sent:</strong>&nbsp;‎March‎ ‎4‎, ‎2013 ‎2‎:‎11‎ ‎PM<br>                <strong>To:</strong>&nbsp;cmake@cmake.org<br>                <strong>Subject:</strong>&nbsp;[CMake] CPack isn't working - getting Internal CMake error<br>        </div>        <div>&nbsp;</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.&nbsp; I have a reasonably lengthy CMakeLists.txt<br>file, all of which works well.&nbsp; My software finds libraries, makes,<br>installs, etc.&nbsp; At the end, I tacked on the line:<br><br>include(CPack)<br><br>This is my only line about CPack.&nbsp; I was hoping that this would be<br>sufficient to create a package.&nbsp; 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>&nbsp;&nbsp; file Internal CMake error when trying to open file:<br>&nbsp;&nbsp; /Users/steveandrews/Smoldyn/cmake/install_manifest.txt for<br>&nbsp;&nbsp; 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.&nbsp; This looks like a<br>bug in CMake, although I'm guessing that I'm just using it wrong.&nbsp; Can<br>someone enlighten me?&nbsp; 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: http://cmake.3232098.n2.nabble.com/CPack-isn-t-working-getting-Internal-CMake-error-tp7583485.html<br>Sent from the CMake mailing list archive at Nabble.com.<br>--<br><br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br><br>Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.cmake.org/mailman/listinfo/cmake<br></div></body></html>