Hi Andy, Ok, that seems right now. 11mb tar.bz2 file.
It was attempting to run moc/uic because I build out of source and I was running cpack in the source dir with no prebuilt files there and it was attempting a package build, not package source build. Having made a complete clean checkout, I see that I can run cpack out of source too.. correct? Seems to work ok and give me a clean tarball. thanks! Craig On Friday 05 May 2006 17:01, Andy Cedilnik wrote: > Hi Craig, > > cpack -G TBZ2 --config CPackSource.cmake > > Why is cpack running uic/moc? It should not. > > Andy > > Craig Bradney wrote: > > HI Andy, > > > > My CMake is current CVS. > > > > I was running "make package_source" > > > > When I run cpack like you are, how do I specify I only want a source > > package not a built package? Also, a more major issue with a built > > package is that it runs uic/moc from /usr/bin which is Qt4 and not the > > uic/moc binaries found via CMake's FindQt3.cmake which are in > > /usr/qt/3/bin. Maybe I need to set something extra on the cmd line.. > > > > Craig > > > > On Friday 05 May 2006 16:03, Andy Cedilnik wrote: > >> Hi Craig, > >> > >> Not sure what went wrong. Did you update CMake? > >> > >> Here is my run: > >> > >> [EMAIL PROTECTED] $ rm -rf _CPack_Packages cmake-2.5.0-Linux.sh > >> [EMAIL PROTECTED] $ ./bin/cpack -G TBZ2 > >> CPack: Install projects > >> CPack: - Run preinstall target for: CMake > >> CPack: - Install project: CMake > >> CPack: - Strip files > >> CPack: Compress package > >> CPack: Finalize package > >> CPack: Package /disk/home/andy/vtk/CMake-bin/cmake-2.5.0-Linux.tar.bz2 > >> generated. > >> [EMAIL PROTECTED] $ ls -l cmake-2.5.0-Linux.tar.bz2 > >> -rw-r--r-- 1 andy andy 3299394 May 5 09:55 cmake-2.5.0-Linux.tar.bz2 > >> [EMAIL PROTECTED] $ file cmake-2.5.0-Linux.tar.bz2 > >> cmake-2.5.0-Linux.tar.bz2: bzip2 compressed data, block size = 900k > >> > >> Andy > >> > >> Craig Bradney wrote: > >>> On Thursday 04 May 2006 11:11, Andy Cedilnik wrote: > >>>> Hi Craig, > >>>> > >>>> In your CMakeLists.txt set CPACK_SOURCE_GENERATOR to TBZ2.. > >>>> > >>>> Andy > >>> > >>> I still ended up with a tar.gz, this time though it was 770mb. The > >>> whole tree was 2.7Gb > >>> > >>> ./_CPack_Packages/Linux-Source/TGZ/scribus/_CPack_Packages/Linux-Source > >>>/T > >>> GZ/scribus/_CPack_Packages/Linux-Source/TGZ/scribus/_CPack_Packages/Lin > >>>ux- Source/TGZ/scribus/scribus > >>> > >>> When I removed the _CPack_Packages dir, 57mb. > >>> > >>> Craig _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
