The only other thing I can think of is that I don&#39;t run any of those commands as sudo to create the binary. If you mix/match priviledge/non-priviliedged execution, something will likely have a permission problem and fail. To generate the binary this is my bash history verbatim.<div>

<br></div><div><div>  540  mkdir build-mike</div><div>  541  cd source/</div><div>  542  git pull</div><div>  543  git submodule update</div><div>  544  cd ..</div><div>  545  cd build-mike/</div><div>  546* cmake -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX=/Users/Shared/Toolkits/ParaView-3.10.1 -DCMAKE_OSX_ARCHITECTURES:STRING=&quot;x86_64&quot; -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=&quot;10.5&quot; -DCMAKE_OSX_SYSROOT:PATH=&quot;/Developer/SDKs/MacOSX10.5.sdk&quot; ../source/</div>

<div>&lt;launched cmake-gui to set qmake location&gt;</div><div>  547  make -j18</div><div>  548  cpack -G DragNDrop --config Applications/ParaView/CPackParaViewConfig.cmake </div><div><br></div><br><div class="gmail_quote">

On Tue, May 24, 2011 at 8:31 AM, Michael Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hmm. I am not seeing anything in there that is different from my setup<br>
besides the Qt version. I have tried both 4.6.3 and 4.7.2 of Qt and<br>
CMake versions 2.8.3 and 2.8.4. All with the same issue. Maybe asking<br>
on the Qt interest list if anyone has ever seen this type of behavior<br>
before?<br>
_________________________________________________________<br>
Mike Jackson                  <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a><br>
<div><div></div><div><br>
<br>
On Tue, May 24, 2011 at 8:14 AM, David Partyka<br>
&lt;<a href="mailto:david.partyka@kitware.com" target="_blank">david.partyka@kitware.com</a>&gt; wrote:<br>
&gt; Qt 4.6.3 built by hand with cocoa, the binary is x64 only targeting 10.5. I<br>
&gt; am building from the tip of the &#39;release&#39; branch.<br>
&gt; Qt Configure command:<br>
&gt; export QMAKE_MACOSX_DEPLOYMENT_TARGET=10.5<br>
&gt; ./configure<br>
&gt; --prefix=/Users/partyd/Dashboards/Support/qt-4.6.3-MacOSX10.5/bin -nomake<br>
&gt; demos -nomake examples -arch x86_64 -opensource -release -cocoa -shared<br>
&gt;<br>
&gt; I also pass these in as -D arguments on initial configure with cmake.<br>
&gt; set(CMAKE_OSX_ARCHITECTURES &quot;x86_64&quot; CACHE STRING &quot;force build for 64-bit<br>
&gt; Leopard&quot; FORCE)<br>
&gt; set(CMAKE_OSX_DEPLOYMENT_TARGET &quot;10.5&quot; CACHE STRING &quot;force build for 64-bit<br>
&gt; Leopard&quot; FORCE)<br>
&gt; set(CMAKE_OSX_SYSROOT &quot;/Developer/SDKs/MacOSX10.5.sdk&quot; CACHE PATH &quot;force<br>
&gt; build for 64-bit Leopard&quot; FORCE)<br>
&gt; On Mon, May 23, 2011 at 10:30 PM, Michael Jackson<br>
&gt; &lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Dave,<br>
&gt;&gt;  What is the configuration you are using? Qt Version? As Carbon or Cocoa?<br>
&gt;&gt; Universal Binaries or x64 only? Self build or download from Nokia?<br>
&gt;&gt;<br>
&gt;&gt;  What tag from paraview git repository are you using? I may be able to get<br>
&gt;&gt; my environment going like yours.<br>
&gt;&gt;<br>
&gt;&gt;  I also tried the latest ParaView master from head and my plugins need to<br>
&gt;&gt; be updated for that to work so using that is out of the question at this<br>
&gt;&gt; point.<br>
&gt;&gt;<br>
&gt;&gt;  This is what I have tried and have not worked:<br>
&gt;&gt;    Qt 4.6.2 Self built with NO custom plugins<br>
&gt;&gt;    Qt 4.7.2 Self built with NO custom plugins<br>
&gt;&gt;    &quot;make install&quot; of both of the above.<br>
&gt;&gt;    using sudo for everything to avoid possible permissions issues.<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ll download the prebuilt Qt libraries from Nokia and try those. I guess<br>
&gt;&gt; I could also try CMake 2.8.4<br>
&gt;&gt; ___________________________________________________________<br>
&gt;&gt; Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt;&gt; Principal Software Engineer       <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a><br>
&gt;&gt; BlueQuartz Software               Dayton, Ohio<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On May 23, 2011, at 6:33 PM, David Partyka wrote:<br>
&gt;&gt;<br>
&gt;&gt; &gt; Can you provide the initial cmake configuration details of your vanila<br>
&gt;&gt; &gt; paraview build?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Mon, May 23, 2011 at 6:02 PM, Michael Jackson<br>
&gt;&gt; &gt; &lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt;&gt; &gt; I tried this also:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 562:[mjackson@ferb2:4.6.2]$ sudo rm -rf _CPack_Packages/; sudo cpack -G<br>
&gt;&gt; &gt; ZIP --config Applications/ParaView/CPackParaViewConfig.cmake<br>
&gt;&gt; &gt; CPack: Create package using ZIP<br>
&gt;&gt; &gt; CPack: Install projects<br>
&gt;&gt; &gt; CPack: - Run preinstall target for: ParaView Runtime Libs<br>
&gt;&gt; &gt; CPack: - Install project: ParaView Runtime Libs<br>
&gt;&gt; &gt; CPack: - Run preinstall target for: HDF5 Core Library<br>
&gt;&gt; &gt; CPack: - Install project: HDF5 Core Library<br>
&gt;&gt; &gt; CPack: - Run preinstall target for: VTK Runtime Libs<br>
&gt;&gt; &gt; CPack: - Install project: VTK Runtime Libs<br>
&gt;&gt; &gt; CPack: - Run preinstall target for: ParaView Components<br>
&gt;&gt; &gt; CPack: - Install project: ParaView Components<br>
&gt;&gt; &gt; CPack: Create package<br>
&gt;&gt; &gt; CPack Error: Problem while adding file&lt;<br>
&gt;&gt; &gt; /Users/Shared/OpenSource/ParaView-<a href="tel:3.10.1%2F4.6.2" value="+13101462" target="_blank">3.10.1/4.6.2</a>/_CPack_Packages/Darwin-i386/ZIP/ParaView-3.10.1-Darwin-i386/lib/paraview-3.10/libCosmo.dylib&gt;<br>


