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 charCMake 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?
CMakeError.log.gz
Description: application/gzip
CMakeOutput.log.gz
Description: application/gzip
CMakeStdout.log.gz
Description: application/gzip
_______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview