<div dir="ltr"><div><div><div>Hi Chris,<br><br></div>Are you trying to build from a Catalyst edition or directly from the full ParaView source? I want to make sure that we're going in the proper direction when trying to fix this problem.<br><br></div>Thanks,<br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 5, 2016 at 1:15 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ben,<br>
<br>
Can you take a look please?  Thanks.<br>
<br>
On Fri, Aug 5, 2016 at 1:03 PM, Christopher Neal<br>
<<a href="mailto:chrisneal@snumerics.com">chrisneal@snumerics.com</a>> wrote:<br>
> I tried it again with cmake 3.5.1 and I see the same error.<br>
><br>
> -- Up-to-date: /home/neal/software/ParaView5.<wbr>2/build/lib/cmake/paraview-5.<wbr>1/Modules/<wbr>vtkUtilitiesHashSource.cmake<br>
> CMake Error at VTK/Utilities/HashSource/<wbr>cmake_install.cmake:46 (file):<br>
>   file INSTALL cannot find<br>
>   "/home/neal/software/<wbr>ParaView5.2/build/bin/<wbr>vtkHashSource-pv5.1".<br>
> Call Stack (most recent call first):<br>
>   VTK/cmake_install.cmake:148 (include)<br>
>   cmake_install.cmake:117 (include)<br>
><br>
> I did find a way around the issue by creating a ‘tempbin’ directory and copying the binaries into that directory and then making a symbolic link from the ‘bin’ to the binaries in the ‘tempbin’.<br>
><br>
> The code that the make install is failing on(VTK/Utilities/HashSource/<wbr>cmake_install.cmake:46 ) has the following part that is leading to the error:<br>
><br>
> if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "RuntimeLibraries")<br>
>   if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_<wbr>PREFIX}/bin/vtkHashSource-pv5.<wbr>1" AND<br>
>      NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_<wbr>PREFIX}/bin/vtkHashSource-pv5.<wbr>1")<br>
>     file(RPATH_CHECK<br>
>          FILE "$ENV{DESTDIR}${CMAKE_INSTALL_<wbr>PREFIX}/bin/vtkHashSource-pv5.<wbr>1"<br>
>          RPATH "")<br>
>   endif()<br>
>   file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/neal/software/<wbr>ParaView5.2/build/bin/<wbr>vtkHashSource-pv5.1")<br>
>   if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_<wbr>PREFIX}/bin/vtkHashSource-pv5.<wbr>1" AND<br>
>      NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_<wbr>PREFIX}/bin/vtkHashSource-pv5.<wbr>1")<br>
>     file(RPATH_CHANGE<br>
>          FILE "$ENV{DESTDIR}${CMAKE_INSTALL_<wbr>PREFIX}/bin/vtkHashSource-pv5.<wbr>1"<br>
>          OLD_RPATH "/home/neal/software/<wbr>ParaView5.2/build/lib:"<br>
>          NEW_RPATH "")<br>
>     if(CMAKE_INSTALL_DO_STRIP)<br>
>       execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_<wbr>PREFIX}/bin/vtkHashSource-pv5.<wbr>1")<br>
>     endif()<br>
>   endif()<br>
> endif()<br>
><br>
><br>
> There’s a if statement that checks to see if the executable is symbolic, and if it is it skips the following operation, which I believe is the source of my issue:<br>
><br>
> file(RPATH_CHANGE<br>
>          FILE "$ENV{DESTDIR}${CMAKE_INSTALL_<wbr>PREFIX}/bin/vtkHashSource-pv5.<wbr>1"<br>
>          OLD_RPATH "/home/neal/software/<wbr>ParaView5.2/build/lib:"<br>
>          NEW_RPATH "")<br>
><br>
> -Chris<br>
><br>
><br>
> On 8/5/16, 11:40 AM, "ParaView on behalf of Christopher Neal" <<a href="mailto:paraview-bounces@paraview.org">paraview-bounces@paraview.org</a> on behalf of <a href="mailto:chrisneal@snumerics.com">chrisneal@snumerics.com</a>> wrote:<br>
><br>
>     Thank you Utkarsh,<br>
><br>
>     I will try cmake 3.5.1 to see if that has any effect on the issue that I’m having.<br>
><br>
>     Output from: cmake –version<br>
>     cmake version 3.6.20160722-g8842a<br>
><br>
><br>
>     Output from: lsb_relase –a<br>
>     LSB Version:        n/a<br>
>     Distributor ID:     openSUSE project<br>
>     Description:        openSUSE 13.2 (Harlequin) (x86_64)<br>
>     Release:    13.2<br>
>     Codename:   Harlequin<br>
><br>
>     Thank you,<br>
>     -Chris<br>
><br>
><br>
>     On 8/4/16, 11:52 AM, "Utkarsh Ayachit" <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>
><br>
>         Sorry, no luck producing on Ubuntu 16.04 with CMake 3.5.1.<br>
><br>
>         On Thu, Aug 4, 2016 at 11:32 AM, Utkarsh Ayachit<br>
>         <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>         > That's odd. Trying to see if I can reproduce this with your command<br>
>         > line. I'll report back once the build is done.<br>
>         ><br>
>         > On Wed, Aug 3, 2016 at 4:22 PM, Christopher Neal<br>
>         > <<a href="mailto:chrisneal@snumerics.com">chrisneal@snumerics.com</a>> wrote:<br>
>         >> Hi All,<br>
>         >><br>
>         >><br>
>         >><br>
>         >> I’m seeing something strange when I try to compile ParaView 5.1 from the<br>
>         >> source. I execute the following commands to compile ParaView:<br>
>         >><br>
>         >><br>
>         >><br>
>         >> git clone <a href="https://github.com/Kitware/ParaView.git" rel="noreferrer" target="_blank">https://github.com/Kitware/<wbr>ParaView.git</a><br>
>         >><br>
>         >> *Go into cloned ParaView directory*<br>
>         >><br>
>         >> git submodule init<br>
>         >><br>
>         >> git submodule update<br>
>         >><br>
>         >> mkdir ParaView_build  *not inside the ParaView source directory, somewhere<br>
>         >> else*<br>
>         >><br>
>         >> cd ParaView_build<br>
>         >><br>
>         >><br>
>         >><br>
>         >> cmake -DCMAKE_BUILD_TYPE:STRING=<wbr>Release -DCMAKE_SKIP_INSTALL_RPATH:<wbr>BOOL=YES<br>
>         >> -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=<wbr>OFF<br>
>         >> -DVTK_RENDERING_BACKEND=<wbr>OpenGL2 -DPARAVIEW_USE_MPI:BOOL=ON<br>
>         >> -DPARAVIEW_ENABLE_PYTHON:BOOL=<wbr>ON<br>
>         >> -DPARAVIEW_INSTALL_<wbr>DEVELOPMENT_FILES:BOOL=ON<br>
>         >> -DPARAVIEW_BUILD_CATALYST_<wbr>ADAPTERS:BOOL=ON<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>AnalyzeNIfTIIO:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>ArrowGlyph:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>CDIReader:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>EyeDomeLighting:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>GMVReader:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>GeodesicMeasurement:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>H5PartReader:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>InSituExodus:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>MantaView:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>Moments:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>NonOrthogonalSource:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>PacMan:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>PointSprite:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>RGBZView:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>SLACTools:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>SciberQuestToolKit:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>SierraPlotTools:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>StreamingParticles:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>SurfaceLIC:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>ThickenLayeredCells:BOOL=FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>UncertaintyRendering:BOOL=<wbr>FALSE<br>
>         >> -DPARAVIEW_BUILD_PLUGIN_<wbr>AcceleratedAlgorithms:BOOL=OFF<br>
>         >> -DVTK_USE_CXX11_FEATURES:BOOL=<wbr>ON<br>
>         >> -DCMAKE_INSTALL_PREFIX=/home/<wbr>neal/software/ParaView_build<br>
>         >> /home/neal/software/ParaView<br>
>         >><br>
>         >><br>
>         >><br>
>         >> (note the last 2 items are paths to the build directory and the source,<br>
>         >> respectively)<br>
>         >><br>
>         >><br>
>         >><br>
>         >> make<br>
>         >><br>
>         >> make install<br>
>         >><br>
>         >><br>
>         >><br>
>         >> Everything up to ‘make’ looks to work just fine. Now, there is a file called<br>
>         >> ‘vtkHashSource-pv5.1’ that is located in the /bin directory of the ParaView<br>
>         >> build. When I type ‘make install’, I get the following error:<br>
>         >><br>
>         >><br>
>         >><br>
>         >> CMake Error at VTK/Utilities/HashSource/<wbr>cmake_install.cmake:46 (file):<br>
>         >><br>
>         >>   file INSTALL cannot find<br>
>         >><br>
>         >><br>
>         >> "/home/neal/software/Catalyst/<wbr>Catalyst-v5.1.0-Base-Enable-<wbr>Python-Essentials_build/bin/<wbr>vtkHashSource-pv5.1".<br>
>         >><br>
>         >> Call Stack (most recent call first):<br>
>         >><br>
>         >>   VTK/cmake_install.cmake:420 (include)<br>
>         >><br>
>         >>   cmake_install.cmake:117 (include)<br>
>         >><br>
>         >><br>
>         >><br>
>         >> Makefile:94: recipe for target 'install' failed<br>
>         >><br>
>         >> make: *** [install] Error 1<br>
>         >><br>
>         >><br>
>         >><br>
>         >><br>
>         >><br>
>         >> I looked and it has moved or deleted the ‘vtkHashSource-pv5.1’ file that was<br>
>         >> originally in the ParaView/bin directory! I’m sure of it because I copied<br>
>         >> the file to a temp directory and it disappears every time I put it in the<br>
>         >> ParaView/bin and type ‘make install’.<br>
>         >><br>
>         >> Has anyone had this problem?<br>
>         >><br>
>         >> Thank you,<br>
>         >><br>
>         >> Chris Neal<br>
>         >><br>
>         >><br>
>         >> ______________________________<wbr>_________________<br>
>         >> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>         >><br>
>         >> Visit other Kitware open-source projects at<br>
>         >> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
>         >><br>
>         >> Please keep messages on-topic and check the ParaView Wiki at:<br>
>         >> <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
>         >><br>
>         >> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
>         >><br>
>         >> Follow this link to subscribe/unsubscribe:<br>
>         >> <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
>         >><br>
><br>
><br>
><br>
>     ______________________________<wbr>_________________<br>
>     Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
>     Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
><br>
>     Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
><br>
>     Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
><br>
>     Follow this link to subscribe/unsubscribe:<br>
>     <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
><br>
><br>
><br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>