&gt;&gt; &gt; to archive<br>
&gt;&gt; &gt; &lt;/Users/Shared/OpenSource/ParaView-<a href="tel:3.10.1%2F4.6.2" value="+13101462" target="_blank">3.10.1/4.6.2</a>/_CPack_Packages/Darwin-i386/ZIP/ParaView-3.10.1-Darwin-i386.zip&gt;<br>
&gt;&gt; &gt; .ERROR =archive_write_header: Filetype not supported<br>
&gt;&gt; &gt; CPack Error: Problem compressing the directory<br>
&gt;&gt; &gt; CPack Error: Error when generating package: ParaView<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; And that was built against Qt 4.6.2.<br>
&gt;&gt; &gt; ___________________________________________________________<br>
&gt;&gt; &gt; Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt;&gt; &gt; Principal Software Engineer       <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a><br>
&gt;&gt; &gt; BlueQuartz Software               Dayton, Ohio<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On May 23, 2011, at 5:56 PM, David Partyka wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; &gt; I am really unsure, I haven&#39;t ever seen these kinds of errors before<br>
&gt;&gt; &gt; &gt; and I am unable to reproduce this. sla.r on my system appears to just<br>
&gt;&gt; &gt; &gt; contain license information. Have you tried manually removeing the<br>
&gt;&gt; &gt; &gt; _CPack_Packages directory in your build tree to see if for some reason cpack<br>
&gt;&gt; &gt; &gt; isn&#39;t able to blow it away entirely?<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; On Mon, May 23, 2011 at 5:24 PM, Michael Jackson<br>
&gt;&gt; &gt; &gt; &lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt;&gt; &gt; &gt; When running CPack on a &quot;clean&quot; paraview build directory where NONE of<br>
&gt;&gt; &gt; &gt; my plugins are being build I get the following after trying to run CPack:<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; cpack -G DragNDrop --config<br>
&gt;&gt; &gt; &gt; Applications/ParaView/CPackParaViewConfig.cmake<br>
&gt;&gt; &gt; &gt; .....<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; /Users/Shared/OpenSource/ParaView-3.10.1/Build/_CPack_Packages/Darwin-i386/DragNDrop/sla.r:522:<br>
&gt;&gt; &gt; &gt; ### /usr/bin/Rez - String spans lines.<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; /Users/Shared/OpenSource/ParaView-3.10.1/Build/_CPack_Packages/Darwin-i386/DragNDrop/sla.r:<br>
&gt;&gt; &gt; &gt; ### /usr/bin/Rez - Since errors occurred,<br>
&gt;&gt; &gt; &gt; /Users/Shared/OpenSource/ParaView-3.10.1/Build/_CPack_Packages/Darwin-i386/DragNDrop/temp-udco.dmg&#39;s<br>
&gt;&gt; &gt; &gt; resource fork was not completely updated.<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; /Users/Shared/OpenSource/ParaView-3.10.1/Build/_CPack_Packages/Darwin-i386/DragNDrop/sla.r:<br>
&gt;&gt; &gt; &gt; ### /usr/bin/Rez - SysError -37 during set file info.<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; CPack Error: Problem compressing the directory<br>
&gt;&gt; &gt; &gt; CPack Error: Error when generating package: ParaView<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; ___________________________________________________________<br>
&gt;&gt; &gt; &gt; Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt;&gt; &gt; &gt; Principal Software Engineer       <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a><br>
&gt;&gt; &gt; &gt; BlueQuartz Software               Dayton, Ohio<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; On May 23, 2011, at 4:32 PM, David Partyka wrote:<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt; I&#39;ve never seen anything like that, as that is the same process I<br>
&gt;&gt; &gt; &gt; &gt; used to make the 3.10.1 binaries. Though I did use cmake 2.8.4. Are you<br>
&gt;&gt; &gt; &gt; &gt; using a really new Qt or something along those lines?<br>
&gt;&gt; &gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt; On Mon, May 23, 2011 at 4:19 PM, Michael Jackson<br>
&gt;&gt; &gt; &gt; &gt; &lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt;&gt; &gt; &gt; &gt; I followed the directions on the wiki page to compile my own<br>
&gt;&gt; &gt; &gt; &gt; ParaView 3.10.1 because I have some custom plugins that I compile. The .dmg<br>
&gt;&gt; &gt; &gt; &gt; image was created just fine but the contained &quot;ParaView.app&quot; when launched<br>
&gt;&gt; &gt; &gt; &gt; only has a menu bar that has &quot;New Application&quot; menu. Nothing else. Yet when<br>
&gt;&gt; &gt; &gt; &gt; I run it from the Build folder everything works just fine. Is there<br>
&gt;&gt; &gt; &gt; &gt; something in the cmake configuration of ParaView that I need to set that<br>
&gt;&gt; &gt; &gt; &gt; tells CMake that I am going to making a redistributable package? The same<br>
&gt;&gt; &gt; &gt; &gt; thing happens if I try a &quot;make install&quot; from the command line. This is on OS<br>
&gt;&gt; &gt; &gt; &gt; X 10.6.8 with CMake 2.8.3 and the ParaView 3.10.1 sources from the web site.<br>
&gt;&gt; &gt; &gt; &gt; ___________________________________________________________<br>
&gt;&gt; &gt; &gt; &gt; Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt;&gt; &gt; &gt; &gt; Principal Software Engineer       <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a><br>
&gt;&gt; &gt; &gt; &gt; BlueQuartz Software               Dayton, Ohio<br>
&gt;&gt; &gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; &gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt; &gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt; &gt; &gt; &gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt; &gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt; &gt; &gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt; &gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br></div>