<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.6000.17092" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=796151517-24052011><FONT face=Arial color=#0000ff
size=2>Problem solved.</FONT></SPAN></DIV>
<DIV><SPAN class=796151517-24052011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796151517-24052011><FONT face=Arial color=#0000ff size=2>I've
just realised that I was using the system install of CPack 2.4.7 for
packaging, but was building ParaView with a user-specific build
of CMake 2.8.3. This would explain those errors as I'd assume the syntax
wasn't supported in older versions of CPack. They have all disappeared
now.</FONT></SPAN></DIV>
<DIV><SPAN class=796151517-24052011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796151517-24052011><FONT face=Arial color=#0000ff size=2>I have
some new error messages but I think they are LD_LIBRARY_PATH
related.</FONT></SPAN></DIV>
<DIV><SPAN class=796151517-24052011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796151517-24052011><FONT face=Arial color=#0000ff size=2>Thanks
for the help!</FONT></SPAN></DIV>
<DIV><SPAN class=796151517-24052011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796151517-24052011><FONT face=Arial color=#0000ff
size=2>Adriano</FONT></SPAN></DIV>
<DIV><SPAN class=796151517-24052011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV><!-- Converted from text/plain format -->
<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: agagliardi@ara.co.uk<BR>Url: www.ara.co.uk </FONT></P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> paraview-bounces@paraview.org
[mailto:paraview-bounces@paraview.org] <B>On Behalf Of </B>Adriano
Gagliardi<BR><B>Sent:</B> 24 May 2011 18:13<BR><B>To:</B> 'David
Partyka'<BR><B>Cc:</B> paraview@paraview.org<BR><B>Subject:</B> Re: [Paraview]
Cpack failing after ParaView build<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=656131017-24052011><FONT face=Arial color=#0000ff size=2>In the
project build directory, I just run the following command:</FONT></SPAN></DIV>
<DIV><SPAN class=656131017-24052011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=656131017-24052011><FONT face=Arial color=#0000ff
size=2>>> cpack</FONT></SPAN></DIV>
<DIV><SPAN class=656131017-24052011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=656131017-24052011><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 class=656131017-24052011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=656131017-24052011><FONT face=Arial color=#0000ff
size=2>>> cpack -C CPackConfig.cmake</FONT></SPAN></DIV>
<DIV> </DIV><!-- Converted from text/plain format -->
<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: agagliardi@ara.co.uk<BR>Url: www.ara.co.uk </FONT></P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> David Partyka
[mailto:david.partyka@kitware.com] <BR><B>Sent:</B> 24 May 2011
17:58<BR><B>To:</B> agagliardi@ara.co.uk<BR><B>Cc:</B>
paraview@paraview.org<BR><B>Subject:</B> Re: [Paraview] Cpack failing after
ParaView build<BR></FONT><BR></DIV>
<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">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">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><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>
</BODY></HTML>