[Paraview] Cpack failing after ParaView build

Adriano Gagliardi agagliardi at ara.co.uk
Tue May 24 13:13:19 EDT 2011


In the project build directory, I just run the following command:
 
>> cpack
 
and it runs. This has worked in the past (but that means
ParaView-3.6.2-RC2). I'm trying again with:
 
>> cpack -C CPackConfig.cmake
 

===================================

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agagliardi at ara.co.uk
Url: www.ara.co.uk 

 

  _____  

From: David Partyka [mailto:david.partyka at kitware.com] 
Sent: 24 May 2011 17:58
To: agagliardi at ara.co.uk
Cc: paraview at paraview.org
Subject: Re: [Paraview] Cpack failing after ParaView build


How are you running cpack? What exactly is the command line you're giving
it.


On Tue, May 24, 2011 at 12:23 PM, Adriano Gagliardi <agagliardi at ara.co.uk>
wrote:



Dear All,

I've built ParaView 3.10.1 on a 64-bit CentOS system without any problems or
errors first time. I'd now like to package this into a tarball using Cpack,
but it is failing on line 44 in cmake_install.cmake with the same error
message but repeated for each folder:

CMake Error: The end of a CMakeLists file was reached with a FOREACH
statement that was not closed properly. Within the directory:
CMake Error: Error in cmake code at
/usr/people/gagliard/Paraview/ParaView-3.10.1-Release/VTK/Utilities/vtkhdf5/
src/cmake_install.cmake:44:
IF had incorrect arguments: EXISTS "${file}" AND NOT IS_SYMLINK "${file}"
(Unknown arguments specified).
Current CMake stack:
[5]
/usr/people/gagliard/Paraview/ParaView-3.10.1-Release/VTK/Utilities/vtkhdf5/
src/cmake_install.cmake
[4]
/usr/people/gagliard/Paraview/ParaView-3.10.1-Release/VTK/Utilities/vtkhdf5/
cmake_install.cmake
[3]
/usr/people/gagliard/Paraview/ParaView-3.10.1-Release/VTK/Utilities/cmake_in
stall.cmake
[2]
/usr/people/gagliard/Paraview/ParaView-3.10.1-Release/VTK/cmake_install.cmak
e
[1]
/usr/people/gagliard/Paraview/ParaView-3.10.1-Release/cmake_install.cmake

Then, at the very end there is this:
CMake Error: The end of a CMakeLists file was reached with a FOREACH
statement that was not closed properly. Within the directory:
CMake Error: The end of a CMakeLists file was reached with a FOREACH
statement that was not closed properly. Within the directory:
The end of a CMakeLists file was reached with an IF statement that was not
closed properly.
Within the directory:
The arguments are: EXISTS
"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/paraview-3.10/ParaViewTargets.cmak
e"
CPack Error: Error when generating package: IceT


I've tried this after compiling with VTK_USE_RELATIVE_PATHS ON and OFF to
see if it helped. I've also switched the CMAKE_SKIP_RPATH flag, but no luck.

Has anyone else had any issues using cpack with the latest release?

Thanks,

Adriano

===================================

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agagliardi at ara.co.uk
Url: www.ara.co.uk


**********************************************************************
This email contains information that is private and confidential and is
intended only for the addressee.
If you are not the intended recipient please delete it and notify us
immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone
other than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No
503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**********************************************************************
_______________________________________________
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 ParaView Wiki at:
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview




**********************************************************************
This email contains information that is private and confidential and is intended only for the addressee.
If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110524/e409a0b8/attachment.htm>


More information about the ParaView mailing list