[Paraview] can't cmake pv5

Gena Bug archaerolog at mail.ru
Fri Feb 19 05:13:20 EST 2016


Hi!

I was trying to build pv5 with mpi and osmesa and couldn't pass cmake 
step. I use this command:

~/bin/cmake/bin/cmake -G "Unix Makefiles" \
-DBUILD_TESTING=OFF \
-DPARAVIEW_USE_MPI=ON \
-DPYTHON_LIBRARY="/home/gennadiy/bin/python/lib/libpython2.7.a" \
-DPYTHON_INCLUDE_DIR="/home/gennadiy/bin/python/include/python2.7" \
-DPYTHON_EXECUTABLE="/home/gennadiy/bin/python/bin/python" \
-DPARAVIEW_ENABLE_PYTHON=ON \
-DPARAVIEW_BUILD_QT_GUI=OFF \
-DVTK_USE_X=OFF \
-DOPENGL_INCLUDE_DIR="/home/gennadiy/bin/mesa/include" \
-DOPENGL_gl_LIBRARY="/home/gennadiy/bin/mesa/lib/libOSMesa.so" \
-DOPENGL_glu_LIBRARY="" \
-DVTK_OPENGL_HAS_OSMESA=ON \
-DOSMESA_INCLUDE_DIR="/home/gennadiy/bin/mesa/include" \
-DOSMESA_LIBRARY="/home/gennadiy/bin/mesa/lib/libOSMesa.so" \
-DCMAKE_INSTALL_PREFIX="/home/gennadiy/bin/paraview" \
-DCMAKE_CXX_COMPILER="mpiicpc" \
-DCMAKE_C_COMPILER="mpiicc" \
-DCMAKE_Fortran_COMPILER="mpiifort" \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_CXX_FLAGS_RELEASE=" -O2 -DNDEBUG " \
-DCMAKE_C_FLAGS_RELEASE=" -O2 -DNDEBUG " \
<path>

(cmake 3.4.1, 3.4.3 and 3.5rc3 downloaded from the site, custom python 
2.7.11 and mesa 11.1.2 were used.)

and at the end of its output I see this:
{{{
...
-- Configuring incomplete, errors occurred!
See also "/home/gennadiy/bin/pv.build/CMakeFiles/CMakeOutput.log".
See also "/home/gennadiy/bin/pv.build/CMakeFiles/CMakeError.log".
}}}

Both log-files contain a lot of information however I can't figure out 
the real problem -- both contain the output from failed tests and 
nothing about why configuration failed.

Stdout also looks normal except messages about sizeof types:
{{{
...
-- HDF5: Performing Other Test HAVE_STAT64_STRUCT - Success
-- Looking for fstat64
-- Looking for fstat64 - found
-- Looking for stat64
-- Looking for stat64 - found
-- Check size of char
CMake Error at 
/home/gennadiy/bin/cmake/share/cmake-3.4/Modules/CheckTypeSize.cmake:124 
(try_compile):
   Cannot copy output executable

     ''

   to destination specified by COPY_FILE:

 
'/home/gennadiy/bin/pv.build/CMakeFiles/CheckTypeSize/H5_SIZEOF_CHAR.bin'

   Unable to find the executable at any of:

     /home/gennadiy/bin/pv.build/CMakeFiles/CMakeTmp/cmTC_bf5e7
     /home/gennadiy/bin/pv.build/CMakeFiles/CMakeTmp/Debug/cmTC_bf5e7
     /home/gennadiy/bin/pv.build/CMakeFiles/CMakeTmp/Development/cmTC_bf5e7

Call Stack (most recent call first):
 
/home/gennadiy/bin/cmake/share/cmake-3.4/Modules/CheckTypeSize.cmake:249 
(__check_type_size_impl)
   VTK/ThirdParty/hdf5/vtkhdf5/config/cmake/ConfigureChecks.cmake:512 
(CHECK_TYPE_SIZE)
   VTK/ThirdParty/hdf5/vtkhdf5/config/cmake/ConfigureChecks.cmake:519 
(H5_CHECK_TYPE_SIZE)
   VTK/ThirdParty/hdf5/vtkhdf5/CMakeLists.txt:276 (include)
...
}}}

Can anyone point me to a real problem?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeError.log.gz
Type: application/gzip
Size: 4887 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160219/738f12b3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeOutput.log.gz
Type: application/gzip
Size: 24484 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160219/738f12b3/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeStdout.log.gz
Type: application/gzip
Size: 10813 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160219/738f12b3/attachment-0002.bin>


More information about the ParaView mailing list