What you're seeing is a bug I need to address as it is attempting to package ice-t from the root of the ParaView build. With the branding changes to ParaView the cpack configuration files for the core ParaView application are in Applications/ParaView.<div>
<br></div><div>Take a look at this wiki page.</div><div><br></div><div><a href="http://paraview.org/Wiki/ParaView:Build_And_Install#Generate_Package">http://paraview.org/Wiki/ParaView:Build_And_Install#Generate_Package</a></div>
<div><br><div class="gmail_quote">On Tue, May 24, 2011 at 1:13 PM, Adriano Gagliardi <span dir="ltr"><<a href="mailto:agagliardi@ara.co.uk">agagliardi@ara.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div><span><font face="Arial" color="#0000ff" size="2">In the
project build directory, I just run the following command:</font></span></div>
<div><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div><span><font face="Arial" color="#0000ff" size="2">>> cpack</font></span></div>
<div><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div><span><font face="Arial" color="#0000ff" size="2">and it
runs. This has worked in the past (but that means ParaView-3.6.2-RC2). I'm
trying again with:</font></span></div>
<div><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div><span><font face="Arial" color="#0000ff" size="2">>> cpack -C CPackConfig.cmake</font></span></div><div class="im">
<div> </div>
<p><font size="2">===================================<br><br>Adriano Gagliardi
MEng PhD<br>Business Sector Leader<br>Computational Aerodynamics<br>Aircraft
Research Association Ltd.<br>Manton Lane<br>Bedford<br><br>Tel: 01234 32
4644<br>E-mail: <a href="mailto:agagliardi@ara.co.uk" target="_blank">agagliardi@ara.co.uk</a><br>Url: <a href="http://www.ara.co.uk" target="_blank">www.ara.co.uk</a> </font></p>
<div> </div><br>
</div><div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> David Partyka
[mailto:<a href="mailto:david.partyka@kitware.com" target="_blank">david.partyka@kitware.com</a>] <br><b>Sent:</b> 24 May 2011
17:58<br><b>To:</b> <a href="mailto:agagliardi@ara.co.uk" target="_blank">agagliardi@ara.co.uk</a><br><b>Cc:</b>
<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br><b>Subject:</b> Re: [Paraview] Cpack failing after
ParaView build<br></font><br></div><div><div></div><div class="h5">
<div></div>How are you running cpack? What exactly is the command line you're
giving it.<br><br>
<div class="gmail_quote">On Tue, May 24, 2011 at 12:23 PM, Adriano Gagliardi <span dir="ltr"><<a href="mailto:agagliardi@ara.co.uk" target="_blank">agagliardi@ara.co.uk</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid"><br>Dear
All,<br><br>I've built ParaView 3.10.1 on a 64-bit CentOS system without any
problems or<br>errors first time. I'd now like to package this into a tarball
using Cpack,<br>but it is failing on line 44 in cmake_install.cmake with the
same error<br>message but repeated for each folder:<br><br>CMake Error: The
end of a CMakeLists file was reached with a FOREACH<br>statement that was not
closed properly. Within the directory:<br>CMake Error: Error in cmake code
at<br>/usr/people/gagliard/Paraview/ParaView-3.10.1-Release/VTK/Utilities/vtkhdf5/<br>src/cmake_install.cmake:44:<br>IF
had incorrect arguments: EXISTS "${file}" AND NOT IS_SYMLINK
"${file}"<br>(Unknown arguments specified).<br>Current CMake
stack:<br>[5]<br>/usr/people/gagliard/Paraview/ParaView-3.10.1-Release/VTK/Utilities/vtkhdf5/<br>src/cmake_install.cmake<br>[4]<br>/usr/people/gagliard/Paraview/ParaView-3.10.1-Release/VTK/Utilities/vtkhdf5/<br>cmake_install.cmake<br>
[3]<br>/usr/people/gagliard/Paraview/ParaView-3.10.1-Release/VTK/Utilities/cmake_in<br>stall.cmake<br>[2]<br>/usr/people/gagliard/Paraview/ParaView-3.10.1-Release/VTK/cmake_install.cmak<br>e<br>[1]<br>/usr/people/gagliard/Paraview/ParaView-3.10.1-Release/cmake_install.cmake<br>
<br>Then,
at the very end there is this:<br>CMake Error: The end of a CMakeLists file
was reached with a FOREACH<br>statement that was not closed properly. Within
the directory:<br>CMake Error: The end of a CMakeLists file was reached with a
FOREACH<br>statement that was not closed properly. Within the
directory:<br>The end of a CMakeLists file was reached with an IF statement
that was not<br>closed properly.<br>Within the directory:<br>The arguments
are:
EXISTS<br>"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/paraview-3.10/ParaViewTargets.cmak<br>e"<br>CPack
Error: Error when generating package: IceT<br><br><br>I've tried this after
compiling with VTK_USE_RELATIVE_PATHS ON and OFF to<br>see if it helped. I've
also switched the CMAKE_SKIP_RPATH flag, but no luck.<br><br>Has anyone else
had any issues using cpack with the latest
release?<br><br>Thanks,<br><br>Adriano<br><br>===================================<br><br>Adriano
Gagliardi MEng PhD<br>Business Sector Leader<br>Computational
Aerodynamics<br>Aircraft Research Association Ltd.<br>Manton
Lane<br>Bedford<br><br>Tel: 01234 32 4644<br>E-mail: <a href="mailto:agagliardi@ara.co.uk" target="_blank">agagliardi@ara.co.uk</a><br>Url: <a href="http://www.ara.co.uk" target="_blank">www.ara.co.uk</a><br><br><br>**********************************************************************<br>
This
email contains information that is private and confidential and is intended
only for the addressee.<br>If you are not the intended recipient please delete
it and notify us immediately by e-mailing the sender.<br>Note: All email sent
to or from this address may be accessed by someone other than the recipient,
for<br>system management and security reasons.<br>Aircraft Research
Association Ltd. Registered in England, Registration No 503668
Registered Office:<br>Manton Lane, Bedford MK41 7PF England VAT No GB
196351245<br><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 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></blockquote></div><br><p>**********************************************************************<br>
This email contains information that is private and confidential and is intended only for the addressee.<br>If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.<br>Note: All email sent to or from this address may be accessed by someone other than the recipient, for<br>
system management and security reasons.<br>Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office:<br>Manton Lane, Bedford MK41 7PF England VAT No GB 196351245</p><p>**********************************************************************</p>
</div></div></div>
</blockquote></div><br></div>