That's it. Making a package works now. I thought it was something trivial, but I didn't know what. Thank you very much!
-Steve On Mon, Mar 4, 2013 at 2:06 PM, David Cole <dlrd...@aol.com> wrote: > 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...?) > > Or something like that? > > > *From:* sandrews > *Sent:* March 4, 2013 2:11 PM > *To:* cmake@cmake.org > *Subject:* [CMake] CPack isn't working - getting Internal CMake error > > Hi CMake experts, > > I'm trying to create a package with CPack and it's not working, so I'm > hoping that someone can help me. I have a reasonably lengthy > CMakeLists.txt > file, all of which works well. My software finds libraries, makes, > installs, etc. At the end, I tacked on the line: > > include(CPack) > > This is my only line about CPack. I was hoping that this would be > sufficient to create a package. However, when I type "make package", I get > the following output: > > [ 34%] Built target smoldyn > [ 67%] Built target smoldyn_shared > [100%] Built target smoldyn_static > Run CPack packaging tool... > CPack: Create package using PackageMaker > CPack: Install projects > CPack: - Run preinstall target for: smoldyn > CPack: - Install project: smoldyn > CMake Error at /Users/steveandrews/Smoldyn/cmake/cmake_install.cmake:74 > (FILE): > file Internal CMake error when trying to open file: > /Users/steveandrews/Smoldyn/cmake/install_manifest.txt for > writing. > > ... (several more of the same errors) ... > > CPack Error: Error when generating package: smoldyn > make: *** [package] Error 1 > > My install_manifest.txt file is there, looks good, etc. This looks like a > bug in CMake, although I'm guessing that I'm just using it wrong. Can > someone enlighten me? By the way, I'm using CMake version 2.8.10.2, > running > on a Mac with OS 10.6.8. > > Thanks! > -Steve > > > > > -- > View this message in context: > http://cmake.3232098.n2.nabble.com/CPack-isn-t-working-getting-Internal-CMake-error-tp7583485.html > Sent from the CMake mailing list archive at Nabble.com. > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake >
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake