[Paraview] Cpack failing after ParaView build

Adriano Gagliardi agagliardi at ara.co.uk
Tue May 24 12:23:17 EDT 2011


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

**********************************************************************


More information about the ParaView mailing list